GNU bug report logs - #46296
28.0.50; indent-rigidly inserts newline when exiting with RET

Previous Next

Package: emacs;

Reported by: Tomas Nordin <tomasn <at> posteo.net>

Date: Thu, 4 Feb 2021 14:45:01 UTC

Severity: normal

Tags: fixed

Found in version 28.0.50

Fixed in versions 28.1, 27.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Tomas Nordin <tomasn <at> posteo.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 46296 <at> debbugs.gnu.org
Subject: Re: bug#46296: 28.0.50; indent-rigidly inserts newline when exiting
 with RET
Date: Fri, 05 Feb 2021 19:45:45 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> I think it's a documentation bug.  The manual says:
>>
>>   Typing any other key disables the transient mode, and resumes normal
>>   editing.                                          ^^^^^^^^^^^^^^^^^^
>>   ^^^^^^^
>>
>> So I think this means that any other character terminates the mode and
>> is acted upon.  We can clarify this in the docs.
>
> Yup.  I've now pushed a slight clarification to Emacs 27.

Cool, I saw it. But the function doc string was not touched? Maybe
that's often the first look-up for docs one does.

So this was a documentation bug. Is it only me who thinks a behavior
more like string-rectangle is expected with indent-rigidly? I think it
is a little surprising when a newline is inserted at exit.

--
Tomas




This bug report was last modified 4 years and 102 days ago.

Previous Next


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