From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: Avoid following link when using org-return-follows-link and point is at end of line [8.3.2 (8.3.2-39-gd537a3-elpaplus @ /home/Erik/.emacs.d/elpa/org-plus-contrib-20151123/)] Date: Mon, 30 Nov 2015 16:04:05 +0100 Message-ID: <87k2oz4jh6.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Q0D-0005FJ-Ot for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 10:04:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Q0A-00056W-Fu for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 10:04:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:43414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Q0A-000555-9T for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 10:04:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1a3Q07-0008Lv-16 for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 16:04:23 +0100 Received: from 62.80.108.15 ([62.80.108.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2015 16:04:23 +0100 Received: from rasmus by 62.80.108.15 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2015 16:04:23 +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: emacs-orgmode@gnu.org Erik Anderson writes: > Not a bug per se, but a tweak to existing behavior which I think most > people would prefer. The option org-return-follows-link is wonderfully > convenient except when the point is at the end of the line where the > intention is usually to insert a carriage return. I don't think I understand the problem. Consider, * test [[test]] When I click enter on the link it goes to the expected place. When I click C-e RET on the second line it inserts a newline, which I guess is what you want? Can you give an example of how Your bug might relate to the fact that when using e.g. C-f you can end up with the cursor between the two closing brackets. But that’s a different problem and I doubt your patch would fix this problem, since that point is not the end of the line, though I haven’t tested it. Rasmus -- Got mashed potatoes. Ain't got no T-Bone. No T-Bone