emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [BUG] fill-paragraph on commented line


From: Carsten Dominik
Subject: Re: [Orgmode] [BUG] fill-paragraph on commented line
Date: Thu, 29 Apr 2010 14:48:47 +0200

Hi Dan,

On Apr 28, 2010, at 3:12 AM, Dan Davison wrote:

I can see from the archives that fill-paragraph is a bit of a headache,

:-) yes, indeed.

but, still, I have a couple of queries...

Firstly, with point on the # character below, M-q wraps the long line
below, rather than the commented line, which is suprising.

--8<---------------cut here---------------start------------->8---
# long line here long line here long line here long line here long line here long line here long line here long line here long line here long line here

second long line here second long line here second long line here second long line here second long line here second long line here second long line here second long line here
--8<---------------cut here---------------end--------------->8---

No idea what is causing this.  I have been at war with the
comment prefix issue and never being able to resolve it
- except for using filladapt, that is.


Also, would you mind reminding me what the intended behaviour is for M-q
on list items?

If I have

- item1
  stuff here stuff here stuff here stuff here stuff here stuff here

and do M-q, ideally I'd like it not to put the "stuff here" line onto
the item1 line. Is that desirable but hard / not desirable / supposed to
be happening?

I think this should definitely put the second lin back into the first.
What would be nice though would be this:

- item1 \\
  stuff here stuff here stuff here stuff here stuff here stuff her

When \\ is there to specifically terminate the line, I'd love if the refilling could respect this. I am afraid I don't know how to do this, though. Maybe it can be done using filladapt, but I don't know.

A revision of the entire filling code might be a useful thing!

- Carsten





reply via email to

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