[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Automatically indent text when return is hit in an org buf

From: Daniel Pittman
Subject: Re: [Orgmode] Automatically indent text when return is hit in an org buffer.
Date: Tue, 11 Dec 2007 22:17:30 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux)

Bastien <address@hidden> writes:
> Daniel Pittman <address@hidden> 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.

Daniel Pittman <address@hidden>           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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]