From: Bernt Hansen <bernt@norang.ca>
To: Manuel Giraud <manuel.giraud@univ-nantes.fr>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Indentation of org-mode code
Date: Wed, 20 Apr 2011 10:40:33 -0400 [thread overview]
Message-ID: <87pqohgf4u.fsf@norang.ca> (raw)
In-Reply-To: <87d3khqa15.fsf@univ-nantes.fr> (Manuel Giraud's message of "Wed, 20 Apr 2011 16:20:38 +0200")
Manuel Giraud <manuel.giraud@univ-nantes.fr> writes:
> Hi,
>
> What are the good settings to indent the org-mode code? I have searched
> through the mailing list and worg but can't find an answer.
>
> I'm asking because while working on org-html.el at one point I reindent
> the whole buffer and end up with a mess (indenting with "emacs -Q" can't
> fix this).
For indenting lisp code I highlight the region to indent and C-M-\
(which is M-x indent-region)
-Bernt
next prev parent reply other threads:[~2011-04-20 14:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 14:20 Indentation of org-mode code Manuel Giraud
2011-04-20 14:40 ` Bernt Hansen [this message]
2011-04-20 14:54 ` Manuel Giraud
2011-04-20 15:45 ` Bernt Hansen
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=87pqohgf4u.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=manuel.giraud@univ-nantes.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).