unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: nickrob@snap.net.nz, miles@gnu.org, eliz@gnu.org,
	monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Tabbed buffers
Date: Tue, 29 Jan 2008 16:10:17 +0900	[thread overview]
Message-ID: <878x29cdk6.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1JJban-0003WI-7h@fencepost.gnu.org>

Richard Stallman writes:

 > But you are talking about something else:

Wrong "you".  Stefan is the guy who proposed the analogy of tty frames
to tabs.

I'm simply proposing that a tab control widget would be a useful
addition.  Specifically it allows one-click switching of the entire
content of a rectangular area, under control of a per-tabset Lisp
callback which takes the particular tab as an argument.  This could be
implemented as a GUI window (where available) or as a stripped-down
Emacs frame.  XEmacs instead allows a general callback which could
actually do anything, but by default uses switch-to-buffer.

My feeling is that tabs could be a useful alternative to the buffers
menu if attached to an Emacs window, but I have no experience with
that (XEmacs doesn't support that, at least, I don't know how to make
it happen).

What XEmacs does by default is attach tabs to each Emacs frame as an
always-visible alternative to the buffers menu, containing a
configurable selection of buffers.  The default filter collects all
the buffers in the same major mode as the buffer in the selected
window, but it's easy to use any other predicate, such as all buffers
visiting files in the same directory, all buffers with the same
name-sans-extension, etc.

If a frame contains multiple windows, the buffers tab refers to the
buffer in the selected window and other buffers in the same mode.
I find this implementation mildly awkward, rarely useful, and am
always amazed at how pleased newbies are to have this feature. ;-)
It's quite popular, actually.

  reply	other threads:[~2008-01-29  7:10 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25 21:57 Tabbed buffers Nick Roberts
2008-01-25 22:40 ` Miles Bader
2008-01-25 23:41   ` Nick Roberts
2008-01-26  0:07     ` Miles Bader
2008-01-26  2:47       ` Stefan Monnier
2008-01-26  5:03         ` Miles Bader
2008-01-26  7:24           ` Thomas Lord
2008-01-26 19:07           ` Stefan Monnier
2008-01-26 14:38         ` Chong Yidong
2008-01-27  0:44           ` Richard Stallman
2008-01-27  1:21             ` Miles Bader
2008-01-27  1:41               ` Stefan Monnier
2008-01-27 16:04                 ` Richard Stallman
2008-01-27  1:50               ` Nick Roberts
2008-01-27  1:58                 ` Miles Bader
2008-01-27  2:10                   ` Nick Roberts
2008-01-27  0:45         ` Richard Stallman
2008-01-27  4:09           ` Eli Zaretskii
2008-01-27 16:13             ` T. V. Raman
2008-01-27 20:59               ` Stefan Monnier
2008-01-27 20:59             ` Stefan Monnier
2008-01-27 23:31               ` Robert J. Chassell
2008-01-28  2:08                 ` Stefan Monnier
2008-01-28  7:17               ` Richard Stallman
2008-01-28  8:31                 ` Stephen J. Turnbull
2008-01-28 15:17                   ` Stefan Monnier
2008-01-28 17:22                     ` Stephen J. Turnbull
2008-01-28 18:18                       ` Stefan Monnier
2008-01-28 19:18                         ` Stephen J. Turnbull
2008-01-28 21:30                           ` Nick Roberts
2008-01-29  6:53                             ` Stephen J. Turnbull
2008-01-29  7:19                               ` Nick Roberts
2008-01-29  8:08                                 ` Stephen J. Turnbull
2008-01-28 21:32                     ` Richard Stallman
2008-01-28 23:05                       ` Bastien Guerry
2008-01-30  6:16                         ` Richard Stallman
2008-01-30  7:53                           ` Bastien Guerry
2008-01-28 21:32                   ` Richard Stallman
2008-01-29  7:10                     ` Stephen J. Turnbull [this message]
2008-01-30  6:16                       ` Richard Stallman
2008-02-01  3:50               ` T. V. Raman
2008-02-01 18:26                 ` Richard Stallman
2008-02-03  2:06                   ` T. V. Raman
2008-02-03 16:18                     ` Richard Stallman
2008-01-27 19:55           ` Using several frames on TTYs, switching them, terminology: [Is also: Tabbed buffers] Alan Mackenzie
2008-01-27 20:52             ` Eli Zaretskii
2008-01-27 21:33               ` Alan Mackenzie
2008-01-28  4:15                 ` Eli Zaretskii
2008-02-01  3:32               ` T. V. Raman
2008-01-27 21:13             ` Stefan Monnier
2008-01-27 21:50               ` Alan Mackenzie
2008-01-28  2:03                 ` Stefan Monnier
2008-01-28  7:17             ` Richard Stallman
2008-01-28 15:42               ` David De La Harpe Golden
2008-01-28 21:32                 ` Richard Stallman
2008-01-26  9:14   ` Tabbed buffers Eli Zaretskii
2008-01-26 11:36     ` Robert J. Chassell
2008-01-26  9:10 ` Eli Zaretskii
2008-01-27  0:12   ` Nick Roberts
2008-01-27  4:07     ` Eli Zaretskii
2008-01-27  4:48       ` Nick Roberts
2008-01-27  8:05         ` Is there any document about Emacs implementation (C source code)? brianjiang
2008-01-27  9:40           ` dhruva
2008-01-27 20:32             ` Stephen J. Turnbull
2008-01-27 20:57               ` Eli Zaretskii
2008-01-27 17:18         ` Tabbed buffers Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878x29cdk6.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=nickrob@snap.net.nz \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).