all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 22244@debbugs.gnu.org
Subject: bug#22244: 25.0.50; Make eww use display-buffer to display eww buffer
Date: Sat, 26 Dec 2015 18:29:12 +0100	[thread overview]
Message-ID: <871ta9nmon.fsf@web.de> (raw)
In-Reply-To: <8737upm9cd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 26 Dec 2015 18:02:42 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I'm not familiar with display-buffer, but by default it seems to work
> like pop-to-buffer?  

I wouldn't say so.  Today, pop-to-buffer is defined in terms of
display-buffer (it calls it).

The semantics of display-buffer are a bit complicated (it's documented
in the manual, but you'll need some minutes to understand the concept) -
but it is highly customizable via user options.  display-buffer can be
controlled on a finer level that in the old days (with variables like
same-window-buffer-names etc.).  AFAIK it's the standard way today to
display a buffer.

User preferences can be overridden/modified/refined at run-time when
calling display-buffer via the optional args.

The default behavior of display-buffer depends on the user options

display-buffer-overriding-action
display-buffer-base-action
display-buffer-fallback-action

With the default values, these functions are tried in order (that's the
default value of `display-buffer-fallback-action'):

(display-buffer--maybe-same-window
 display-buffer-reuse-window
 display-buffer--maybe-pop-up-frame-or-window
 display-buffer-in-previous-window
 display-buffer-use-some-window
 display-buffer-pop-up-frame)

So, in the unconfigured case, the buffer is just displayed in the
selected window.


Regards,

Michael.





  reply	other threads:[~2015-12-26 17:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 16:54 bug#22244: 25.0.50; Make eww use display-buffer to display eww buffer Michael Heerdegen
2015-12-26 17:02 ` Lars Ingebrigtsen
2015-12-26 17:29   ` Michael Heerdegen [this message]
2015-12-26 17:45     ` Lars Ingebrigtsen
2015-12-26 18:09       ` Michael Heerdegen
2015-12-26 18:19         ` Lars Ingebrigtsen
2015-12-26 23:19           ` Michael Heerdegen
2015-12-26 23:28             ` Lars Ingebrigtsen
2016-01-09  6:01               ` Michael Heerdegen
2016-02-02  4:55                 ` Lars Ingebrigtsen
2016-02-02 15:24                   ` Mark Oteiza
2016-02-03  1:59                     ` Lars Ingebrigtsen
2016-02-03  2:57                       ` Mark Oteiza
2016-02-04  2:18                         ` Lars Ingebrigtsen
2016-02-04  6:31                           ` bug#22244: [PATCH] New command eww-switch-to-buffer Mark Oteiza
2016-02-04  7:02                             ` Lars Ingebrigtsen
2016-02-04 13:10                               ` Michael Heerdegen
2016-02-04 17:49                                 ` Mark Oteiza
2016-02-04 19:09                                   ` Michael Heerdegen
2016-02-04 16:46                             ` Eli Zaretskii
2016-02-04 17:48                               ` Mark Oteiza
2016-02-02  4:58                 ` bug#22244: 25.0.50; Make eww use display-buffer to display eww buffer Lars Ingebrigtsen
2016-02-02 14:19                   ` Michael Heerdegen
2016-02-03  2:35                     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871ta9nmon.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=22244@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.