emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: Org mode <emacs-orgmode@gnu.org>, emacs-devel@gnu.org
Subject: Re: Alinea filling (hanlding of explicit line-breaks)
Date: Tue, 15 Feb 2011 12:22:16 -0500	[thread overview]
Message-ID: <jwvk4h1kyim.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <80oc6e5mnt.fsf@gmail.com> ("Vincent Belaïche"'s message of "Mon, 14 Feb 2011 22:30:46 +0100")

> Maybe an example is better to explain what I need, imagine that I have
> the following two paragraphs:
[...]
> Where I assumed that alineas are separated by either an empty line or a
> tailing `\\' while paragraphs are separated by just an empty line.

An important question here is: is it important for M-} to ignore those \\?

> What you say (making distinct separation of paragraph for motion and of
> fillable-region) is more than what I needed, because I assumed that
> alineas and paragraphs are not completely separate things, as an alinea
> is always a subset of a paragraph.

Yes, that's usually the case.  But it's more trouble for the code to
enforce that fill-forward-paragraph-function only moves within the
current paragraph, so the extra power comes at no cost and you don't
have to use it.

> Concerning EUPP, after more thinking, I realized that alineas are not
> the good approach: actually I don't need any special filling but rather
> to disable filling in some occasions, and for that using the
> fill-paragraph-function is a better approach.

Of course fill-paragraph-function sucks because it only applies to
fill-paragraph and not to fill-region.

> So, for Org I will just install emacs-24 --- or at least the fill
> package, is it backward compatible with an emacs-23 ?

No idea.  It's likely, but I really can't guarantee it.


        Stefan

  reply	other threads:[~2011-02-15 17:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 21:30 Alinea filling (hanlding of explicit line-breaks) Vincent Belaïche
2011-02-15 17:22 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-13 15:48 Alinea filling (hanlding of explicit line-breaks)‏ Vincent Belaïche
2011-03-13 21:34 ` Stefan Monnier
2011-03-13 13:49 Alinea filling (hanlding of explicit line-breaks) Vincent Belaïche
2011-03-12 21:09 Vincent Belaïche
2011-03-13  3:59 ` Stefan Monnier
2011-02-16  6:42 Vincent Belaïche
2011-02-16 15:02 ` Stefan Monnier
2011-02-13  8:47 Vincent Belaïche
2011-02-14 18:16 ` Stefan Monnier

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=jwvk4h1kyim.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=vincent.b.1@hotmail.fr \
    /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).