首次启动欧洲央行之后的第一步 [英] First steps after activating ECB first time

查看:130
本文介绍了首次启动欧洲央行之后的第一步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 (需要语义/分析) 
(提供'语义分析)
(提供'semantic-ctxt)
(提供'semanticdb)
(提供'semanticdb-find)
(提供'semanticdb -mode)
(提供'语义负载')
(语义模式1)

(setq stack-trace-on-error t)
(require' eb
(需要'ecb-autoloads')
(setq ecb-auto-activate 1)
(ecb-winman-winring-enable-support)

ECB显示每次启动ECB第一次后首先步骤。



修改



当然,强制解决它:

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

但我以为 - 可能有一个ECB变量知道ECB的激活是第一次。



修改



所以一个例子如下:

 (setq ecb-source-path / home / boris / its / pltsplts))))

告诉ECB该项目位于 / home / boris / its / plts ,应该被提交为 plts

解决方案

从源代码看,似乎定制变量 ecb-source-path 应该阻止显示信息缓冲区。相关代码位于 ecb-activate-impl 函数中:

 
; ;如果我们首先启动欧洲央行,那么我们将显示
;;的节点第一步在线手册
(ignore-errors
(when(null ecb-source-path)
(let((ecb-show-help-format'info))
ecb-show-help)
(Info-goto-node第一步))))

正如你所见如果 ecb-source-path 为零,则会显示信息缓冲区。


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)

ECB shows its "First steps after activating ECB first time" info node each time. How do I stop it doing that?

Edit:

Of course brute force solves it:

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

but I thought - may be there is a ECB variable that knows wither it activation of the ECB is for the first time or not.

Edit:

So one has to put for example:

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

This tell ECB that the project is at /home/boris/its/plts, and should be reffered to as plts.

解决方案

From looking at the source code, it seems that customising the variable ecb-source-path should prevent the info buffer being displayed. The relevant code is in the ecb-activate--impl function:

;; 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 info buffer is displayed if ecb-source-path is nil.

这篇关于首次启动欧洲央行之后的第一步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