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

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

bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mod


From: Basil L. Contovounesios
Subject: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode
Date: Wed, 17 Jul 2019 15:38:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Basil L. Contovounesios" <address@hidden> writes:

> Andreas Röhler <address@hidden> writes:
>
>> From my point of view it's not that much about the docu but about the design.
>>
>> Users should not be forced to add an extra argument to prevent auto-fill 
>> when it
>> is about a newline.
>
> Users who do not want auto-filling should not enable auto-fill-mode,
> either directly or by setting auto-fill-function.

Alternatively, users who want auto-fill-mode to ignore newlines can do
the following:

  (aset auto-fill-chars ?\C-j nil)

This is documented under (info "(elisp) Commands for Insertion") and
(info "(elisp) Auto Filling").

-- 
Basil





reply via email to

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