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

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

[21.3] BUG: fill-paragraph/fill-prefix ignores first line


From: Jari Aalto
Subject: [21.3] BUG: fill-paragraph/fill-prefix ignores first line
Date: Fri, 12 Nov 2004 11:59:46 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
In GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195)
 of 2003-03-28 on buffy

Run this to see demonstration of the bug:

(with-temp-buffer
  (let ((str "One Line here and some text \
Second line here and some text \
Third line here and some text\n")
        (fill-column 20)
        (fill-prefix ">> "))
    (insert str)
    (display-buffer (current-buffer))
    (read-string "Text before [press] ")
    (goto-char (point-min))
    (fill-paragraph nil)
    (read-string "Text after fill [press] ")))

BEFORE:

One Line here and some text Second line here and some text Third line here and 
some text

AFTER:

One Line here and
>> some text Second
>> line here and
>> some text Third
>> line here and
>> some text

The first line should also have ">> "

Jari





reply via email to

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