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

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

Re: Repeated call of customize buffer returns error


From: Stefan Monnier
Subject: Re: Repeated call of customize buffer returns error
Date: Sun, 15 Jun 2003 20:25:41 -0400

>     > You end up with two windows showing the same customize buffer.  With
>     > the old version of custom-buffer-create in cus-edit.el.~1.181 the two
>     > windows would show different buffers, which seems to be more
>     > appropriate.
> 
>     That's because of "\\`\\*Customiz.*\\*\\'" in same-window-regexps.
>     Maybe same-window-regexp should be weakened a little so it doesn't
>     force a buffer to be displayed a second time if it's already shown
>     in some other window.
> 
> I think that change would cause problems for other commands,
> which are defined to display a certain buffer in the selected window
> and do so by means of same-window-buffer-names or same-window-regexps.
> For instance, C-x m would not work right any more.

Why not ?
If the mail buffer is not yet displayed, it would behave just like it does
now.  And the mail buffer is already displayed somewhere, it would select
that window instead of switching the current window to show the mail buffer
a second time.
Sounds like an improvement to me,


        Stefan


PS: BTW, the behavior I describe is already the behavior you get if you
    use (add-to-list 'special-display-regexps '("foo" (same-window . t)))
    instead of setting same-window-regexps.





reply via email to

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