XEmacs 缓冲区选项卡不显示所有缓冲区
我正在使用 xemacs 进行编辑。 xemacs 在编辑窗口顶部显示缓冲区选项卡。 然而,我的缓冲区选项卡有这种奇怪的行为。
当我切换到 cpp 文件时,缓冲区选项卡仅显示打开的 cpp 缓冲区。 当我切换到 ah 文件(使用 Cx b)时,仅显示 h 文件。
如何让 xemacs 始终在缓冲区选项卡中显示所有打开的缓冲区?
I am using xemacs for editing. xemacs shows buffer tabs on the top of the editing window. However, my buffer tabs have this strange behavior.
When I switch to cpp file, the buffer tabs show only cpp buffers open. When I shift to a h file (using C-x b), only h files are shown.
How can I make xemacs show all open buffers in buffer tabs all the time ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不确定 xemacs,但对于 emacs,选项卡是通过 tabbar-mode 显示的。
默认情况下,选项卡模式按主要模式对缓冲区进行分组,因此在选项卡中您只能看到一组相同模式的选项卡。
您可以自定义它,就像他们在这里所说的那样: http://www.emacswiki.org/emacs/TabBarMode< /a>
此外,还可以通过按键来切换选项卡中的模式(Mx tabbar-forward-group、Mx tabbar-backward-group)。
希望有帮助!
I am not sure about xemacs, but with emacs, tabs are shown by tabbar-mode.
And tabbar-mode, by default, groups buffers by major-mode, so in your tabs you only see a group of tabs by same mode.
You can customize it, like they say here: http://www.emacswiki.org/emacs/TabBarMode
Also, there are keystrokes to switch modes in tabs ( M-x tabbar-forward-group, M-x tabbar-backward-group).
Hope that helps!
您想要对缓冲区选项卡进行自定义。 您可以通过执行Mx自定义,然后buffers-tab来访问它。 有一个“过滤功能”选项,默认为“select-buffers-tab-buffers-by-mode”,我猜这就是您想要更改的内容。 如果没有,您一定可以在该页面的某个位置找到解决方案。
You want to play with customization for the buffers tab. You can get to it by doing M-x customize, then buffers-tab. There is an option for "Filter Functions", with a default of "select-buffers-tab-buffers-by-mode", which I am guessing is what you want to change. If not, you are sure to find the solution somewhere on that page.
XEmacs 中的缓冲区选项卡具有自动过滤设置,可以显示相似文件扩展名组。 我相信您还可以过滤有关缓冲区列表中的缓冲区可发现的其他属性。
当您在小显示器上打开许多文件时,它很有用,但在其他时候会妨碍,因此您可以通过以下方式关闭过滤:这里是 XEmacs 手册的摘录:
“可以通过以下方式更改此行为自定义“buffers-tab-filter-functions”。将此变量设置为“nil”强制显示所有缓冲区,最多为“buffers-tab-max-size”(也可自定义)。这些以及一些很少定制的选项可能在第三方库中可用。
buffers-tab'自定义组。”
The buffer-tabs in XEmacs have an automatic filtering set up to display groups of similar file-extensions. I believe you can also filter on other attributes that are discoverable about the buffers in the buffer-list as well.
It is useful when you have many files open, on a small monitor, but gets in the way other times, so you can set the filtering off by, well, here is an excerpt from the XEmacs manual:
"This behavior can be altered by customizing
buffers-tab-filter-functions'. Setting this variable to
nil' forces display of all buffers, up tobuffers-tab-max-size' (also customizable). More complex behavior may be available in 3rd party libraries. These, and some more rarely customized options, are in the
buffers-tab' Customize group."