From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 31648-done@debbugs.gnu.org
Subject: bug#31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer'
Date: Sat, 02 Jun 2018 14:19:07 +0300 [thread overview]
Message-ID: <83fu25e8r8.fsf@gnu.org> (raw)
In-Reply-To: <0c0705a4-6790-4267-ab5e-59519f3d9915@default> (message from Drew Adams on Tue, 29 May 2018 15:25:44 -0700 (PDT))
> Date: Tue, 29 May 2018 15:25:44 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> The doc of `clone-indirect-buffer' is incorrect. It implies that the
> new, indirect buffer, is not displayed when the command is invoked
> interactively.
>
> The doc string is correct. Please correct the manual similarly. The
> statement of the second sentence here, from the doc string is missing
> from the manual:
>
> DISPLAY-FLAG non-nil means show the new buffer with 'pop-to-buffer'.
> This is always done when called interactively.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I added a note about DISPLAY-FLAG in interactive calls, but in general
you shouldn't expect this to be spelled out in the ELisp manual,
because interactive invocation of commands is described in the Emacs
manual, and the ELisp manual is biased towards non-interactive uses.
> (One might wonder why non-nil, instead of nil, was chosen to show the
> buffer, since that's the default interactive behavior - but it's too
> late now.)
??? It's the default interactively, but not in non-interactive calls.
It should be clear that non-interactive calls don't necessarily want
to display the cloned buffer.
prev parent reply other threads:[~2018-06-02 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-29 22:25 bug#31648: 26; (elisp) `Indirect Buffers': `clone-indirect-buffer' Drew Adams
2018-06-02 11:19 ` Eli Zaretskii [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=83fu25e8r8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=31648-done@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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.