From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: A Microsoftesque detail in org Date: Mon, 18 May 2015 13:29:45 +0200 Message-ID: References: <87382yji8z.fsf@iki.fi> <87lhgqxeq0.fsf@gmx.us> <87k2w754vk.fsf@iki.fi> <874mnaykh0.fsf@gmx.us> <87oaliw70d.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuJFC-0001M4-49 for emacs-orgmode@gnu.org; Mon, 18 May 2015 07:30:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuJF7-0003kY-WB for emacs-orgmode@gnu.org; Mon, 18 May 2015 07:30:02 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:37736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuJF7-0003kQ-QA for emacs-orgmode@gnu.org; Mon, 18 May 2015 07:29:57 -0400 Received: by wibt6 with SMTP id t6so65823912wib.0 for ; Mon, 18 May 2015 04:29:57 -0700 (PDT) In-Reply-To: <87oaliw70d.fsf@gmx.us> (rasmus@gmx.us's message of "Mon, 18 May 2015 11:48:50 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Rasmus writes: > Rainer M Krug writes: > >> OK - this makes sense. But instead of jumping to the next line, a >> splitting of the header into two would make more sense, keeping the >> correct syntax. > > That is literally what my patch does IF you are in region four (more > or less) of org-complex-heading-regexp. Sorry - I did not look into the patch - but that sounds perfect. > >> Jumping to the next line is actually counter intuitive, as this is >> pure movement. > > It's what it does in tables (most of the time). What would be better? For me, tables area a slightly different story, as they can not contain line breaks. OK - you could argue headers neither. I think you got me there. But the syntax in a table is more "abstract" then in a straight header. Is you have priorities, tags, ... it is different, story. But as you are asking, one more consistent possibility for tables would be to *split* the cell where the cursor sits, (as in normal text) and create a new empty row below the one the cursor is in with the cell containing the remainder of the cell above. So: | test 1 | re | t | | test 2 | a | b | | test 3 | c | d | with cursor in the space in "test 2" would become | test 1 | re | t | | test 2 | a | b | | 2 | | | | test 3 | c | d | But I would not suggest due to the table nature. Cheers, Rainer > > =E2=80=94Rasmus =2D- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJVWc0yAAoJENvXNx4PUvmC3MkIAOQAek9HHU2Aq4drff9Vh18a PsIzxdtf0D9dxk77O3FvihKHRwYxrUyH259sCP0S91AFNdpz+3pDamAOtQ5Cu7Go G6s8kRJX+/P8ZYXmvjL276TDdbvM36/WBLOg+lRIQy1jj6J+cdSW6vvLY2JkGLkU viAM7bFpXNb2h850p/2S0na5HMa6aLz8pmJPjsd72U9g6RinxDCMbewgwTtEF3wf daO+FezUCN7K5n1Mdz3GMC7PHpPCM/PdWAc5oHbEzTy5sK4kkwjL37w07neJjc3I oI/hNMxBOlZxNRnIxhzYCnNaatJaAPOoakBxZDd6NeM8K2c0oh7IHo+H1IgRwZY= =QLDV -----END PGP SIGNATURE----- --=-=-=--