From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Behaviour of org-open-at-point and org-return (was commit 4e864643 breaks org-return) Date: Sat, 31 Oct 2015 23:38:54 +0100 Message-ID: <874mh6r7cx.fsf@nicolasgoaziou.fr> References: <20151022165708.GL12141@scotty.home> <20151023200734.GM12141@scotty.home> <87twphxlgx.fsf@nicolasgoaziou.fr> <20151024064847.GA14197@pille.home> <20151025164126.GC10154@scotty.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zsels-0004pN-21 for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 18:37:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zselr-0002nd-4I for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 18:37:11 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:41331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zselq-0002n3-TQ for emacs-orgmode@gnu.org; Sat, 31 Oct 2015 18:37:11 -0400 In-Reply-To: <20151025164126.GC10154@scotty.home> (Stefan-W. Hahn's message of "Sun, 25 Oct 2015 17:41:26 +0100") 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: "Stefan-W. Hahn" Cc: emacs-orgmode@gnu.org Hello "Stefan-W. Hahn" writes: > 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. Fixed in both `org-return' and `org-open-at-point'. Thank you. Regards, -- Nicolas Goaziou