From: Daniel Pittman <daniel@rimspace.net>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automatically indent text when return is hit in an org buffer.
Date: Tue, 11 Dec 2007 22:17:30 +1100 [thread overview]
Message-ID: <87wsrlxyyd.fsf@enki.rimspace.net> (raw)
In-Reply-To: <87ve75v7dt.fsf@bzg.ath.cx> (Bastien's message of "Tue, 11 Dec 2007 11:43:42 +0100")
Bastien <bzg@altern.org> writes:
> Daniel Pittman <daniel@rimspace.net> writes:
>
>> G'day. I am a fan of `newline-and-indent', and turn it on for most
>> of the modes I routinely use, since it is almost always what I want
>> done.
[...]
> I think having a new option is not the best solution. I would prefer
> to preserve the distinction between the two commands (RET and C-j).
>
> The patch below does this: define org-return-indent and bind it to
> C-j. Whether you want to bind it to RET is up to you.
Well, the approach seems perfectly reasonable to me, and I can achieve
the same result; I fully support your approach.
[...]
>> If this isn't the right approach I am happy to rework the patch to
>> better match the rest of the software.
>
> Thanks for pointing out this issue and for the patch! I don't know
> what Carsten will do with this, but having two solutions is certainly
> good :)
Mmm. I suspect that your approach is the better one; it is more in
keeping with the rest of Emacs, I think, and certainly achieves my goal.
Thanks,
Daniel
--
Daniel Pittman <daniel@cybersource.com.au> Phone: 03 9428 6922
1/130-132 Stawell St, Richmond Web: http://www.cyber.com.au
Cybersource: Australia's Leading Linux and Open Source Solutions Company
next prev parent reply other threads:[~2007-12-11 11:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-10 4:31 Automatically indent text when return is hit in an org buffer Daniel Pittman
2007-12-11 10:43 ` Bastien
2007-12-11 11:17 ` Daniel Pittman [this message]
2007-12-17 8:30 ` Carsten Dominik
2007-12-17 8:25 ` Carsten Dominik
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=87wsrlxyyd.fsf@enki.rimspace.net \
--to=daniel@rimspace.net \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/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).