首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >欧洲央行:无法进入/

欧洲央行:无法进入/
EN

Stack Overflow用户
提问于 2012-05-02 09:52:56
回答 3查看 1.1K关注 0票数 2

更新到Kubuntu12.04和Emacs 24.1.50 -我无法访问欧洲央行的树浏览器中的/文件夹。当我试图到达那里,或者激活欧洲央行Emacs时,Emacs打开*tramp/scpc C*缓冲区,它说:

代码语言:javascript
复制
 ssh: Could not resolve hostname C: Name or service not known

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

我所有与欧洲央行有关的吐露:

代码语言:javascript
复制
;; 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文件,它有:

代码语言:javascript
复制
;; -*- 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,激活了欧洲央行,试图进入目录树中的/,它也犯了同样的错误。然后,在我关闭emacs之后,它创建了相同的tramp文件。在最新的emacs消息来源中,它似乎是一个流浪汉的作者。

EN

回答 3

Stack Overflow用户

发布于 2012-08-14 19:40:02

我使用的是Kubuntu12.04,并且遇到了同样的问题;不知道它是特定于Kubuntu还是12.04。

不知何故,"C:\nppdf32Log\debuglog.txt“文件(http://askubuntu.com/questions/144408/what-is-the-file-c-nppdf32log-debuglog-txt)被欧洲央行内部的文件名缓存(http://askubuntu.com/questions/144408/what-is-the-file-c-nppdf32log-debuglog-txt)接收--我不知道欧洲央行文件名缓存是如何填充的,但我通过运行欧洲央行--远程补丁--缓存--转储--看到了这一点--这是我出错的根源。为了绕过它,我删除了所有语义缓存目录、debuglog.txt文件的所有跟踪以及我可以找到的任何tramp文件。维奥拉,欧洲央行又开始工作了。

票数 2
EN

Stack Overflow用户

发布于 2012-05-03 12:59:24

奇怪,也许它是在重用旧的C:\在你以前的trammp文件中?同时阅读这个scpc链路,也许你的新更新的kubuntu不支持它?尝试该链接所述的命令,以查看它是否有效。听起来与其说是欧洲央行,倒不如说是个流浪汉问题。

票数 1
EN

Stack Overflow用户

发布于 2014-03-04 21:01:57

我遇到了同样的问题,并发现自定义源路径(如欧洲央行的第一步中所述)为我解决了这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10411416

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档