GNU bug report logs -
#45318
28.0.50; mark-paragraph
Previous Next
Reported by: rms <at> gnu.org
Date: Sat, 19 Dec 2020 05:13:02 UTC
Severity: wishlist
Merged with 18847
Found in versions 24.4, 28.0.50
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
"H. Dieter Wilhelm" <dieter <at> duenenhof-wilhelm.de> writes:
> But I would like to extend this solution for the following case: (and
> (eobp) (bolp)). The current implementation of M-h is doing nothing (for
> positive arguments) because - formally - the cursor sits in an "empty"
> paragraph and there are no further paragraphs below.
>
> But in this situation applying M-h clearly shows the user's intention to
> mark the paragraph above the cursor (and possibly further ones above
> when typing M-hhhh).
>
> What is your opinion?
I'm not quite sure I follow you, but either with the proposed patch, or
what I take to be your suggestion here, `mark-paragraph' works quite
differently here than in Emacs 27, and we should get the previous
behaviour back.
With this buffer:
[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
calling (mark-paragraph nil) gives me this in Emacs 27:
[Message part 4 (image/png, inline)]
[Message part 5 (text/plain, inline)]
I.e., it selects the previous paragraph, even if you're at the end of
the buffer.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.