From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Change visibility for bracket links Date: Fri, 07 Oct 2016 08:13:52 +0200 Message-ID: <87twcolm8v.fsf@nicolasgoaziou.fr> References: <87bmyyold3.fsf@nicolasgoaziou.fr> <520C9DD6-7764-4B07-8E7A-FB42CC0CDF8A@dagertech.net> <2B66CB76-BBC4-4345-A310-CD034130DA1D@dagertech.net> <8737kamo01.fsf@nicolasgoaziou.fr> <659b40e8-927b-0cb5-3bfa-a47426d5c5d8@dagertech.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsOPw-000814-0y for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 02:14:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsOPr-00040p-AE for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 02:13:58 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsOPr-0003zM-2y for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 02:13:55 -0400 In-Reply-To: (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Wed, 5 Oct 2016 20:27:53 -0400") 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: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Cc: emacs-orgmode@gnu.org Hello, Cl=C3=A9ment Pit--Claudel writes: > What about having our cake and eating it too? :) We could do just the > same as what prettify-symbols-mode does with its > prettify-symbols-unprettify-at-point variable. Namely, we could show > the brackets when point is at the edge of a link, and hide them > otherwise. The same trick could be applied to subscripts (I have > working code for that for a different project, at > https://github.com/cpitclaudel/company-coq/blob/master/company-coq.el#L42= 87). > > Wouldn't this preserve the flow of reading, while allowing for easier > editing? I have the feeling that it would cause some visual "jumping" when the link is very different (e.g., wider) than its visible pars. Some links tend to be very long. So showing the full link is not an option. I don't know about showing only the brackets. Would you want to provide a mock-up ? Thank you. Regards, --=20 Nicolas Goaziou