gpt4 book ai didi

emacs - 欧洲央行 : can't access/

转载 作者:行者123 更新时间:2023-12-04 05:48:15 27 4
gpt4 key购买 nike

更新到 Kubuntu 12.04 和 Emacs 24.1.50 - 我无法访问 / ecb 树浏览器中的文件夹。当我尝试到达那里,或者只是激活 ecb Emacs 打开时 *tramp/scpc C*缓冲,它说:

 ssh: Could not resolve hostname C: Name or service not known

在更新到 Kubuntu 12.04 和 Emacs 24.1.50 之前它运行良好

我所有与 ecb 相关的配置:

;; ECB and CEDET:
;; (global-ede-mode 1)
(require 'semantic/sb)
(require 'semantic/analyze)
(provide 'semantic-analyze)
(provide 'semantic-ctxt)
(provide 'semanticdb)
(provide 'semanticdb-find)
(provide 'semanticdb-mode)
(provide 'semantic-load)
(semantic-mode 1)
(setq semantic-load-turn-useful-things-on t)

(setq stack-trace-on-error t)

(require 'cedet)

(require 'ecb)
;; (ecb-activate)
;; (ecb-byte-compile)
(require 'ecb-autoloads) ;; if aren't going to turn ECB on at start up
(setq ecb-auto-activate 1)

(ecb-winman-winring-enable-support) ;; This MUST be done BEFORE the first call to any winring-command, so also before calling winring-initialize!

(setq ecb-winman-winring-name "ECB")

(global-set-key (kbd "C-x e") '(lambda ()
(interactive)
(ecb-activate)
))
(global-set-key (kbd "C-x E") 'ecb-deactivate)

(setq tags-revert-without-query t)

(setq ecb-cache-directory-contents nil)
(setq ecb-highlight-tag-with-point t)

(setq semantic-idle-work-parse-neighboring-files-flag nil)
(setq semantic-idle-work-update-headers-flag nil)

(setq global-semanticdb-minor-mode nil)
;; (setq semantic-imenu-index-directory nil) ;; do I have such a var at all?
(require 'semantic-load)

;; (global-semantic-auto-parse-mode -1)
(global-semantic-show-unmatched-syntax-mode -1)
(setq truncate-partial-width-windows nil)

(setq global-semantic-idle-summary-mode t)
(setq global-semantic-idle-completions-mode t)
(setq global-semantic-decoration-mode t)
(setq global-semantic-highlight-func-mode t)

(add-hook 'ecb-symboldef-buffer-sync (lambda ()
(setq truncate-lines nil)
))

;; etags!
(setq tags-file-name (expand-file-name "~/its/dbes/etgs/TAGS"))

(setq ecb-highlight-tag-with-point (quote highlight-scroll))
(setq ecb-layout-name "left-symboldef")
(setq ecb-layout-window-sizes (quote (("left-symboldef" (0.2571428571428571 . 0.26666666666666666) (0.2571428571428571 . 0.2) (0.2571428571428571 . 0.23333333333333334) (0.2571428571428571 . 0.26666666666666666)) ("left8" (0.23809523809523808 . 0.2857142857142857) (0.23809523809523808 . 0.21428571428571427) (0.23809523809523808 . 0.2857142857142857) (0.23809523809523808 . 0.17857142857142858)))))
(setq ecb-options-version "2.40")
(setq ecb-source-path (quote (("/home/boris/its/plts" "plts"))))
(setq ecb-tip-of-the-day nil)
(setq ecb-tree-incremental-search (quote substring))

如您所见 - 没有 C:在那里。

编辑 2 :

我发现有一个 ~/.emacs.d/tramp文件,它有:
;; -*- emacs-lisp -*- <12/05/03 19:12:12 /home/boris/.emacs.d/tramp>
;; Tramp connection history. Don't change this file.
;; You can delete it, forcing Tramp to reapply the checks.

((["scpc" nil "C" nil]
nil))

我删除了那个文件,然后打开了 emacs,激活了 ECB,试图访问 /在目录树中,它犯了同样的错误。然后,在我关闭 emacs 之后 - 它做了同样的 tramp文件。似乎它是流浪汉中某个地方的作者 - 在最新的 emacs 来源中。

最佳答案

我正在使用 Kubuntu 12.04 并遇到了同样的问题;不知道它是特定于 Kubuntu 还是 12.04。

不知何故,“C:\nppdf32Log\debuglog.txt”文件(http://askubuntu.com/questions/144408/what-is-the-file-c-nppdf32log-debuglog-txt)被内部 ecb 接收-filename-cache - 我无法确切地弄清楚 ecb-filename-cache 是如何被填充的,但我能够通过运行 ecb-remote-patch-cache-dump 看到这一点 - 这对我来说是 Tramp 错误的来源.为了解决这个问题,我删除了所有语义缓存目录、debuglog.txt 文件的所有痕迹以及我能找到的任何tramp 文件。中提琴,欧洲央行再次运作。

关于emacs - 欧洲央行 : can't access/,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10411416/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com