From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#26466: 26.0.50; Document that kill-this-buffer should be called from the menu bar Date: Wed, 12 Apr 2017 16:00:30 -0400 Message-ID: References: <87ziflocqp.fsf@bahamut> <83shldif6l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492027272 28675 195.159.176.226 (12 Apr 2017 20:01:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2017 20:01:12 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: noct@openmailbox.org To: 26466@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 12 22:01:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyORv-0007LU-Tj for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 22:01:08 +0200 Original-Received: from localhost ([::1]:46028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyOS0-0007SQ-D3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 16:01:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyORu-0007Rk-De for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 16:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyORq-0001OS-Kt for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 16:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyORq-0001Nh-Hg for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 16:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cyORq-0004T7-7n for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2017 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26466-submit@debbugs.gnu.org id=B26466.149202724017138 (code B ref 26466); Wed, 12 Apr 2017 20:01:02 +0000 Original-Received: (at 26466) by debbugs.gnu.org; 12 Apr 2017 20:00:40 +0000 Original-Received: from localhost ([127.0.0.1]:44796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyORT-0004SM-N7 for submit@debbugs.gnu.org; Wed, 12 Apr 2017 16:00:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyORS-0004SA-3v for 26466@debbugs.gnu.org; Wed, 12 Apr 2017 16:00:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyORM-000197-0q for 26466@debbugs.gnu.org; Wed, 12 Apr 2017 16:00:32 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyORL-000193-U5; Wed, 12 Apr 2017 16:00:31 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cyORL-0004CC-21; Wed, 12 Apr 2017 16:00:31 -0400 X-Spook: Firefly MARTA Enriched Narco banners MP5K-SD gamma X-Ran: o~@4w>6/#~lD~aSyd?l{/KC&TT9&Pie.CC*'19rhg~"/H5!@!DIsD@gIX^sU:(eh.tC)#f X-Hue: green X-Attribution: GM In-Reply-To: <83shldif6l.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 12 Apr 2017 22:44:34 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131520 Archived-At: Eli Zaretskii wrote: >> From: Fox Kiester >> Date: Wed, 12 Apr 2017 11:40:46 -0400 >> >> I learned today that kill-this-buffer is only meant to be called >> from the menu bar. This is clear after navigating to its definition >> in menu-bar.el, but it would be nice if this was also mentioned in >> its docstring especially since the command is not prefixed with >> "menu-bar-". This might help prevent some confusion. > > More accurately, this command might decide to silently do nothing if > invoked not vie the menu bar. Perhaps that aspect wasn't entirely intentional (yes I know it's bug#8184). Compare the definition in Emacs 23.4: (defun kill-this-buffer () "Kill the current buffer. When called in the minibuffer, get out of the minibuffer using `abort-recursive-edit'." (interactive) (if (menu-bar-non-minibuffer-window-p) (kill-buffer (current-buffer)) (abort-recursive-edit)))