[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55768: 26.3; isearch highlighting in dired
From: |
Juri Linkov |
Subject: |
bug#55768: 26.3; isearch highlighting in dired |
Date: |
Tue, 28 Jun 2022 20:37:06 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> In other words, this:
>
> ;; If the following character is currently invisible,
> ;; skip all characters with that same `invisible' property value.
> ;; Do that over and over.
> (while (and (< (point) end) (invisible-p (point)))
> (if (invisible-p (get-text-property (point) 'invisible))
>
> Is fine, but
>
> (eq (invisible-p (point))
> (invisible-p (get-text-property (point) 'invisible)))
>
> is always true.
I don't see how it's always true:
1. (invisible-p (point))
checks invisibility of both: text properties and overlays.
2. (invisible-p (get-text-property (point) 'invisible))
checks invisibility of text properties only.
3. (invisible-p (overlay-get o 'invisible))
checks invisibility of overlays only.
There is a need for a separate check because overlays
can be opened, whereas text properties can't.
- bug#55768: 26.3; isearch highlighting in dired, Thierry EMERY, 2022/06/02
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/02
- bug#55768: 26.3; isearch highlighting in dired, Juri Linkov, 2022/06/03
- bug#55768: 26.3; isearch highlighting in dired, Thierry EMERY, 2022/06/03
- bug#55768: 26.3; isearch highlighting in dired, Thierry EMERY, 2022/06/03
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/04
- bug#55768: 26.3; isearch highlighting in dired, Juri Linkov, 2022/06/28
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/28
- bug#55768: 26.3; isearch highlighting in dired,
Juri Linkov <=
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/29
- bug#55768: 26.3; isearch highlighting in dired, Juri Linkov, 2022/06/29
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/30
- bug#55768: 26.3; isearch highlighting in dired, Thierry EMERY, 2022/06/30
- bug#55768: 26.3; isearch highlighting in dired, Lars Ingebrigtsen, 2022/06/30