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: comments after paragraph remove newline
Date: Mon, 18 Feb 2013 12:51:05 -0700	[thread overview]
Message-ID: <CAJcAo8sC6VPtjSJdZ2ME49o3pT=z1wFmFVYqs-QVz9-rO3KMWw@mail.gmail.com> (raw)
In-Reply-To: <87y5ewdkk1.fsf@gmail.com>

Hi Nicolas,

On 2/10/13, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Blank lines below an element belong to that element, by definition. So,
> obviously, just add a blank line between "comments" and "# test" and it
> will not be removed.

You are saying that the comments get removed with the blank line
because the blank line is considered part of the comments?

If so, I think the expectation of many users is that # comments only
the line itself, and not any other lines.  That, at least, is my own
expectation.

In my case, the proposed solution changes the meaning of the comment.
For example:

===
a
b
c
d
# e
# f

new paragraph
===

If you make e and f a new paragraph, it is intended to be a new
paragraph and no longer refers to the previous paragraph.

I don't know the code, but is it possible that, instead of attaching
blank lines to elements, blank lines can be an element on their own?
Would that allow the needed flexibility and also add orthogonality for
other purposes?

Samuel

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

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.

  reply	other threads:[~2013-02-18 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-10 18:49 comments after paragraph remove newline Samuel Wales
2013-02-10 19:40 ` Nicolas Goaziou
2013-02-18 19:51   ` Samuel Wales [this message]
2013-02-22 10:50     ` Nicolas Goaziou
2013-02-24 20:33       ` Samuel Wales
2013-02-25  8:20         ` 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='CAJcAo8sC6VPtjSJdZ2ME49o3pT=z1wFmFVYqs-QVz9-rO3KMWw@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).