From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: link interfering with brackets when abbreviated Date: Wed, 26 Feb 2014 23:54:49 +0100 Message-ID: <87vbw11o3q.fsf@bzg.ath.cx> References: <87ppm9sxoh.fsf@gmail.com> <87lhwxswby.fsf@gmail.com> <87ha7lsu5o.fsf@gmail.com> <8761o1n63t.fsf@bzg.ath.cx> <8738j5snms.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WInNe-0003SF-Du for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 17:55:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WInNZ-0005sl-JL for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 17:55:10 -0500 Received: from rs249.mailgun.us ([209.61.151.249]:60184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WInNZ-0005rH-DF for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 17:55:05 -0500 In-Reply-To: <8738j5snms.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 26 Feb 2014 20:02:51 +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: Nicolas Goaziou Cc: Michael Brand , Org Mode Hi Nicolas, Nicolas Goaziou writes: > As I said, the "end of line" is not a structural unit. Implementing that > "feature", which, I must admit, I find cheesy, back will be fragile and > confusing. > > For example, white spaces after an object still belong to an > object. Well, this is counterintuitive. > So in the following case: > > [[http://orgmode.org]] [[http://duckduckgo.com]] > > using C-c C-o between the two links will open the first one, but there: > > [[http://orgmode.org]] and [[http://duckduckgo.com]] > > C-c C-o on the "and" will open the second one. This current behavior is surprising too here, and only predictable for users who know that whitespaces are part of the previous object -- i.e. nobody. > Also in the following example: > > [fn:1] This is some text [[http://orgmode.org]] > > C-c C-o on "some" currently triggers `org-footnote-action' since point > is in a footnote definition. Which is counterintuitive too! > But with the behaviour you describe, it would be hard to predict > whether it should move to the link or still open the footnote. Let me describe the behavior I favor: C-c C-o opens the link at point (i.e. "the link that the cursor is visibly on") or the next link on the same line. When on a headline and if there are several links on the same line, prompt the user for which one she wants to visit. I find it very simple and predictable. > There are many other examples. This "convenient feature" is > unpredictable and not worth implementing back (not counting the fact > that it wouldn't be totally trivial to do properly). Sorry, but the current behavior feels just too wrong. -- Bastien