unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* other-buffer advice on kill-buffer
@ 2011-08-01 23:03 Jérémy Compostella
  2011-08-01 23:19 ` Antoine Levitt
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Jérémy Compostella @ 2011-08-01 23:03 UTC (permalink / raw)
  To: emacs-devel

All,

I'm trying to modify the behavior of the kill-buffer function to fit my
needs. I would like to limit the list of eligible buffers used to select
the buffer which will be displayed in place of the killed buffer.

I have tried to advice the other-buffer function which seems called
(Cf. buffer.c) but my advice is never called in this case. Indeed, my
other-buffer advice is correctly called on switch-to-buffer call but
never on kill-buffer call.

So am I missing something ?
Is there a restriction on advices for C implemented function ?
How the kill-buffer function select the new displayed buffer ? Could I
really modify its behavior and how ?

Thanks for your help.

Jeremy




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

end of thread, other threads:[~2011-08-19  7:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 23:03 other-buffer advice on kill-buffer Jérémy Compostella
2011-08-01 23:19 ` Antoine Levitt
2011-08-02  0:06   ` Jérémy Compostella
2011-08-02  0:40     ` Antoine Levitt
2011-08-02 12:20       ` Jérémy Compostella
2011-08-02 18:04     ` Dimitri Fontaine
2011-08-03  7:41   ` Stephen J. Turnbull
2011-08-02  0:55 ` Tim Cross
2011-08-02  1:00   ` Tim Cross
2011-08-02 12:29     ` Jérémy Compostella
2011-08-02  1:52   ` Alp Aker
2011-08-02 11:58     ` Jérémy Compostella
2011-08-02 21:55     ` Richard Stallman
2011-08-03  6:18       ` David Kastrup
2011-08-03 15:14         ` Jérémy Compostella
2011-08-04  2:24           ` Stephen J. Turnbull
2011-08-03 19:18         ` Richard Stallman
2011-08-04  6:42         ` Tim Cross
2011-08-04 14:03           ` Stefan Monnier
2011-08-04 19:56             ` Jérémy Compostella
2011-08-19  7:10       ` Leo
2011-08-14 17:16 ` Chong Yidong

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