From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Carsten Dominik" Subject: Re: Automatically indent text when return is hit in an org buffer. Date: Mon, 17 Dec 2007 09:30:23 +0100 Message-ID: References: <87abojxj9s.fsf@enki.rimspace.net> <87ve75v7dt.fsf@bzg.ath.cx> <87wsrlxyyd.fsf@enki.rimspace.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4BN7-0005iH-L8 for emacs-orgmode@gnu.org; Mon, 17 Dec 2007 03:30:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4BN3-0005Zw-Sp for emacs-orgmode@gnu.org; Mon, 17 Dec 2007 03:30:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4BN3-0005Zc-Lo for emacs-orgmode@gnu.org; Mon, 17 Dec 2007 03:30:41 -0500 Received: from wa-out-1112.google.com ([209.85.146.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4BN2-0006vH-Hc for emacs-orgmode@gnu.org; Mon, 17 Dec 2007 03:30:41 -0500 Received: by wa-out-1112.google.com with SMTP id k34so3222641wah.10 for ; Mon, 17 Dec 2007 00:30:23 -0800 (PST) In-Reply-To: <87wsrlxyyd.fsf@enki.rimspace.net> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Pittman Cc: emacs-orgmode@gnu.org I will take Bastien's patch, thanks to both of you. - Carsten On Dec 11, 2007 12:17 PM, Daniel Pittman wrote: > Bastien writes: > > Daniel Pittman 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 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 > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >