all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stephen Leake <stephen_leake@stephe-leake.org>, emacs-devel@gnu.org
Subject: Re: Can display-buffer-reuse-window support "(inhibit-same-frame . t)"?
Date: Mon, 14 Sep 2015 10:31:55 +0200	[thread overview]
Message-ID: <55F685FB.3030004@gmx.at> (raw)
In-Reply-To: <861te26qrb.fsf@stephe-leake.org>

 > Supporting (inhibit-same-frame . t) is a good idea, although I don't see
 > how to easily implement that in display-buffer-reuse-window.
 >
 > You could also replace display-buffer-reuse-window with the new
 > display-buffer-use-some-frame in display-buffer--other-frame-action.

IIUC ‘display-buffer-use-some-frame’ should handle this case already.
So maybe all we need is to add an appropriate link in the documentation
of ‘display-buffer-reuse-window’.

BTW the doc-string of ‘display-buffer-use-some-frame’ must be fixed:

(defun display-buffer-use-some-frame (buffer alist)
   "Display BUFFER in an existing frame that meets a predicate
\(by default any frame other than the current frame).  If
successful, return the window used; otherwise return nil.

See section D.6 Tips for Documentation Strings of the Elisp manual on
how to do that.

martin




      reply	other threads:[~2015-09-14  8:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 16:02 Can display-buffer-reuse-window support "(inhibit-same-frame . t)"? 张海君
2015-09-13 19:52 ` Stephen Leake
2015-09-14  8:31   ` martin rudalics [this message]

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=55F685FB.3030004@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.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.