GNU bug report logs - #20774
auto-fill doesn't work properly when first-line prefix differs in adaptive-fill-mode

Previous Next

Package: emacs;

Reported by: Samuel Freilich <sfreilich <at> google.com>

Date: Mon, 8 Jun 2015 23:46:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Samuel Freilich <sfreilich <at> google.com>
Cc: 20774 <at> debbugs.gnu.org
Subject: bug#20774: auto-fill doesn't work properly when first-line prefix differs in adaptive-fill-mode
Date: Tue, 22 Aug 2017 08:49:52 -0400
Samuel Freilich <sfreilich <at> google.com> writes:

> $ emacs -Q -l markdown-mode.el
> M-x markdown-mode RET
> M-x auto-fill-mode RET
> M-x set-fill-column RET 5 RET
>
> Type the following into the buffer and hit RET:
> * Item
>
> Actual result:
> *
>   Item
>   [cursor]
>
> Expected result:
> * Item
>   [cursor]

With the patch I get

* Item
[cursor]

i.e, the cursor lands in column 0.  Is it correct?




This bug report was last modified 7 years and 325 days ago.

Previous Next


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