unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* same-window-buffer-names and -regexps
@ 2002-08-20  2:43 Luc Teirlinck
  2002-08-20  2:52 ` Miles Bader
  2002-08-20 16:24 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Luc Teirlinck @ 2002-08-20  2:43 UTC (permalink / raw)


There seems to be an obvious anomaly in the behavior of the
display-buffer - same-window-buffer-names (-regexps) mechanism.  It
works fine for commands such as M-x shell and the like, but what sense
does it make for C-x 4 C-o to behave specially for the buffers in
question?  For these buffers, C-x 4 C-o behaves like C-x b.  If that
were the behavior the user wanted, (s)he would clearly use the easier
and more logical command C-x b.  Same thing for the command C-o in the
buffer menu, which for these buffers is identical to f.  The effect on
C-c C-f in ielm is even worse.  I guess there must be several other
additional situations like this.  This behavior is both inconvenient
and extremely confusing.  Somebody who does not know about these two
variables does not stand the slightest chance of figuring out the
cause of all this strange behavior.

Setting the two variables to nil is no solution, because then M-x
shell and friends malfunction.

One solution would be to have M-x shell and friends check these
variables (instead of having display-buffer do that directly) and
then have these functions pass an appropriate flag to display-buffer.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-08-21  0:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20  2:43 same-window-buffer-names and -regexps Luc Teirlinck
2002-08-20  2:52 ` Miles Bader
2002-08-20  3:16   ` Luc Teirlinck
2002-08-20  3:25     ` Miles Bader
2002-08-20  4:09       ` Luc Teirlinck
2002-08-21  0:12       ` Richard Stallman
2002-08-20 16:24 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).