emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Always insert heading after current
@ 2010-03-05 20:55 Nathan Neff
  0 siblings, 0 replies; only message in thread
From: Nathan Neff @ 2010-03-05 20:55 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-05 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 20:55 [PATCH] Always insert heading after current Nathan Neff

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).