GNU bug report logs - #18847
24.4; Inconsistent behaviour of M-h with negative arguments

Previous Next

Package: emacs;

Reported by: dieter <at> duenenhof-wilhelm.de (H. Dieter Wilhelm)

Date: Sun, 26 Oct 2014 23:29:01 UTC

Severity: wishlist

Merged with 45318

Found in versions 24.4, 28.0.50

Full log


Message #25 received at 18847 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: dieter <at> duenenhof-wilhelm.de (H. Dieter Wilhelm)
Cc: Stefan Monnier <monnier <at> IRO.UMontreal.CA>, 18847 <at> debbugs.gnu.org
Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative
 arguments
Date: Thu, 13 Aug 2020 11:51:58 +0200
dieter <at> duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:

> The following patches
>
> 1) solve bug#18847 (when applying M-h with negative arguments and
>    repeating this command)
>
> 2) solve another - not reported - bug.  When, e.g. at the end of the
>    buffer, the numbers of paragraphs left in the buffer is less than
>    ARG, then paragraphs are also marked *before* the current paragraph
>    (contradicting the function's documentation)
>
> 3) (hopefully) clarifying a bit the documentation of mark-paragraph
>
> 4) aligning the behaviour of a zero argument to other marking commands
>    (doing nothing, no error signal)

Thanks; I've now applied this patch to Emacs 28 (with some small
whitespace changes).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.