From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stefan-W. Hahn" Subject: Behaviour of org-open-at-point and org-return (was commit 4e864643 breaks org-return) Date: Sun, 25 Oct 2015 17:41:26 +0100 Message-ID: <20151025164126.GC10154@scotty.home> References: <20151022165708.GL12141@scotty.home> <20151023200734.GM12141@scotty.home> <87twphxlgx.fsf@nicolasgoaziou.fr> <20151024064847.GA14197@pille.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqOMQ-000259-S2 for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 12:41:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqOMN-0000HX-K8 for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 12:41:34 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:62006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqOMN-0000HQ-EO for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 12:41:31 -0400 Content-Disposition: inline In-Reply-To: <20151024064847.GA14197@pille.home> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Mail von Stefan-W. Hahn, Sat, 24 Oct 2015 at 08:48:47 +0200: Hello, as I observed there is a change in behaviour of org-return from on commit 4e864643bdb6bba3e000ea51fb746a26e40b1f77 Author: Nicolas Goaziou Date: Sun Oct 18 09:36:15 2015 +0200 for timestamps, date ranges and any link. The same change of behaviour was done for org-open-at-point from on commit d75fa9febc676af4893fba9e4d53d5babbb801aa Author: Nicolas Goaziou Date: Sun Mar 2 10:32:51 2014 +0100 for timestamp, any link and footnote-reference (perhaps other I'm not sure). For example of a link: [[link][description]]x If cursor was at position x the old behaviour of org-return (hitting ) was to open a new line, and position the cursor at the beginning of the new line. The old behaviour of org-open-at-point was to say "no link". For me this seems consistent because if you go with the cursor over position x you see no hint and mouse-click do nothing. You have to go over the link to see face changing and be able to mouse-click top follow the link. Additonally description of org-open-at-point say "... When point is on a link, follow it....", not "on or after". Also if you insert a link by yanking or org-insert-link cursor is positioned directly after inserted link, cursor pos x s.o. With old behaviour you can behaviour you can straight hit to get a newline. With new behaviour you have to add space before or call open-line and position the cursor. For me the new behaviour seems inconsistend itself because everytime I want to get a new line I noew have to check if cursor is positioned right after a timestamp, or link. Or I have to shutoff org-return-follows-link. Are there any other org'ers with opinions about this behaviour? I'm really interested in your and others opinion about this behaviours before building some workarounds for me personally. (Perhaps I have overseen something in the big pictures?) With kind regards, Stefan P.S. Excue me if not being subtle enough, its difficult to me beeing subtle in a foreign language. -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.