* bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer"
@ 2011-11-12 11:51 Dani Moncayo
2011-11-12 19:30 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Dani Moncayo @ 2011-11-12 11:51 UTC (permalink / raw)
To: 10023
Hi,
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.
In GNU Emacs 24.0.91.1 (i386-mingw-nt6.1.7601)
of 2011-11-11 on DANI-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (4.5)'
--
Dani Moncayo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer"
2011-11-12 11:51 bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer" Dani Moncayo
@ 2011-11-12 19:30 ` Glenn Morris
2011-11-12 20:53 ` Dani Moncayo
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2011-11-12 19:30 UTC (permalink / raw)
To: Dani Moncayo; +Cc: 10023
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer"
2011-11-12 19:30 ` Glenn Morris
@ 2011-11-12 20:53 ` Dani Moncayo
2011-11-15 0:39 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Dani Moncayo @ 2011-11-12 20:53 UTC (permalink / raw)
To: Glenn Morris; +Cc: 10023
> 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.
Maybe not.
> `mark-whole-buffer'
> definitely does not need to be renamed.
I still think that the "whole" part is unnecessary and unfortunate.
But well, if you don't think it's worth the trouble, close this bug
report. I certainly can live with it, and there are many other issues
more important than this one, of course.
--
Dani Moncayo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer"
2011-11-12 20:53 ` Dani Moncayo
@ 2011-11-15 0:39 ` Glenn Morris
0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-11-15 0:39 UTC (permalink / raw)
To: 10023-done
Version: 24.0.92
I've mentioned narrowing in the doc of mark-whole-buffer, I don't think
there's a need for anything more.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-15 0:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-12 11:51 bug#10023: 24.0.91; `mark-whole-buffer' doesn't always "mark the whole buffer" Dani Moncayo
2011-11-12 19:30 ` Glenn Morris
2011-11-12 20:53 ` Dani Moncayo
2011-11-15 0:39 ` Glenn Morris
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.