[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-buffer-overriding-action
From: |
Chong Yidong |
Subject: |
Re: display-buffer-overriding-action |
Date: |
Tue, 13 Sep 2011 15:28:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Your rationale for not using the ACTION argument is to allow a third
> case, wherein the Lisp caller wants to specify some behavior that can
> be overridden by the user. I contend that Lisp callers should almost
> never do that: as far as possible, they should use a `bare'
> display-buffer or pop-to-buffer call.
I should add that it is still possible to handle the "third case" by
doing
(let ((display-buffer-default-action
(frobify display-buffer-default-action)))
(display-buffer buffer))
This also has the advantage that the caller can do more complex
processing of the actions, such as selectively removing entries from the
function list or argument alist. But such uses ought to be rare.
- Re: display-buffer-alist simplifications, martin rudalics, 2011/09/01
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/09/01
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/09/02
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- display-buffer-overriding-action, Chong Yidong, 2011/09/11
- Re: display-buffer-overriding-action, Juanma Barranquero, 2011/09/11
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/12
- Re: display-buffer-overriding-action, Chong Yidong, 2011/09/12
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/13
- Re: display-buffer-overriding-action, Chong Yidong, 2011/09/13
- Re: display-buffer-overriding-action,
Chong Yidong <=
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/13
- Re: display-buffer-overriding-action, Chong Yidong, 2011/09/13
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/13
- Re: display-buffer-overriding-action, Chong Yidong, 2011/09/13
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/14
- Re: display-buffer-overriding-action, Chong Yidong, 2011/09/14
- Re: display-buffer-overriding-action, Stefan Monnier, 2011/09/14