emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: OTT:Emacs Related


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: OTT:Emacs Related
Date: Wed, 15 Jun 2005 11:06:35 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

"Paul D. Kraus" <address@hidden> writes:

> Anyone know a way so that xemacs/emacs (in gui) can display all open
> files as tabs across the top?

Set buffers-tab-filter-functions to nil to display all open files as
tabs.

If you want to have tabs for files with the same mode (current
behavior) and all your Planner tabs, use the following snippet:

(defun paul/always-show-planner-buffers (buffer-to-select buf1)
  "Show same-mode buffers and planner buffers."
  (or (select-buffers-tab-buffers-by-mode buffer-to-select buf1)
      (eq 'planner-mode (symbol-value-in-buffer 'major-mode buffer-to-select))))
(setq buffers-tab-filter-functions (list 'paul/always-show-planner-buffers))

Hey, this XEmacs thing isn't that bad...
-- 
Sacha Chua <address@hidden> - open source geekette
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C
interests: emacs, gnu/linux, personal information management, CS ed
sachac on irc.freenode.net#emacs . YM: sachachua83




reply via email to

[Prev in Thread] Current Thread [Next in Thread]