tags:

views:

616

answers:

1

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 ?

+1  A: 

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

(setq tabbar-buffer-groups-function
      (lambda ()
        (list "All"))) ;; code by Peter Barabas

Also, there are keystrokes to switch modes in tabs ( M-x tabbar-forward-group, M-x tabbar-backward-group).

Hope that helps!

gaizka
This does not seem to work in xemacs :(Nor does any other code in the emacswiki page, tabbar not found.
Sid Datta