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


Message #20 received at 16493 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> altern.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Juri Linkov <juri <at> jurta.org>, 16493 <at> debbugs.gnu.org
Subject: Re: bug#16493: 24.3.50;
 (setq search-invisible t) is useless, let's allow to turn
 visible-mode temporarily on
Date: Tue, 21 Jan 2014 15:20:34 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> E.g. replacing "www" by "ftp" is currently not possible in
>>   [[http://gnu.org][GNU]]
>> you have to manually turn visible-mode on.
>
> I don't understand the relationship between this problem and the subject
> of bug#16493.

I forgot to connect the dots.

When search-invisible is t, perform-replace can replace matches
in any invisible text, but does not display it when prompting the
user for confirmation.

When search-invisible is 'open, perform-replace can replace matches
only in hidden text (invisible through an overlay), and displays it
when prompting the user.

We lack a way to reveal truly invisible text when performing a search
and replace.  The URL of a bracket link in Org is an example of such
truly invisible text.

Juri's solution to add 'open-all could also be used in perform-replace
to let the user see truly invisible matches before replacing them.

So the *solutions* are related, if not the problems themselves.

-- 
 Bastien




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

Previous Next


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