From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: Re: [RFC] Change visibility for bracket links Date: Fri, 14 Oct 2016 22:00:21 +0200 Message-ID: <87vawuvgyy.fsf@fastmail.fm> References: <87bmyyold3.fsf@nicolasgoaziou.fr> <87fuo7bm5j.fsf@alphapapa.net> <11075f37-d56a-da83-dca7-f33b98001062@gmail.com> <87k2dgffvf.fsf@gmail.com> <0a5cd7af-0655-2ed4-073c-d7ab54afd757@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv8es-0001zS-Kn for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 16:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv8eo-0003gQ-TR for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 16:00:45 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58651) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bv8em-0003ae-7j for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 16:00:42 -0400 In-reply-to: <0a5cd7af-0655-2ed4-073c-d7ab54afd757@gmail.com> 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 On Mon, Oct 10 2016, Clément Pit--Claudel wrote: > Agreed. I'd be curious to get feedback from users of > prettify-symbols-mode, too. And to know whether your objections > apply as strongly to just revealing the brackets when the point > is on them (not when they are being moused over) I don't use prettify-symbols-mode, but I am a fairly heavy user of AUCTeX's TeX-fold-mode, which hides all sorts of LaTeX code (and can be customised to hide even more in quite sophisticated ways). For example, it shows This is some \textit{emphasised} text. as This is some emphasised text. with the word "emphasised" in a different colour (to indicate that it's been folded) and with whatever fontification the argument of the \textit macro gets (italicised by default). Now, TeX-fold-mode has the behaviour you mention: as soon as you move point (not the mouse cursor) "into" some folded text, it gets unfolded (with | indicating point): This is some |\textit{emphasised} text. with the part "\textit{emphasised}" highlighted to indicate that it's actuall folded. Personally, I'm a *big* fan of this behaviour, even though I use visual-line-mode in my LaTeX buffers, which means that when text is temporarily unfolded, the paragraph may rewrap (and wrap back when point leaves the unfolded text causing it to be folded again). Since there is visual feedback (from the font colour) that some word or stretch of text is folded, I know that the text will unfold when I move point into it, so I don't find it distracting. The fact that the rest of the paragraph may rewrap is also not an issue for me, because I'm not actually focussing on that part of the text. Personally, I've also always found it annoying in Org that editing around links (or emphasis etc. with `org-hide-emphasis-markers' set to t) is unpredictable and I never really understood why functionality similar to TeX-fold-mode hadn't been implemented. I thinks it's a very straightforward and easy to understand method for indicating which character point is actually on, making editing much more comfortable. Just my €0.02, of course. -- Joost Kremers Life has its moments