unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* display-buffer-other-frame - useful? doc string?
@ 2008-03-09 18:00 Drew Adams
  2008-03-09 21:48 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Drew Adams @ 2008-03-09 18:00 UTC (permalink / raw)
  To: emacs-pretest-bug

Is the command `display-buffer-other-frame' useful as it is currently
designed? It displays a buffer in another frame, but it also lowers
that frame among all window-manager windows. Even if the buffer was
already displayed in another frame, that frame is still lowered behind
all others.
 
That hardly seems like TRT. If you ask to display a buffer, you don't
want it to be buried out of sight behind all other window-manager
windows.
 
Aside from the question of its usefulness, I wonder about its doc
string. The first line of the doc string is identical to the first
line of the doc string of `switch-to-buffer-other-frame': "Switch to
buffer BUFFER in another frame." 
 
But `display-buffer-other-frame' does *not* switch to the buffer (it
does not select it); it simply displays it (in a not-very-visible
fashion). Contrast that with the doc string of `display-buffer', whose
first line explicitly says that the buffer is not selected: "Make
BUFFER appear in some window but don't select it."
 
Command `display-buffer-other-frame' is not documented in any manual -
perhaps for good reason. It seems half-baked, to me.
 

In GNU Emacs 22.1.90.1 (i386-mingw-nt5.1.2600)
 of 2008-01-30 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
 





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

end of thread, other threads:[~2008-04-07 17:06 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-09 18:00 display-buffer-other-frame - useful? doc string? Drew Adams
2008-03-09 21:48 ` Stefan Monnier
2008-03-09 22:06   ` Drew Adams
2008-03-10 17:16     ` Richard Stallman
2008-03-10 17:19       ` Drew Adams
2008-03-10 17:59       ` Stefan Monnier
2008-03-11 20:24         ` Richard Stallman
2008-03-10 17:15   ` Richard Stallman
2008-03-10 17:34   ` Andreas Schwab
2008-03-10 18:01     ` Stefan Monnier
2008-03-10 18:43       ` Andreas Schwab
2008-03-10  6:11 ` Richard Stallman
2008-03-10  6:22   ` Drew Adams
2008-04-06  0:13 ` Drew Adams
2008-04-06  2:28   ` Stefan Monnier
2008-04-06  7:52     ` Drew Adams
2008-04-07  0:51       ` Stefan Monnier
2008-04-07  1:18         ` Drew Adams
2008-04-07 16:01           ` Stefan Monnier
2008-04-07 16:14             ` Drew Adams
2008-04-07 16:44               ` Lennart Borgman (gmail)
2008-04-07 16:52                 ` Drew Adams
2008-04-07 17:02                   ` Lennart Borgman (gmail)
2008-04-07 17:06                     ` Drew Adams

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).