emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Todays exercise of sanity (or does "see" really match "not"?)


From: Juri Linkov
Subject: Re: Todays exercise of sanity (or does "see" really match "not"?)
Date: Thu, 24 Mar 2005 02:19:59 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)

>     Info-search operates on plain text Info files without text properties
>     set by Info-fontify.
>
> How does that happen?  Does Info-fontify sometimes fail to be called?

Info-search searches the text on plain unfontified Info files (sometimes
fontification remains on parts of the Info file with visited nodes where
fontification was done, but search should work for general case with
unfontified Info files) and when it finds it narrows the Info file buffer
to the found node and calls `Info-fontify' on that node.

Fontifying the whole Info file before starting the search only for the
sake of putting text properties to help Info-search to find the text
that will be invisible after fontification is too costly operation.

Info-search should anticipate what text will be invisible (or will be
replaced by the `display' property).  To do this it should use rules
similar to rules used by `Info-fontify' and skip the text that
`Info-fontify' will make invisible.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]