GNU bug report logs - #16493
24.3.50; (setq search-invisible t) is useless, let's allow to turn visible-mode temporarily on

Previous Next

Package: emacs;

Reported by: Bastien Guerry <bzg <at> altern.org>

Date: Sun, 19 Jan 2014 14:57:01 UTC

Severity: normal

Found in version 24.3.50

Full log


View this message in rfc822 format

From: Bastien <bzg <at> gnu.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Juri Linkov <juri <at> jurta.org>, 16493 <at> debbugs.gnu.org
Subject: bug#16493: 24.3.50; (setq search-invisible t) is useless, let's allow to turn visible-mode temporarily on
Date: Sat, 28 Apr 2018 16:28:41 +0200
Hi Stefan and Juri,

reviving an old bug that continues to bug me.

The very frequent use-case I have is with (setq search-invisible t)
when I try to query-replace a string that's within an org-mode link.

I wish the content of the link could be displayed.

Bastien <bzg <at> altern.org> writes:

>> I'm fine with making isearch "reveal" those as well.  Of course, "how"
>> is an important question: tweaking buffer-invisibility-spec means that
>> we don't just reveal the part of the text we're interested in, but all
>> other parts hidden in the same way as well.  An alternative would be to
>> temporarily remove the text-property.
>
> Removing just the text property seems cleaner.

I guess this solution, though nice, is tricky to implement.  And
thinking about this again, I'd be fine with buffer-invisibility-spec
set to nil temporarily.

What do you think?  If you're okay with the buffer-invisibility-spec
solution, shall I go ahead and try to implement it?

Thanks,

-- 
 Bastien




This bug report was last modified 6 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.