Changing the size of the menu from the “Buffers” item in the menu bar in emacs

时光总嘲笑我的痴心妄想 提交于 2019-12-01 21:18:29

问题


Currently, the menu brought up by the Buffers menu item in the menu bar only shows the last 9 buffers and no more than about 29 characters of the buffer name. How can I change the number of buffers displayed in this menu and how can I get it to show more characters in the buffer name?


回答1:


How 'bout buffers-menu-buffer-name-length and buffers-menu-max-size? You may also prefer using C-mouse-1, which gives you a different kind of "buffers menu", which I personally prefer (so I just get rid of the "Buffers" menu with (define-key global-map [menu-bar buffer] nil), thus saving scarce menubar real-estate).



来源:https://stackoverflow.com/questions/9946263/changing-the-size-of-the-menu-from-the-buffers-item-in-the-menu-bar-in-emacs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!