emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#16461: closed (24.3.50; electric eats too much)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16461: closed (24.3.50; electric eats too much)
Date: Mon, 20 Jan 2014 08:57:02 +0000

Your message dated Mon, 20 Jan 2014 10:47:10 +0200
with message-id <address@hidden>
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
address@hidden)


-- 
16461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16461
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; electric eats too much Date: Thu, 16 Jan 2014 09:51:47 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
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.



--- End Message ---
--- Begin Message --- Subject: Re: bug#16461: 24.3.50; electric eats too much Date: Mon, 20 Jan 2014 10:47:10 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
>>> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]