emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Valentin Wüstholz" <wuestholz@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.
Date: Mon, 08 Aug 2011 22:40:50 +0200	[thread overview]
Message-ID: <87sjpbmyb1.fsf@gmail.com> (raw)
In-Reply-To: <CAPVO5rySYhiirv=0KriY2VJCfnJLr7MMyL60i3kCcRB+XLb1+w@mail.gmail.com> ("Valentin Wüstholz"'s message of "Mon, 8 Aug 2011 21:48:36 +0200")

Hello,

Valentin Wüstholz <wuestholz@gmail.com> writes:

> lines in example blocks are currently indented like the surrounding
> begin and end delimiters. ¨This works fine unless, you want to indent
> some lines manually;

You may use colons instead. They are meant for this task. I.e.:

: some text
:     ^

> in this case, auto-indenting the buffer reverts the manual
> indentation. This patch should prevent this from happening.

I don't think we should prevent that as it would be more hassle to cope
with the new behaviour than doing it with colons.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2011-08-08 20:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-08 19:48 [PATCH] org.el: Preserve indentation of manually indented lines in example blocks Valentin Wüstholz
2011-08-08 20:40 ` Nicolas Goaziou [this message]
2011-08-08 21:04   ` Valentin Wüstholz
2011-08-08 22:33     ` Nicolas Goaziou
2011-08-09  5:42       ` Valentin Wüstholz
2011-08-09  9:18         ` Nicolas Goaziou
2011-08-09 12:10           ` Valentin Wüstholz
2011-08-09 13:21             ` Nicolas Goaziou
2011-08-09 19:37               ` Valentin Wüstholz
2011-08-10  9:00                 ` Nicolas Goaziou
2011-08-16 17:21                   ` Bastien
2011-08-16 19:18                 ` Bastien
2011-08-16 21:33                   ` Valentin Wüstholz
2011-08-17  9:40                     ` Bastien
2011-08-17 18:32                       ` Valentin Wüstholz
2011-08-18 16:44                         ` Bastien
2011-08-26  6:45                           ` Valentin Wüstholz

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=87sjpbmyb1.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wuestholz@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).