From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Clementson Newsgroups: gmane.emacs.help Subject: Re: doc-view.el now allows searching Date: Fri, 31 Aug 2007 17:28:14 -0700 Message-ID: References: <87wsvnfoyp.fsf@baldur.tsdh.de> <87fy26gn55.fsf@baldur.tsdh.de> <874pil8f2m.fsf@baldur.tsdh.de> <87odgsjef5.fsf@baldur.tsdh.de> <87absbg53e.fsf@baldur.tsdh.de> <878x7ujfov.fsf@baldur.tsdh.de> <87odgptrwx.fsf@baldur.tsdh.de> <877indtf1o.fsf_-_@baldur.tsdh.de> <87zm075022.fsf@baldur.tsdh.de> <87lkbrd2bm.fsf@baldur.tsdh.de> <87d4x3s731.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188606546 23065 80.91.229.12 (1 Sep 2007 00:29:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 00:29:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 02:29:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRGrH-0003M3-Fs for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 02:29:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRGrG-0004OA-Iy for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Aug 2007 20:29:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRGr0-0004KD-LQ for help-gnu-emacs@gnu.org; Fri, 31 Aug 2007 20:28:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRGqz-0004Ir-Rt for help-gnu-emacs@gnu.org; Fri, 31 Aug 2007 20:28:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRGqz-0004Ii-O0 for help-gnu-emacs@gnu.org; Fri, 31 Aug 2007 20:28:45 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IRGqz-0005v3-Ck for help-gnu-emacs@gnu.org; Fri, 31 Aug 2007 20:28:45 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IRGqn-0000dq-Hq for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 02:28:33 +0200 Original-Received: from s010600095bf8da6e.vn.shawcable.net ([24.87.84.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2007 02:28:33 +0200 Original-Received: from billclem by s010600095bf8da6e.vn.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2007 02:28:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s010600095bf8da6e.vn.shawcable.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:ydgrCr3XM56ZOH5UuxLkdiYy55U= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47048 Archived-At: Hi Tassilo, Tassilo Horn writes: > Bill Clementson writes: > >>> And it's even getting better: the search matches are now displayed in >>> the help-echo, too. >> >> Hey, that's really cool. But, I have to move the mouse in order to get >> the help-echo to display. Is there anyway to get the help-echo to >> display without the mouse (either automatically once you've done >> "C-S-n" or with a key)? > > For your pleasure: now C-t does that. Great - thanks! I'll have to start thinking up some harder enhancements - you whip these out too quickly! ;-) >>> I have that PDF and it works for me. Could you please delete the >>> doc.txt in the cache and try again? >>> >>> If it still doesn't work, please post your search regexp. >> >> Ok, I deleted the doc.txt file for PCL and did a "C-u doc-view" to >> re-generate the PDF; however, search still doesn't work properly with >> PCL. I just did a simple search for "mapcar". When I press "C-S-n", >> the first page it positions to is physical page 51 (page 25 in the >> book). However, "mapcar" isn't on that page. The first match is >> actually on physical page 57 (page 31 in the book) and that >> corresponds to the matching text that is displayed by doc-view for >> physical page 51 ("specify the values to change. The main new bit is >> the use of a function MAPCARthat maps over"). >> >> Presumably, if you search for "mapcar", you are positioned to physical >> page 57? > > Exactly. > > What's your pdftotext version? Mine is > > ,----[ pdftotext -v ] > | pdftotext version 3.00 > | Copyright 1996-2004 Glyph & Cog, LLC > `---- > > which comes with poppler-0.5.4. Mine is: ~/Projects/doc-view $ pdftotext -v pdftotext version 3.02 Copyright 1996-2007 Glyph & Cog, LLC > Could you please upload the doc.txt somewhere? I uploaded it to: http://bc.tech.coop/doc.txt - Bill