unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* display-buffer
@ 2005-11-03  0:25 Nick Roberts
  2005-11-03 16:09 ` display-buffer Drew Adams
  2005-11-03 21:40 ` display-buffer Richard M. Stallman
  0 siblings, 2 replies; 16+ messages in thread
From: Nick Roberts @ 2005-11-03  0:25 UTC (permalink / raw)



The doc string for display-buffer says:

"Make buffer appear in some window but don't select it...."

If I force a new frame by setting pop-up-frames to t or using
special-display-regexps then this window *is* selected.

Is that a bug?

Can I do something so the selected window is unchanged?

Nick

^ permalink raw reply	[flat|nested] 16+ messages in thread
* display-buffer
@ 2014-01-13 19:36 Richard Stallman
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Stallman @ 2014-01-13 19:36 UTC (permalink / raw)
  To: emacs-devel

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

The doc string of `display-buffer' says:

    If ACTION is non-nil, it should have the form (FUNCTION . ALIST),
    where FUNCTION is either a function or a list of functions, and
    ALIST is an arbitrary association list (alist).

    Each such FUNCTION should accept two arguments: the buffer to
    display and an alist.  Based on those arguments, it should
    display the buffer and return the window.

I think FUNCTION is allowed to do nothing and return nil.
The doc string should say so.

It should also say that ACTION can have only FUNCTIONs
or only an ALIST.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.




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

end of thread, other threads:[~2014-01-13 19:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03  0:25 display-buffer Nick Roberts
2005-11-03 16:09 ` display-buffer Drew Adams
2005-11-03 17:18   ` display-buffer Stefan Monnier
2005-11-03 19:32     ` display-buffer Drew Adams
2005-11-03 21:43     ` display-buffer Nick Roberts
2005-11-04  4:23       ` display-buffer Stefan Monnier
2005-11-05  5:05         ` display-buffer Nick Roberts
2005-11-05  5:19           ` display-buffer Luc Teirlinck
2005-11-05  7:38             ` display-buffer Nick Roberts
2005-11-03 21:40 ` display-buffer Richard M. Stallman
2005-11-03 21:49   ` display-buffer Drew Adams
2005-11-04  4:21     ` display-buffer Stefan Monnier
2005-11-04 10:45       ` display-buffer Eli Zaretskii
2005-11-05  1:36       ` display-buffer Richard M. Stallman
2005-11-05  1:37     ` display-buffer Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2014-01-13 19:36 display-buffer Richard Stallman

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