emacs23菜单问题
经过一些升级后,我的 emacs23 停止正常工作。主菜单中的某些项目无法打开。 F10之后他们开始工作。 我重新安装了 emacs - 它没有帮助。 (我在 Dell Latitude 上使用 ubuntu 10.10)。 我将感谢任何建议。
After some upgrades my emacs23 stopped work properly. Some item in the main menu could not be open. After F10 they start to work.
I reinstalled emacs - it does not help.
(I am using ubuntu 10.10 on Dell Latitude).
I will be thankful for any suggestion.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您能说得更具体一些吗?通常,当菜单选项不展开时,
Mx Acceleration-menu
会有所帮助。Could you please be more specific? Usually
M-x accelerate-menu
helps when the menu option doesn't expand.当我使用新的 emacs 版本时,我经常遇到一些无法正常工作的问题。通常是我的一些旧的自定义 emacs 东西不再工作了。 (我仍然有一些可以追溯到 20 世纪的台词)。
尝试将您的 .emacs 文件重命名为其他文件(当然,然后启动一个新的 emacs 会话)。如果这解决了问题,您可以将其放回去,然后有选择地注释掉其中的部分内容,直到找到罪魁祸首。
如果您将 site-lisp 设置为 emacs 树本身之外的某个位置,那么它也可能位于其中(尽管通常您可以通过上面提到的 .emacs 文件来追踪它)。如果您没有在 emacs 树外部设置 site-lisp,则可能是您的 .emacs 文件在 site-lisp 中查找不在新安装的 site-lisp 目录中的内容。
I have issues with things not working quite often when I take a new emacs version. Usually it is some old custom emacs stuff of mine that no longer works. (I still have some lines in there that date back to the 20th Century).
Try renaming your
.emacs
file to something else (and then starting a new emacs session, of course). If that fixes the issue, you can put it back, then selectively comment out portions of it until you find the culprit.If you have site-lisp set to somewhere besides the emacs tree itself, it could also be something in there (although usually you can track that down to start with via the .emacs file as mentioned above). If you don't have site-lisp set outside your emacs tree, it could be that your .emacs file is looking for something in site-lisp that isn't in the new installation's site-lisp directory.
您还可以尝试更新的 emacs23: https://launchpad.net/~ubuntu-elisp/ +存档/ppa。实际上,我有一些库无法与 10.10 存储库中的 23.1 正常工作。
You could also try more recent emacs23: https://launchpad.net/~ubuntu-elisp/+archive/ppa. I actually had some libraries that didn't work properly with 23.1 that is in the 10.10 repos.
添加到 TED 的建议中:尝试调试
.emacs
文件时,请使用二分搜索。注释掉其中的一半(使用命令comment-region
),然后是 3/4,然后是 7/8...直到找到罪魁祸首。命令comment-region
还*取消*注释该区域 - 检查其文档。To add to T.E.D.'s suggestion: When trying to debug your
.emacs
file, use a binary search. Comment out half of it (using commandcomment-region
), then 3/4, then 7/8... until you locate the culprit. Commandcomment-region
also *un*comments the region -- check its doc.