From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Jarmo Hurri <jarmo.hurri@syk.fi>, emacs-orgmode@gnu.org
Subject: Re: Indenting source code blocks in lists
Date: Wed, 25 Jan 2012 13:09:45 +0100 [thread overview]
Message-ID: <87d3a8f0fq.fsf@gmail.com> (raw)
In-Reply-To: <874nvknuss.fsf@gnu.org> (Bastien's message of "Wed, 25 Jan 2012 07:46:43 +0100")
Hello,
Bastien <bzg@altern.org> writes:
> Jarmo Hurri <jarmo.hurri@syk.fi> writes:
>> But let us assume that I already have a source block, and it is not
>> indented correctly; what is the easy way to indent this block in a list?
>> (I can always keep pressing spacebar, but it does not feel very
>> intelligent.)
> I select the region, then `C-x r t' to insert the whitespaces.
I use C-x r o, which doesn't require to count the spaces, and is more
visual.
> But I don't feel very clever neither, we should have a better
> way for this -- something that deactivate folding and indent
> to the beginning of the list item above.
I'm not sure we should provide this. There are already so many ways,
often in muscle memory, to achieve the same in Emacs that we probably
shouldn't bother.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2012-01-25 12:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-25 6:03 Indenting source code blocks in lists Jarmo Hurri
2012-01-25 6:46 ` Bastien
2012-01-25 12:09 ` Nicolas Goaziou [this message]
2012-01-25 14:37 ` Bastien
2012-01-28 23:56 ` Bastien
2012-01-25 9:42 ` Phil (Philip) Mason
2012-01-25 10:12 ` Jambunathan K
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3a8f0fq.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=jarmo.hurri@syk.fi \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.