emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Always insert heading after current
Date: Fri, 5 Mar 2010 14:55:10 -0600	[thread overview]
Message-ID: <211769421003051255s7023b3f6pae916208a15f40b6@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 970 bytes --]

This is my first endeavor at contributing to open source, so bear with me
:-)

I created a variable called 'org-insert-heading-always-after-current'

If it's not nil, and you press M-Return, a new heading is created under
the current heading, ***even if you're on the first character of a
heading***

I added it to the org-custom list, also.

Here's the git commit (on GitHub) that has my changes (against the latest
org-mode as of today).

http://github.com/NathanNeff/org-mode/commit/ee2b727139db6530e8f5b7e076cf27368c3d3182

I followed the directions from here:
http://orgmode.org/worg/org-contribute.php

I would like to apply the same behavior when inserting new list items.

If you're on the first character of a list item, a new list item is still
inserted above the list item.
If anyone has a fix for this, let me know.

  For example, if you have:

* Foo
  <cursor>- List Item 1
  - I want the new list item to go here, not above - List Item 1


Thanks,
--Nate

[-- Attachment #1.2: Type: text/html, Size: 1261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

                 reply	other threads:[~2010-03-05 20:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=211769421003051255s7023b3f6pae916208a15f40b6@mail.gmail.com \
    --to=nathan.neff@gmail.com \
    --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).