From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer" Date: Sat, 12 Nov 2011 14:30:09 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1321126248 10085 80.91.229.12 (12 Nov 2011 19:30:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2011 19:30:48 +0000 (UTC) Cc: 10023@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 12 20:30:44 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RPJHn-00086B-SQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Nov 2011 20:30:44 +0100 Original-Received: from localhost ([::1]:45080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPJHn-00088C-F2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Nov 2011 14:30:43 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPJHl-000886-6Q for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 14:30:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPJHk-0003Yq-8h for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 14:30:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPJHk-0003Ym-60 for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 14:30:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RPJI5-0005UD-ML for bug-gnu-emacs@gnu.org; Sat, 12 Nov 2011 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Nov 2011 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10023-submit@debbugs.gnu.org id=B10023.132112623921052 (code B ref 10023); Sat, 12 Nov 2011 19:31:01 +0000 Original-Received: (at 10023) by debbugs.gnu.org; 12 Nov 2011 19:30:39 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPJHh-0005TR-9s for submit@debbugs.gnu.org; Sat, 12 Nov 2011 14:30:38 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RPJHf-0005TH-00 for 10023@debbugs.gnu.org; Sat, 12 Nov 2011 14:30:35 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RPJHF-00046z-Mb; Sat, 12 Nov 2011 14:30:09 -0500 X-Spook: Kh-11 Montenegro UMTS munitions national information X-Ran: 3l.==&>G+b:HZV}JG?uX?kVw-chGPAb`$^[-tX./+_}8'}Dr_Bi7I,@o-?XZ0H9{l4m6:l X-Hue: red X-Attribution: GM In-Reply-To: (Dani Moncayo's message of "Sat, 12 Nov 2011 12:51:55 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Nov 2011 14:31:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53837 Archived-At: Dani Moncayo wrote: > The `mark-whole-buffer' command, when invoked from a narrowed buffer, > doesn't mark the whole buffer (like its name, docstring and the manual > say) but only the narrowed portion. > > Therefore, I think that: > * The docstring and the manual should explain this use-case. > * The command name could be renamed to just `mark-buffer', since the > "whole" part is specially unfortunate. >From the Emacs manual on narrowing: When you have narrowed down to a part of the buffer, that part appears to be all there is. You can't see the rest, you can't move into it (motion commands won't go outside the accessible part), you can't change it in any way. This is a common concept that I don't think needs to be explained in the doc of every command that it might effect. `mark-whole-buffer' definitely does not need to be renamed. Narrow-to-region is a disabled command; you get a notice about this kind of thing when you invoke it.