bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6204: vc-dir always splits the frame


From: Juri Linkov
Subject: bug#6204: vc-dir always splits the frame
Date: Sun, 23 May 2010 02:51:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>> If the buffer names are sufficiently regular and unique,
>> special-display-regexps can already provide the needed customizability
>> without any need for a new option.
>
> What about cases where buffer names are not regular and unique?

Then packages should provide separate commands to display
the buffer in the same window and in another window, e.g.
`Buffer-menu-this-window' and `Buffer-menu-other-window'.

> Also, I'm afraid we currently ignore the fact that most users are simple
> not prepared to invest their time in studying the semantics of an option
> like `special-display-regexps'.

There are simpler options `same-window-buffer-names' and
`same-window-regexps' that are very easy to understand
(a simple list of window names).

> Finally, this and `special-display-buffer-names' are user options and we
> again have the problem that an application binding that

No application should bind user customizable variables unless it's expected
by users (e.g. when a function name has the suffix `...-other-window'.)

> (or, worse, permanently adding its buffer names to it)

This is a legitimate way for an application to define
its default behavior.  Look for example at:

;;;###autoload (add-hook 'same-window-regexps "\\*info\\*\\(\\|<[0-9]+>\\)")

> may conflict with users expectations

When the default value conflicts with users expectations, the user
should be able to customize it, and user customizations should be
respected.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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