Samuel Wales <[email protected]> writes:
> Hi Sebastian,
>
> On 2009-11-12, Sebastian Rose <[email protected]> wrote:
>> Samuel Wales <[email protected]> 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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode