* Bug or filling feature?
@ 2010-01-16 1:43 Lennart Borgman
2010-01-17 2:31 ` Joe Brenner
0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2010-01-16 1:43 UTC (permalink / raw)
To: Emacs-Devel devel
Why does fill-paragraph in org-mode produce something like this:
bla bla http://some.where/ bla bla bla
//bla bla
The // on the second line was added by fill-paragraph and is aligned
with that on the first line. I did not change any setting. Or at least
I do not think I did. I did a customize-save-customized however, to
save another totally unrelated setting.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug or filling feature?
2010-01-16 1:43 Bug or filling feature? Lennart Borgman
@ 2010-01-17 2:31 ` Joe Brenner
2010-01-17 3:09 ` Lennart Borgman
0 siblings, 1 reply; 3+ messages in thread
From: Joe Brenner @ 2010-01-17 2:31 UTC (permalink / raw)
To: Lennart Borgman; +Cc: Emacs-Devel devel
Lennart Borgman <lennart.borgman@gmail.com> wrote:
> Why does fill-paragraph in org-mode produce something like this:
>
> bla bla http://some.where/ bla bla bla
> //bla bla
>
> The // on the second line was added by fill-paragraph and is aligned
> with that on the first line. I did not change any setting. Or at least
> I do not think I did. I did a customize-save-customized however, to
> save another totally unrelated setting.
I think this is a long-standing bug (though I don't know if it's ever
been reported as one). It comes up in a lot of contexts.
If you start with the following paragraph, and re-format it with the
fill column after the word "multiple"...
The greater than symbol: > is used for multiple purposes when one
is out riding the inner tubes.
...you end up with this:
The greater than symbol: > is used for multiple
> purposes when one
is out riding the inner tubes.
At a guess, this is a bad side-effect of some code that was written
for formatting quoted paragraphs in mail messages and so on.
Myself, I normally format things with fill-paragraph for its speed, but
in cases where it messes up, I use an elisp wrapper to run an external
script:
http://groups.google.com/group/emacs-perl-intersection/browse_thread/thread/35c4c3832bef103e
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug or filling feature?
2010-01-17 2:31 ` Joe Brenner
@ 2010-01-17 3:09 ` Lennart Borgman
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2010-01-17 3:09 UTC (permalink / raw)
To: Joe Brenner; +Cc: Emacs-Devel devel
On Sun, Jan 17, 2010 at 3:31 AM, Joe Brenner <doom@kzsu.stanford.edu> wrote:
>
> Lennart Borgman <lennart.borgman@gmail.com> wrote:
>
>> Why does fill-paragraph in org-mode produce something like this:
>>
>> bla bla http://some.where/ bla bla bla
>> //bla bla
>>
>> The // on the second line was added by fill-paragraph and is aligned
>> with that on the first line. I did not change any setting. Or at least
>> I do not think I did. I did a customize-save-customized however, to
>> save another totally unrelated setting.
>
>
> I think this is a long-standing bug (though I don't know if it's ever
> been reported as one). It comes up in a lot of contexts.
I think in my case it was related to something saved by
desktop-save-mode. It disappeared when I closed this org file buffer
before restarting Emacs, but unfortunately I did not save the old
desktop file. I think some fill paragraph pattern (ie
comment-start-skip) for another mode than org-mode was stored in the
desktop file for that file.
I can only guess how that happened.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-17 3:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-16 1:43 Bug or filling feature? Lennart Borgman
2010-01-17 2:31 ` Joe Brenner
2010-01-17 3:09 ` Lennart Borgman
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.