all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: changed output of buffer-list?
Date: 11 Apr 2013 23:07:05 GMT	[thread overview]
Message-ID: <slrnkmeggp.32u.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)

Hi all,

I'm following the Ubuntu emacs-snapshot packages from Damien Cassou at
https://launchpad.net/~cassou/+archive/emacs . Just now, when I upgraded
to the lastest snapshot, my favourite buffer switching package,
swbuff.el, broke. Granted, swbuff.el hasn't seen any update since 2003,
so perhaps I shouldn't be expecting it to still work, but I think the
cause of the problem lies in some change to Emacs itself that affects
the output of `buffer-list'.

Here is the output of `buffer-list' in an Emacs snapshot from a couple
of weeks ago (which I still have running in a VirtualBox VM; I've
wrapped the output a bit):

,----
| Elisp> (buffer-list)
| (#<buffer *ielm*> #<buffer *scratch*> #<buffer *eshell*>
|  #<buffer *Minibuf-1*> #<buffer  *Minibuf-0*> #<buffer *Messages*>
|  #<buffer  *code-conversion-work*> #<buffer  *Echo Area 0*> #<buffer  *Echo Area 1*>)
| 
| Elisp> (emacs-version)
| "GNU Emacs 24.3.50.1 (i686-pc-linux-gnu)\n of 2013-03-19 on gold, modified by Debian"
`----

I typed this in an Elisp interaction buffer called `*ielm*'. Notice how
this buffer is the first buffer in the output of `buffer-list'. Now,
after the lastest update, doing the same thing gives the following
output (this is my "normal" Emacs instance, so there are a few more
buffers):

,----
| Elisp> (buffer-list)
| (#<buffer .article> #<buffer  *Minibuf-1*> #<buffer swbuff.el>
|  #<buffer *ielm*> #<buffer *scratch*> #<buffer *eshell*>
|  #<buffer  *Minibuf-0*> #<buffer *Messages*> #<buffer *code-conversion-work*>
|  #<buffer  *Echo Area 0*> #<buffer  *Echo Area 1*>
|  #<buffer  *Pandoc output*> #<buffer *Compile-Log*>
|  #<buffer  *edit-server*> #<buffer *Packages*> #<buffer *OfflineIMAP*>
|  #<buffer  *mu4e-proc*> #<buffer  *mu4e-loading*>
|  #<buffer *Backtrace*> #<buffer *Help*> #<buffer  *mu4e-main*>
|  #<buffer  *server*> #<buffer  *code-converting-work*>)
| 
| Elisp> (emacs-version)
| "GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 3.6.0)\n of 2013-04-11 on fermium, modified by Debian"
`----

Notice that even though the buffer `*ielm*' is active, the first buffer
in the list is actually `.article'. (Which is the buffer in which I'm
writing this post. I switched to `*ielm*' just to perform the test
above; I used `C-x b', bound to `switch-to-buffer', to switch.)

So my question basically is this: what might be causing this change in
the output given by `buffer-list' and is it something that should be
considered a bug? Or should a package such as swbuff.el simply not rely
on the active buffer being the first in the list?

TIA


Joost



-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


             reply	other threads:[~2013-04-11 23:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 23:07 Joost Kremers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-12  9:28 changed output of buffer-list? martin rudalics
     [not found] <mailman.24020.1365758930.855.help-gnu-emacs@gnu.org>
2013-04-12 11:49 ` Joost Kremers
2013-04-12 11:51 ` Joost Kremers

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=slrnkmeggp.32u.joostkremers@j.kremers4.news.arnhem.chello.nl \
    --to=joostkremers@yahoo.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.