all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: Tabbed buffers
Date: Tue, 29 Jan 2008 17:08:15 +0900	[thread overview]
Message-ID: <874pcxcavk.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <18334.54174.101415.938092@kahikatea.snap.net.nz>

Nick Roberts writes:

 > If I do C-x C-f *.c in XEmacs I only get one empty buffer called *.c
 > (21.4 (patch 19) "Constant Variable" XEmacs Lucid)

Oh.  I guess globbing in C-x C-f was added in the 21.5 series.  Sorry.
Then do it by hand.  Then do some Makefiles and the like.  Notice what
tabs appear according to the current buffer.

This behavior is highly configurable; filter-on-mode is just the
default (and only built-in) behavior.

 >  > C-h a buffers-tab will tell you a list of functions and variables used
 >  > to implement the default configuration.
 > 
 > There appear to be no functions that put a file/display a buffer in
 > a new tab, delete a tab etc.

Nope.  That's not how they're used.  That could be done, but it wasnt.

 > Also, unlike Eclipse there is just one gutter per frame, which
 > appears to be shared by all the buffers in that frame, just
 > displaying the tabs for the one selected.

In the default configuration, yes.

 > When a tab is selected it moves to the left, not just to the front.

Actually, that should not happen if you use the GUI (ie, click on the
tab).  (Or maybe that too is a bug fixed in 21.5.)  That is an
artifact of the underlying implementation which recomputes the tabs
each time the buffer displayed changes via switch-to-buffer.

 > They don't appear to be part of a toolkit but built from one.  Now
 > that toolkits like GTK provide tabs as widgets, I presume they
 > might be easier to add to Emacs.

That depends on whether you insist that they be cross-platform or not.
Native GTK widgets and native Windose widgets (not that they deserve
the name, as I understand it) require quite different kinds of TLC,
which conflict is an unending source of bugs if you try to provide a
flexible implementation with Lisp callbacks that works on both
platforms.  At least, that is our experience.

  reply	other threads:[~2008-01-29  8:08 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=874pcxcavk.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=nickrob@snap.net.nz \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.