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

From: Noam Postavsky <[email-masked]>
Date: Wed, 01 May 2019 07:40:31 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: Stefan Monnier <[email-masked]>

>> PS: To fix this quirk, we should change buffer-invisibility-spec's
>> default value to nil (or `(t)`, maybe) instead of t.

(t) makes sense, I'd say.

> That'd be confusing, IMO.  If we need to change some of the semantics
> of buffer-invisibility-spec,

It's not a change to semantics though, just the default value.  And
starting from the current default of t, if some code does
(add-to-invisibility-spec 'foo) followed by
(remove-from-invisibility-spec 'foo) you get (t), so arguably just
starting from there in the first place makes things less confusing than
they are now.