all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Feeling lost without tabs
Date: Mon, 21 Jul 2014 10:25:23 -0600	[thread overview]
Message-ID: <20140721100116137439270@bob.proulx.com> (raw)
In-Reply-To: <877g37ubbi.fsf@debian.uxu>

Emanuel Berg wrote:
> Bob Proulx writes:
> > I bind C-x C-b to electric-buffer-list.  I couldn't
> > live without it now.  In MNHO it is soooo much nicer
> > than list-buffers.
> 
> Could you just short say what the differences are and
> how you experience them to be better? I never used
> `electric-buffer-list' but it looks kind of the same at
> first glance.

As others have said it opens a buffer window, places the point at the
first file in that buffer window.  This shows me a buffer window list
and focuses there.  I can review my buffer windows.  Hitting SPACE
selects a buffer window.  If I hit SPACE immediately then I return to
the same buffer window I left.  Otherwise I can n, n, n down to the
buffer window I want and SPACE to select it.  The newly selected
buffer now replaces the previously selected buffer window.  The new
emacs window configuration with regard to split windows is the same
for all other windows but the currently focused window only is changed
to another buffer.

I had previously said C-n C-p to move through the menu list.  But of
course n and p also work.  I usually already have my finger on the
control so had not really taken notice of the flexibility.

With list-buffers the buffer list splits the current frame into two
windows and puts the buffer window list into the other window.
Whatever buffer I had in the other split window is now gone.  In order
to focus on the buffer list I need to either C-x 0 or C-x o.  Then in
the *Buffer list* window I use n or p to position on the desired
buffer.  Then press f or o or any of a variety of keys to select that
buffer in either the current window or the other window.

The result is that with list-buffers it is disruptive to the window
layout that I have active at the moment I want to switch one of the
windows to a different buffer.  Plus there are more steps needed to
perform the same function.

With electric-buffer-list bound: C-x C-b n n SPACE

With buffer-list bound: C-x C-b C-o n n f C-x 4 b C-x 4 b C-x 4 b

The C-x 4 b times three is the finger memory way I rotate through two
windows in order to swap their contents.  Because using list-buffers
splits the current frame or replaces the other window in the frame it
causes order of windows to be reversed from the previous arrangement.
That requires a window buffer swap in order to restore the desired
ordering.  For example I prefer a code window above and a gdb debugger
window below and not the other way around.  Maybe there is a better
way to use list-buffers that avoids that problem but I just looked
again and I didn't see it.  The window order issue is completely
avoided by using electric-buffer-list since that only affects the
current window and does not modify any others.

I hadn't been aware of buffer-menu.  Playing with it now shows that it
works very similarly to electric-buffer-list.  I think anyone using
either buffer-menu or electric-buffer-list are in the same group and
want the same thing and could use either of those almost
interchangeably.  I assume electric-buffer-list came first and
buffer-menu duplicated the behavior since I have been using
electric-buffer-list for a very many years and had not ever heard of
buffer-menu before?  That is my assumption until I learn otherwise.

Bob



  parent reply	other threads:[~2014-07-21 16:25 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-20  1:47 Feeling lost without tabs Sampath Weerasinghe
2014-07-20  4:08 ` Yuri Khan
2014-07-20  4:27   ` Eli Zaretskii
2014-07-20  5:12     ` Yuri Khan
2014-07-20  6:09       ` Eli Zaretskii
2014-07-20 16:48         ` Yuri Khan
2014-07-20 17:30           ` Eli Zaretskii
2014-07-21 14:15           ` Stefan Monnier
2014-07-22  3:51             ` Yuri Khan
     [not found]         ` <mailman.5771.1405874938.1147.help-gnu-emacs@gnu.org>
2014-07-20 18:40           ` Emanuel Berg
2014-07-21  3:56             ` Yuri Khan
2014-07-20  7:19       ` Bob Proulx
     [not found]       ` <mailman.5741.1405840784.1147.help-gnu-emacs@gnu.org>
2014-07-20 18:36         ` Emanuel Berg
2014-07-20 23:48           ` Dan Espen
2014-07-21  0:29             ` Emanuel Berg
2014-07-21  1:08               ` Charles Philip Chan
2014-07-21  2:25               ` Dan Espen
2014-07-21 16:25           ` Bob Proulx [this message]
2014-07-22  0:57             ` Robert Thorpe
     [not found]           ` <mailman.5823.1405959942.1147.help-gnu-emacs@gnu.org>
