The first steps after the first launch of the ECB

I have ECB installed and autostarted in emacs:

(require 'semantic/analyze) (provide 'semantic-analyze) (provide 'semantic-ctxt) (provide 'semanticdb) (provide 'semanticdb-find) (provide 'semanticdb-mode) (provide 'semantic-load) (semantic-mode 1) (setq stack-trace-on-error t) (require 'ecb) (require 'ecb-autoloads) (setq ecb-auto-activate 1) (ecb-winman-winring-enable-support) 

The ECB shows each time the "First Steps After Activating the ECB for the First Time" info node. How can i stop this?

Edit

Of course, brute force solves it:

 (run-with-idle-timer 0.05 nil '(lambda () (kill-buffer "*info*"))) 

but I thought - maybe there is an ECB variable that knows that it fades, that ECB activation for the first time or not.

Edit

So, you need to add, for example:

  (setq ecb-source-path (quote (("/home/boris/its/plts" "plts")))) 

This tells the ECB that the project is located at /home/boris/its/plts and should be listed as plts .

+6
source share
2 answers

From a look at the source code, it seems that setting the ecb-source-path variable should prevent the information buffer from being displayed. The corresponding code is in the ecb-activate--impl :

  ;;  if we activate ECB first time then we display the node "First steps" of
 ;;  the online-manual
 (ignore-errors
     (when (null ecb-source-path)
         (let ((ecb-show-help-format 'info))
             (ecb-show-help)
             (Info-goto-node "First steps"))))

As you can see, the information buffer is displayed if ecb-source-path is zero.

+3
source

Modify ecb.el and comment on the following 4 lines (around line 1590 in ecb-2.40):

  (ignore-errors (when (null ecb-source-path) (let ((ecb-show-help-format 'info)) (ecb-show-help) (Info-goto-node "First steps")))) 
0
source

Source: https://habr.com/ru/post/912329/


All Articles