all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: changed output of buffer-list?
@ 2013-04-12  9:28 martin rudalics
  0 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2013-04-12  9:28 UTC (permalink / raw)
  To: joostkremers; +Cc: help-gnu-emacs

 > Notice that even though the buffer `*ielm*' is active,

... where "active" means "the buffer of the selected window" ...

 > 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.)

You should make a bug report.  What you see might be related to revision
#112250 on trunk but I don't have a copy here, so I cannot check it.

(BTW, the doc-string of `buffer-list' contains a typo.)

martin



^ permalink raw reply	[flat|nested] 4+ messages in thread
* changed output of buffer-list?
@ 2013-04-11 23:07 Joost Kremers
  0 siblings, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2013-04-11 23:07 UTC (permalink / raw)
  To: help-gnu-emacs

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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-12 11:51 UTC | newest]

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

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.