emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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:25:03 +0100	[thread overview]
Message-ID: <acf852aa0712170025o5ae2837eif12f06d086a9a0c0@mail.gmail.com> (raw)
In-Reply-To: <87abojxj9s.fsf@enki.rimspace.net>

On Dec 10, 2007 5:31 AM, Daniel Pittman <daniel@rimspace.net> wrote:
> 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.
>
> org-mode rebinds the "return" key to `org-return', which acts
> intelligently in the face of tables -- and calls `newline' hard-coded in
> other cases.
>
> I would like to preserve that intelligence, but also to use
> `newline-and-indent', so generated this patch to implement my desired
> behaviour.
>
> By default this changes nothing: org behaves exactly the same way as it
> did previously.
>
>
> If this isn't the right approach I am happy to rework the patch to
> better match the rest of the software.
>
>
> Finally, while I believe that this is a trivial change and will not need
> assignment papers anyway I can note two things:
>
>  * there are copyright assignments from me to the FSF on record already
>    for Emacs and constituents, so I don't know if I need a new
>    assignment.

If you have a past-and-future-changes assignment for Emacs, that
would be enough.  Please mail me a PDF copy of the assignment for
my records.  Thanks!

- Carsten

      parent reply	other threads:[~2007-12-17  8:25 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
2007-12-17  8:25 ` Carsten Dominik [this message]

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=acf852aa0712170025o5ae2837eif12f06d086a9a0c0@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 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).