From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Link "bracket-types" Date: Thu, 10 May 2018 11:41:00 +0200 Message-ID: References: <87a7t8q64z.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGi4M-0001e8-CV for emacs-orgmode@gnu.org; Thu, 10 May 2018 05:41:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGi4L-0004D5-8l for emacs-orgmode@gnu.org; Thu, 10 May 2018 05:41:02 -0400 Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:35347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGi4L-0004CF-3i for emacs-orgmode@gnu.org; Thu, 10 May 2018 05:41:01 -0400 Received: by mail-qt0-x236.google.com with SMTP id f5-v6so1716630qth.2 for ; Thu, 10 May 2018 02:41:01 -0700 (PDT) In-Reply-To: <87a7t8q64z.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode Hi Nicolas Thank you for looking into this. On Thu, May 10, 2018 at 10:14 AM, Nicolas Goaziou wrote: > Just move the mouse over them. A tooltip or the minibuffer will display > what the link is really. During my use case I don't care what URL the link opens. I want to know if there are brackets and even better when I know whether they are case 1 or 3/4. > True. This limitation is a feature. You cannot have parenthesis in plain > links even though they are technically allowed in URL. > > However, you could also use angle brackets. > > > > The advantage on angle brackets is that they make it clear there is no > description attached to the link, i.e., the brackets are visible when > fontified). You can also use angle brackets for a more prominent visual > clue. Good to know, I didn't (or forgot?). > I'm not sure to understand the problem you want to solve. What is > important is if the displayed part of a link is a description or the URL > itself, i.e., case 1. This is solved by hovering the mouse above the > link. The other cases are equivalent, barring the limitation from case > 2. My use case is different, see above, and I don't like to move point or mouse for my use case. I would like to have a visual indication like with org-descriptive-links nil which leads to this thought: Probably better than more faces would be to render case 1 like with org-descriptive-links t and case 3/4 like with org-descriptive-links nil. What would be the recommended way to do this? Could that become a new value beside the current t and nil for org-descriptive-links? Michael