* Why does fill-paragraph insert a "-" char on wrapped lines?
@ 2007-04-01 0:38 Lennart Borgman (gmail)
2007-04-01 7:48 ` Andreas Schwab
2007-04-01 19:25 ` Stefan Monnier
0 siblings, 2 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-01 0:38 UTC (permalink / raw)
To: Emacs Devel
When fill-paragraph is applied to
;; - This is a long line that will wrap when it is filled.
it is filled like this
;; - This is a long line that will wrap when it is
;; - filled.
I do not understand why there is a "-" char on the second line above. I
would expect that it looked like
;; - This is a long line that will wrap when it is
;; filled.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why does fill-paragraph insert a "-" char on wrapped lines?
2007-04-01 0:38 Why does fill-paragraph insert a "-" char on wrapped lines? Lennart Borgman (gmail)
@ 2007-04-01 7:48 ` Andreas Schwab
2007-04-01 10:35 ` Lennart Borgman (gmail)
2007-04-01 19:25 ` Stefan Monnier
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2007-04-01 7:48 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Emacs Devel
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> When fill-paragraph is applied to
>
> ;; - This is a long line that will wrap when it is filled.
>
> it is filled like this
>
> ;; - This is a long line that will wrap when it is
> ;; - filled.
>
> I do not understand why there is a "-" char on the second line above.
adaptive-fill-mode is a variable defined in `fill.el'.
Its value is t
Documentation:
*Non-nil means determine a paragraph's fill prefix from its text.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why does fill-paragraph insert a "-" char on wrapped lines?
2007-04-01 7:48 ` Andreas Schwab
@ 2007-04-01 10:35 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-01 10:35 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Emacs Devel
Andreas Schwab wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>
>> When fill-paragraph is applied to
>>
>> ;; - This is a long line that will wrap when it is filled.
>>
>> it is filled like this
>>
>> ;; - This is a long line that will wrap when it is
>> ;; - filled.
>>
>> I do not understand why there is a "-" char on the second line above.
>
> adaptive-fill-mode is a variable defined in `fill.el'.
> Its value is t
>
> Documentation:
> *Non-nil means determine a paragraph's fill prefix from its text.
Thanks, but turning off adaptive-filll-mode instead gives me
;; - This is a long line that will wrap when it is
;; filled.
I would instead like
;; - This is a long line that will wrap when it is
;; filled.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why does fill-paragraph insert a "-" char on wrapped lines?
2007-04-01 0:38 Why does fill-paragraph insert a "-" char on wrapped lines? Lennart Borgman (gmail)
2007-04-01 7:48 ` Andreas Schwab
@ 2007-04-01 19:25 ` Stefan Monnier
2007-04-01 23:45 ` Lennart Borgman (gmail)
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2007-04-01 19:25 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Emacs Devel
> When fill-paragraph is applied to
> ;; - This is a long line that will wrap when it is filled.
> it is filled like this
> ;; - This is a long line that will wrap when it is
> ;; - filled.
> I do not understand why there is a "-" char on the second line
> above. I would expect that it looked like
> ;; - This is a long line that will wrap when it is
> ;; filled.
It's a limitation of the current adaptive-fill-mode code.
It actually works in my local Emacs implementation, because I've added
various hacks to it, but this is post-22.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why does fill-paragraph insert a "-" char on wrapped lines?
2007-04-01 19:25 ` Stefan Monnier
@ 2007-04-01 23:45 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-01 23:45 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Emacs Devel
Stefan Monnier wrote:
>> When fill-paragraph is applied to
>
>> ;; - This is a long line that will wrap when it is filled.
>
>> it is filled like this
>
>> ;; - This is a long line that will wrap when it is
>> ;; - filled.
>
>> I do not understand why there is a "-" char on the second line
>> above. I would expect that it looked like
>
>> ;; - This is a long line that will wrap when it is
>> ;; filled.
>
> It's a limitation of the current adaptive-fill-mode code.
> It actually works in my local Emacs implementation, because I've added
> various hacks to it, but this is post-22.
Thanks, I hoped it was something simple we could agree upon now.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-01 23:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-01 0:38 Why does fill-paragraph insert a "-" char on wrapped lines? Lennart Borgman (gmail)
2007-04-01 7:48 ` Andreas Schwab
2007-04-01 10:35 ` Lennart Borgman (gmail)
2007-04-01 19:25 ` Stefan Monnier
2007-04-01 23:45 ` Lennart Borgman (gmail)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.