emacs-diffs
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105705: Tweaks to display-buffer


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105705: Tweaks to display-buffer default actions; remove same-window-* autoload forms.
Date: Tue, 13 Sep 2011 14:29:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> defcustom d-b-overriding-action
> ACTION argument              (used by d-b-other-frame etc.)
> defcustom d-b-alist          (nil by default)
> defvar d-b-default-action

No: d-b-alist has to be above ACTION argument:
- d-b-default-action is specific to the user but applies to all buffers
  in all cases.
- ACTION is the way for the code to tell what it thinks is best here: this
  is not specific to the user but it is specific to some particular
  subset of buffer or circumstances, so it has precedence over the default.
- d-b-alist is specific to a user and to a buffer, so it has precedence
  over ACTION.
- d-b-overriding-action is specific to a particular runtime
  circumstance; it's only set in response to a particular user action
  that makes it clear that what she wants takes precedence over
  d-b-alist.

d-b-default-action should start as nil, and the current default list
should simply be hard-coded in display-buffer.


        Stefan



reply via email to

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