emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Has filling behavior been changed recently in org?
Date: Fri, 13 Nov 2009 00:33:22 +0100	[thread overview]
Message-ID: <87fx8jgvy5.fsf@gmx.de> (raw)
In-Reply-To: <20524da70911121409v16fde2b1w7ecbf5842a11f44d@mail.gmail.com> (Samuel Wales's message of "Thu, 12 Nov 2009 15:09:08 -0700")

Samuel Wales <samologist@gmail.com> writes:
> Hi Sebastian,
>
> On 2009-11-12, Sebastian Rose <sebastian_rose@gmx.de> wrote:
>> Samuel Wales <samologist@gmail.com> 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

  reply	other threads:[~2009-11-12 23:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 20:13 Has filling behavior been changed recently in org? Samuel Wales
2009-11-12 22:05 ` Sebastian Rose
2009-11-12 22:09   ` Samuel Wales
2009-11-12 23:33     ` Sebastian Rose [this message]
2009-11-13  0:00       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fx8jgvy5.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).