GNU bug report logs - #36702
27.0.50; newline: don't auto-fill regardless of auto-fill-mode

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Wed, 17 Jul 2019 10:18:03 UTC

Severity: minor

Tags: fixed, patch

Found in versions 27.0.50, 26.2.90

Fixed in version 27.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 36702 <at> debbugs.gnu.org
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
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> Andreas Röhler <andreas.roehler <at> easy-emacs.de> 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




This bug report was last modified 5 years and 224 days ago.

Previous Next


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