all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Bastien <bzg@altern.org>
Cc: 16493@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: Tue, 18 Nov 2014 11:48:00 -0500	[thread overview]
Message-ID: <jwv1tp0laqg.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87h9xw7puw.fsf@bzg.ath.cx> (Bastien's message of "Tue, 18 Nov 2014 11:41:27 +0100")

>>>> 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.
>>> What do you mean by "truly invisible"?  Does that refer to text that's
>>> marked with an `invisible' text-property (as opposed to an overlay with
>>> that property)?
>> I guess Bastien meant toggling the value of `buffer-invisibility-spec'
>> while isearch is active.  Let's wait for Bastien to confirm this.
> Yes, I do confirm, thanks Juri.

Sounds confused.  I'm asking "how is it made invisible" and you answer by
referencing some way to make it visible.  All forms of invisible are
affected by buffer-invisibility-spec.

> I think the default behavior should be to open both invisible-with-a
> -text-property and invisible-within-an-overlay areas when performing
> a search-and-replace.

So, IIUC you're indeed talking about the text made invisible by
a text-property rather than an overlay, right?

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.


        Stefan





  reply	other threads:[~2014-11-18 16:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-19 14:55 bug#16493: 24.3.50; (setq search-invisible t) is useless, let's allow to turn visible-mode temporarily on Bastien Guerry
2014-01-21  7:57 ` Juri Linkov
2014-01-21 11:15   ` Bastien
2014-01-21 11:19     ` Bastien
2014-01-21 13:54     ` Stefan Monnier
2014-01-21 14:20       ` Bastien
2014-11-05 15:30         ` Stefan Monnier
2014-11-09 19:30           ` Juri Linkov
2014-11-18 10:41             ` Bastien
2014-11-18 16:48               ` Stefan Monnier [this message]
2014-11-19  8:53                 ` Bastien
2018-04-28 14:28                   ` Bastien
2018-04-28 18:11                     ` Stefan Monnier
2018-04-29  9:50                       ` Bastien
2019-04-30  4:34                         ` Noam Postavsky
2019-04-30  5:06                           ` Eli Zaretskii
2019-04-30 11:15                             ` Noam Postavsky
2019-04-30 12:13                           ` Stefan Monnier
2019-04-30 12:24                             ` Noam Postavsky
2019-04-30 12:45                               ` Stefan Monnier
2019-04-30 15:21                                 ` Eli Zaretskii
2019-05-01 11:40                                   ` Noam Postavsky
2019-05-01 17:02                                     ` Eli Zaretskii
2019-05-01 17:29                                       ` Stefan Monnier
2019-05-11 15:27                                       ` Noam Postavsky
2019-05-11 15:50                                         ` Eli Zaretskii
2019-05-11 20:06                                           ` Stefan Monnier
2019-05-12  4:23                                             ` Eli Zaretskii
2019-05-12 15:35                                               ` Stefan Monnier
2019-05-12 15:59                                                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv1tp0laqg.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=16493@debbugs.gnu.org \
    --cc=bzg@altern.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.