From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: [PATCH] Always insert heading after current Date: Fri, 5 Mar 2010 14:55:10 -0600 Message-ID: <211769421003051255s7023b3f6pae916208a15f40b6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1508879621==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NneYF-0003PN-25 for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 15:55:15 -0500 Received: from [140.186.70.92] (port=42917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NneYD-0003Ov-S7 for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 15:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NneYC-0008G2-Qc for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 15:55:13 -0500 Received: from mail-bw0-f222.google.com ([209.85.218.222]:54739) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NneYC-0008Fw-LB for emacs-orgmode@gnu.org; Fri, 05 Mar 2010 15:55:12 -0500 Received: by bwz22 with SMTP id 22so988558bwz.8 for ; Fri, 05 Mar 2010 12:55:10 -0800 (PST) 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: emacs-orgmode@gnu.org --===============1508879621== Content-Type: multipart/alternative; boundary=000325554e5a5ebb03048113ee98 --000325554e5a5ebb03048113ee98 Content-Type: text/plain; charset=ISO-8859-1 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 - List Item 1 - I want the new list item to go here, not above - List Item 1 Thanks, --Nate --000325554e5a5ebb03048113ee98 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 hea= ding is created under
the current heading, ***even if you're on the first character of a head= ing***

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

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

http://github.com/NathanNeff/org-mode/commit/ee2b727= 139db6530e8f5b7e076cf27368c3d3182

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

I would like to apply the same behavior w= hen inserting new list items.

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

=A0 For example, if you h= ave:

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


Thanks,
--Nat= e
--000325554e5a5ebb03048113ee98-- --===============1508879621== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1508879621==--