From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: [RFC] Change visibility for bracket links Date: Wed, 05 Oct 2016 18:46:59 +0200 Message-ID: <8460p6u4jg.fsf@gmail.com> References: <87bmyyold3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brpMI-0002lo-T7 for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 12:47:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brpMD-00027k-Tb for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 12:47:53 -0400 Received: from [195.159.176.226] (port=55239 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brpMD-00025w-Mt for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 12:47:49 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1brpLz-0006cO-AT for emacs-orgmode@gnu.org; Wed, 05 Oct 2016 18:47:35 +0200 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > I'd like to make the following change to bracket links display (i.e., > when `org-highlight-links' contains `bracket', which is the default). > > Basically, I want to leave a visible pair of brackets around the link, > i.e., > > [[uri][description]] > > is displayed as > > [description] > [omission] > The cost a little more visual clutter, but it seems very acceptable to > me. I attach a quick patch for testing. > > Feedback welcome. +1 I think there is an issue with the coloring when writing text immediately to the right of a file link. E.g. [[file:shot.png]]text Regards, -- Marco