help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: doc-view.el now allows searching


From: Bill Clementson
Subject: Re: doc-view.el now allows searching
Date: Fri, 31 Aug 2007 17:28:14 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Hi Tassilo,

Tassilo Horn <tassilo@member.fsf.org> writes:

> Bill Clementson <billclem@gmail.com> 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





reply via email to

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