From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-25 bc55a57: * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
Date: Fri, 14 Apr 2017 10:27:08 +0300 [thread overview]
Message-ID: <83r30vh2k3.fsf@gnu.org> (raw)
In-Reply-To: <87vaq79903.fsf@localhost> (message from Juri Linkov on Fri, 14 Apr 2017 02:35:08 +0300)
> From: Juri Linkov <juri@jurta.org>
> Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
> Date: Fri, 14 Apr 2017 02:35:08 +0300
>
> > Alas, a couple of users of kill-this-buffer were sometimes calling it
> > in the context of a menu-invoked command, so that part still can make
> > sense. And I have no idea which of the callers relied on this feature
> > even when invoking the function via non-menu events. It's been 9
> > years since this feature was introduced.
>
> I'm sure that all these callers used kill-this-buffer because there was no
> kill-current-buffer to simply kill the current buffer, and nothing more.
I'm sure we have no idea whether we can be sure.
After so many years that this code existed, I see no reason to rock
the boat now. This bike shed's color was fixed long ago; if we didn't
care during all these years, we should definitely leave it at that
now.
All I did was to add a simple sentence to the doc string, something
that was over the years requested a couple of times, with no-one
bothering to do anything, not even reply. And look what tempest did
this small change cause! I wonder why.
> So I think we need to leave kill-this-buffer callers only in menu-bar/tool-bar,
> and use kill-current-buffer everywhere else, leaving just
> ‘(kill-buffer (current-buffer))’ in the definition of
> kill-current-buffer in simple.el.
Sorry, I disagree.
next prev parent reply other threads:[~2017-04-14 7:27 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170412194437.19648.75020@vcs0.savannah.gnu.org>
[not found] ` <20170412194438.934FD22EE8@vcs0.savannah.gnu.org>
2017-04-12 20:27 ` [Emacs-diffs] emacs-25 bc55a57: * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466) Stefan Monnier
2017-04-12 22:03 ` Juri Linkov
2017-04-13 6:41 ` Eli Zaretskii
2017-04-13 23:35 ` Juri Linkov
2017-04-14 6:35 ` martin rudalics
2017-04-16 21:15 ` Juri Linkov
2017-04-14 7:27 ` Eli Zaretskii [this message]
2017-04-16 13:42 ` Stefan Monnier
2017-04-16 15:21 ` martin rudalics
2017-04-16 19:18 ` Stefan Monnier
2017-04-16 20:37 ` martin rudalics
2017-04-16 16:54 ` Eli Zaretskii
2017-04-16 19:22 ` Stefan Monnier
2017-04-16 20:07 ` Eli Zaretskii
2017-04-17 3:00 ` Stefan Monnier
2017-04-17 5:39 ` Eli Zaretskii
2017-04-17 12:14 ` Stefan Monnier
2017-04-17 14:35 ` Eli Zaretskii
2017-04-17 16:05 ` Stefan Monnier
2017-04-17 16:52 ` Eli Zaretskii
2017-04-19 12:12 ` Stefan Monnier
2017-04-17 14:25 ` Richard Stallman
2017-04-13 18:37 ` Stefan Monnier
2017-04-13 23:30 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83r30vh2k3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@IRO.UMontreal.CA \
/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 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).