[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Has filling behavior been changed recently in org?
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] Has filling behavior been changed recently in org? |
Date: |
Fri, 13 Nov 2009 00:33:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Samuel Wales <address@hidden> writes:
> Hi Sebastian,
>
> On 2009-11-12, Sebastian Rose <address@hidden> wrote:
>> Samuel Wales <address@hidden> writes:
>>> For some reason, I can fill a commented paragraph in emacs lisp mode,
>>> text mode, and fundamental mode, but not in org mode. It does
>>> nothing. fill-column is my normal 60. I cannot debug it. Did
>>> something change recently? I use filladapt.
>>>
>>> Thanks.
>>
>> Sorry for the question, but "in emacs lisp mode" is not "in org mode",
>> is it?
>
> Sorry, I don't understand your comment at all.
Sorry, I mis-read your mail :-(
I read:
For some reason, I can fill a commented paragraph in emacs lisp mode,
...but somehow the next line slipped through.
Well, I believe the problem is, that we have no simple defined comment
start in Org-mode.
If `#' was the comment start, lines might be wrapped and stop
working. As `#' also starts working directives, e.g. for ditaa and
gnuplot.
In addition, a `#' may occur anywhere in a line but the first non-blank
position and would not start a comment.
Also, imagine a code block like this:
#+begin_src perl
print "This example";
# ...contains a perl comment...
# In deep nested node, this line might wrap, because of the fill column.
#+end_src
Anyway, I believe it could be done - but no one got around and did it
yet. It seems complicated and error prone.
Best wishes
Sebastian