From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Todays exercise of sanity (or does "see" really match "not"?) Date: Thu, 24 Mar 2005 02:19:59 +0200 Organization: JURTA Message-ID: <87y8cdewpc.fsf@jurta.org> References: <002301c52e18$c9b014a0$0200a8c0@sedrcw11488> <200503211349.j2LDnxX12741@raven.dms.auburn.edu> <003401c52e20$d6f79c70$0200a8c0@sedrcw11488> <87hdj4vppf.fsf@jurta.org> <87br9begh1.fsf@jurta.org> <877jjy4ij3.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111624227 31690 80.91.229.2 (24 Mar 2005 00:30:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2005 00:30:27 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 24 01:32:56 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEGHL-0002h9-Rv for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2005 01:32:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEGWX-0002rD-2w for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2005 19:48:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DEGW5-0002oo-P7 for emacs-devel@gnu.org; Wed, 23 Mar 2005 19:48:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DEGVz-0002kt-IP for emacs-devel@gnu.org; Wed, 23 Mar 2005 19:47:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEGVz-0002jz-4W for emacs-devel@gnu.org; Wed, 23 Mar 2005 19:47:59 -0500 Original-Received: from [194.126.101.98] (helo=MXR-3.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DEGCQ-0003eD-6u; Wed, 23 Mar 2005 19:27:46 -0500 Original-Received: from mail.neti.ee (80-235-34-194-dsl.mus.estpak.ee [80.235.34.194]) by MXR-3.estpak.ee (Postfix) with ESMTP id 52567137A60; Thu, 24 Mar 2005 02:27:45 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 23 Mar 2005 15:26:00 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:35076 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35076 > 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/