GNU bug report logs - #16461
24.3.50; electric eats too much

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Thu, 16 Jan 2014 08:10:01 UTC

Severity: normal

Found in version 24.3.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juri Linkov <juri <at> jurta.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16461: closed (24.3.50; electric eats too much)
Date: Mon, 20 Jan 2014 08:57:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Jan 2014 10:47:10 +0200
with message-id <87iotf6nw1.fsf <at> mail.jurta.org>
and subject line Re: bug#16461: 24.3.50; electric eats too much
has caused the debbugs.gnu.org bug report #16461,
regarding 24.3.50; electric eats too much
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16461
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; electric eats too much
Date: Thu, 16 Jan 2014 09:51:47 +0200
In Text mode typing RET on a formfeed character ^L deletes it.
The presence of ^L means it's here on purpose, so RET should keep it.

electric-indent-post-self-insert-function calls indent-according-to-mode
that uses special casing for indent-relative (that is the default
indent-line-function in text-mode).  I don't understand why it
calls ^L-eating indent-line-to instead of indent-relative
but without this special casing, indent-relative works fine
and doesn't eat ^L.


[Message part 3 (message/rfc822, inline)]
From: Juri Linkov <juri <at> jurta.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16461-done <at> debbugs.gnu.org
Subject: Re: bug#16461: 24.3.50; electric eats too much
Date: Mon, 20 Jan 2014 10:47:10 +0200
>>> But I also think that indent-line-to should *not* eat ^L.
>> This patch fixes the problem and doesn't eat ^L:
>
> Looks OK, thanks.  This difference between back-to-indentation and
> backward-to-indentation is really obscure.

Perhaps a new function with more descriptive name could be added later.


This bug report was last modified 11 years and 185 days ago.

Previous Next


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