From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: [RFC] Change visibility for bracket links Date: Fri, 14 Oct 2016 11:24:07 -1000 Message-ID: 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> <87vawuvgyy.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv9xu-0005na-0n for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 17:24:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv9xq-00038M-QF for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 17:24:29 -0400 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:51533) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bv9xq-00037R-I0 for emacs-orgmode@gnu.org; Fri, 14 Oct 2016 17:24:26 -0400 In-reply-to: <87vawuvgyy.fsf@fastmail.fm> 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: Joost Kremers Cc: emacs-orgmode@gnu.org, =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Aloha Joost, Joost Kremers writes: > 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. Agreed. Also, mousing over the folded text shows the unfolded text in the minibuffer. All the best, Tom -- Thomas S. Dye http://www.tsdye.com