问题
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