--- 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 ---