开发者

emacs23 menu problem

开发者 https://www.devze.com 2023-02-03 16:38 出处:网络
After some upgrades my emacs23 stopped work properly. Some item in the main menucould not be open. After F10 they start to work.

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 开发者_StackOverflow社区be thankful for any suggestion.


Could you please be more specific? Usually M-x accelerate-menu helps when the menu option doesn't expand.


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.


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.


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 command comment-region), then 3/4, then 7/8... until you locate the culprit. Command comment-region also *un*comments the region -- check its doc.

0

精彩评论

暂无评论...
验证码 换一张
取 消