[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display-buffer-overriding-action

From: Stefan Monnier
Subject: Re: display-buffer-overriding-action
Date: Wed, 14 Sep 2011 20:04:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> - Interactive and non-interactive calls to switch-to-buffer,
>   switch-to-buffer-other-window, and switch-to-buffer-other-frame shall
>   override d-b-alist.  (This includes calls from commands in the Emacs
>   sources.)

No.  I think that maybe they should.  I'm not sure.  But I'm sure they
shouldn't for Emacs-24.1.

> - This means that d-b-alist can't be used to tell Emacs "when I call
>   s-t-buffer(-other-*) for this buffer, do this action instead".
>   AFAICT there would be no way to do this except advice.

That's what it would imply, yes.

> - If d-b-overriding-action is meant for use by s-t-b and co, then it
>   should be a defvar, not a defcustom.

Indeed, d-b-overriding-action should not be a defcustom.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]