From: "Carsten Dominik" <dominik@science.uva.nl>
To: Daniel Pittman <daniel@rimspace.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automatically indent text when return is hit in an org buffer.
Date: Mon, 17 Dec 2007 09:30:23 +0100 [thread overview]
Message-ID: <acf852aa0712170030k25e7b45fhfb9c4c829b272315@mail.gmail.com> (raw)
In-Reply-To: <87wsrlxyyd.fsf@enki.rimspace.net>
I will take Bastien's patch, thanks to both of you.
- Carsten
On Dec 11, 2007 12:17 PM, Daniel Pittman <daniel@rimspace.net> wrote:
> 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
>
>
>
> _______________________________________________
> 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
>
next prev parent reply other threads:[~2007-12-17 8:30 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
2007-12-17 8:30 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=acf852aa0712170030k25e7b45fhfb9c4c829b272315@mail.gmail.com \
--to=dominik@science.uva.nl \
--cc=daniel@rimspace.net \
--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 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.