2014-07-21 18:04             ` Dan Espen
2014-07-21 21:05               ` Bob Proulx
     [not found]               ` <mailman.5831.1405976742.1147.help-gnu-emacs@gnu.org>
2014-07-21 21:22                 ` Dan Espen
2014-07-21 21:54                   ` Emanuel Berg
2014-07-21 23:57                     ` Robert Thorpe
2014-07-22  2:33                     ` Dan Espen
2014-07-22 21:28                       ` Emanuel Berg
2014-07-21 21:47                 ` Emanuel Berg
2014-07-21 21:43               ` Emanuel Berg
2014-07-21 21:40             ` have new Gnus message not always fullscreened (was: [gnu.emacs.help] Re: Feeling lost without tabs) Emanuel Berg
2014-07-20  5:22   ` Feeling lost without tabs Tak Kunihiro
     [not found]   ` <mailman.5729.1405830475.1147.help-gnu-emacs@gnu.org>
2014-07-22 15:14     ` Javier
2014-07-22 15:32       ` Ken Goldman
2014-07-22 21:01       ` Emanuel Berg
2014-07-23  0:57         ` Javier
2014-07-23  2:21           ` Emanuel Berg
     [not found]       ` <mailman.5871.1406043177.1147.help-gnu-emacs@gnu.org>
2014-07-22 21:03         ` Emanuel Berg
     [not found]     ` <<lqlv3t$hog$1@speranza.aioe.org>
2014-07-22 17:03       ` Drew Adams
2014-07-20  6:25 ` Filipp Gunbin
2014-07-20  9:20 ` Kevin Le Gouguec
2014-07-20 17:36 ` Drew Adams
2014-07-20 18:02 ` Robert Thorpe
2014-08-16 21:13 ` Marcin Borkowski
     [not found] <mailman.5835.1405987077.1147.help-gnu-emacs@gnu.org>
2014-07-22 21:18 ` Emanuel Berg
2014-07-22 22:32   ` Robert Thorpe
     [not found] <mailman.5882.1406068755.1147.help-gnu-emacs@gnu.org>
2014-07-22 23:57 ` Emanuel Berg
2014-07-23  1:25   ` Robert Thorpe
     [not found] <mailman.5886.1406078772.1147.help-gnu-emacs@gnu.org>
2014-07-23  2:29 ` Emanuel Berg
     [not found] <mailman.5726.1405828965.1147.help-gnu-emacs@gnu.org>
2014-07-20 14:19 ` Dan Espen
2014-07-20 18:11   ` Bob Proulx
2014-07-20 18:34   ` Emanuel Berg
     [not found]   ` <mailman.5777.1405879906.1147.help-gnu-emacs@gnu.org>
2014-07-20 21:44     ` Emanuel Berg
2014-07-21 17:02       ` Bob Proulx
2014-07-20 23:52     ` Dan Espen
2014-07-21 22:54       ` Emanuel Berg
2014-07-21 23:33         ` Bob Proulx
2014-07-22  2:44         ` Dan Espen
2014-07-22 21:23           ` Emanuel Berg
     [not found]         ` <mailman.5833.1405985639.1147.help-gnu-emacs@gnu.org>
2014-07-22 22:02           ` Emanuel Berg
2014-07-20 18:28 ` Emanuel Berg
2015-11-03 14:07 ` swe20144
2015-11-03 14:21   ` Dan Espen
2015-11-03 15:22   ` Yuri Khan
2015-11-03 15:46     ` Dirk-Jan C. Binnema
2015-11-03 17:31       ` Michael Heerdegen
2015-11-03 17:47         ` Charles Philip Chan
2015-11-03 21:24           ` Michael Heerdegen
2015-11-03 15:37   ` Filipp Gunbin
2015-11-03 15:53   ` Aziz Yemloul
2015-11-03 15:56   ` Charles Philip Chan
2015-11-03 20:07   ` Bob Proulx
2015-11-03 23:48   ` Kendall Shaw

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=20140721100116137439270@bob.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@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 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.