emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: fill-paragraph broken
Date: Wed, 10 Jul 2013 01:07:53 -0700	[thread overview]
Message-ID: <CAJcAo8uwWPPmXLDqU0XVHkDRCOsnAekdwOvp6FXBXQTBe1s0Vw@mail.gmail.com> (raw)
In-Reply-To: <87k3kzlema.fsf@gmail.com>

You said to compare text modes with text modes.  So let's talk about
text-mode itself?  It works as I expect.

On 7/9/13, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> Samuel Wales <samologist@gmail.com> writes:
>
>> I think Org should support this variable and not fill two commented
>> paragraphs with a commented empty line as if they were one.
>
> I do not.
>
>> When you fill in, for example, Emacs Lisp mode, each paragraph is
>> filled as a paragraph, without combining them.
>
> You're comparing apples and oranges. Emacs Lisp is a programming
> language, i.e., derived from `prog-mode', whereas Org is about text,
> i.e., ultimately derived from `text-mode'. Let's compare text modes with
> text modes.
>
> The only mode derived from `text-mode' with comments I can think of is
> `rst-mode'. And it doesn't fill comments at all. We might do the same
> for the sake of consistency...
>
>> I think there is benefit for the user in keeping things consistent
>> with other modes and supporting this  Emacs variable.
>
> Org doesn't support this variable. It doesn't even use "newcomment.el".
> There is a simple reason for that: many functions in "newcomment.el"
> assume comments may start anywhere on a line. This is not possible in
> Org. "newcomment.el" is not meant for the `text-mode' family.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY can get it.

Denmark: free Karina Hansen NOW.

  reply	other threads:[~2013-07-10  8:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-08 20:53 fill-paragraph broken Samuel Wales
2013-07-09 12:00 ` Nicolas Goaziou
2013-07-09 17:47   ` Samuel Wales
2013-07-09 18:47     ` Samuel Wales
2013-07-09 19:25       ` Nicolas Goaziou
2013-07-10  8:07         ` Samuel Wales [this message]
2013-07-10 12:27           ` Nicolas Goaziou
2013-07-10 19:42             ` Samuel Wales
2013-07-11  7:11               ` Nicolas Goaziou
2013-07-11  8:01                 ` Samuel Wales
2013-07-11  8:19                   ` Nicolas Goaziou

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=CAJcAo8uwWPPmXLDqU0XVHkDRCOsnAekdwOvp6FXBXQTBe1s0Vw@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).