--- Begin Message ---
Subject: |
24.3.50; `isearch-filter-visible' obsolescence |
Date: |
Tue, 25 Jun 2013 09:49:25 -0700 (PDT) |
I use `isearch-filter-visible' in my code. Recently, you have made it
obsolete. The `make-obsolete' sexp is not helpful/accurate, AFAICT. It
says only that `isearch-filter-visible' is replaced by
`isearch-invisible':
(make-obsolete 'isearch-filter-visible 'isearch-invisible "24.4")
That is definitely not true. For one thing, the former is a function
and the latter is a variable.
The proper replacement is given in the source code:
(or (eq search-invisible t)
(not (isearch-range-invisible beg end)))
It is that information that needs to be conveyed in the obsolescence
message.
In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
of 2013-06-20 on ODIEONE
Bzr revision: 113100 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
CPPFLAGS=-Ic:/Devel/emacs/include'
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#14712: 24.3.50; `isearch-filter-visible' obsolescence |
Date: |
Tue, 25 Jun 2013 14:31:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
tags 14712 notabug
thanks
> The proper replacement is given in the source code:
> (or (eq search-invisible t)
> (not (isearch-range-invisible beg end)))
> It is that information that needs to be conveyed in the obsolescence
> message.
No, the obsolescence message only points to the other
variable/function/feature with which you can obtain similar results.
It's generally not a drop-in replacement.
Stefan
--- End Message ---