From: Bill Clementson <billclem@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: doc-view.el now allows searching
Date: Fri, 31 Aug 2007 13:29:57 -0700 [thread overview]
Message-ID: <m01wdjfnwa.fsf@gmail.com> (raw)
In-Reply-To: 87lkbrd2bm.fsf@baldur.tsdh.de
Hi Tassilo,
Tassilo Horn <tassilo@member.fsf.org> writes:
> Bill Clementson <billclem@gmail.com> writes:
>>> Now I display the line containing the match at the bottom. It's
>>> possible that you have to delete the TXT files from the cache,
>>> because this required a new option to pdftotext, so that the lines in
>>> the PDF match the lines in the TXT file.
>>
>> Great - that looks really nice.
>
> Yippie!
>
> 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)?
>> I tried some searches on a number of different files and they almost
>> all worked fine. However, when I tried searching Peter Seibel's
>> Practical Common Lisp PDF book (free download from Apress:
>> http://www.apress.com/free/index.html), there were mismatches between
>> the page that was displayed and the matching text. The page number
>> corresponded to the page number that was displayed; however, the
>> search term wasn't on the page. The line containing the match was
>> displayed correctly; however, it was for a page later in the
>> document. This seemed to happen for any searches I did of the PCL pdf
>> file.
>
> 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?
- Bill
next prev parent reply other threads:[~2007-08-31 20:29 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87wsvnfoyp.fsf@baldur.tsdh.de>
2007-08-22 20:28 ` doc-view.el --- View PDF/PostStript/DVI files in Emacs Reiner Steib
[not found] ` <mailman.5132.1187810757.32220.gnu-emacs-sources@gnu.org>
[not found] ` <87zm0i6gq2.fsf@gnu.org>
[not found] ` <87d4xe6f6z.fsf@gnu.org>
[not found] ` <mailman.5174.1187854510.32220.gnu-emacs-sources@gnu.org>
[not found] ` <87zm0hq6kz.fsf@gnu.org>
[not found] ` <87hcmoc1tg.fsf@baldur.tsdh.de>
[not found] ` <m0ir7448cj.fsf@gmail.com>
[not found] ` <87d4xcoxyn.fsf@baldur.tsdh.de>
[not found] ` <mailman.5331.1188079187.32220.gnu-emacs-sources@gnu.org>
2007-08-26 5:18 ` Stefan Monnier
2007-08-26 6:34 ` Bill Clementson
2007-08-26 13:49 ` Martin Rubey
2007-08-26 16:55 ` Tassilo Horn
[not found] ` <m0ejhr46ol.fsf@gmail.com>
[not found] ` <878x7ylhdk.fsf@baldur.tsdh.de>
[not found] ` <m0y7fyjhwv.fsf@gmail.com>
[not found] ` <87fy26gn55.fsf@baldur.tsdh.de>
[not found] ` <m0tzqmjev6.fsf@gmail.com>
[not found] ` <m04pilk28l.fsf@gmail.com>
[not found] ` <874pil8f2m.fsf@baldur.tsdh.de>
2007-08-27 16:07 ` Bill Clementson
[not found] ` <mailman.5478.1188334117.32220.help-gnu-emacs@gnu.org>
2007-08-29 7:06 ` Tassilo Horn
2007-08-29 14:41 ` Bill Clementson
[not found] ` <45D3FC07-69EB-471D-9502-BF208EAFBC79@Web.DE>
[not found] ` <m0bqcsejqq.fsf@gmail.com>
2007-08-29 23:42 ` Xavier Maillard
[not found] ` <mailman.36.1188431692.18990.help-gnu-emacs@gnu.org>
2007-08-30 7:16 ` Tassilo Horn
[not found] ` <mailman.5410.1188230840.32220.help-gnu-emacs@gnu.org>
[not found] ` <87odgsjef5.fsf@baldur.tsdh.de>
[not found] ` <slrnfd7sum.ucr.joostkremers@j.kremers4.news.arnhem.chello.nl>
[not found] ` <87absbg53e.fsf@baldur.tsdh.de>
2007-08-29 16:25 ` Joost Kremers
2007-08-29 19:36 ` Tassilo Horn
2007-08-29 21:44 ` Joost Kremers
2007-08-30 7:14 ` Tassilo Horn
2007-08-30 9:37 ` Joost Kremers
2007-08-30 11:52 ` doc-view.el now allows searching (was: doc-view.el --- View PDF/PostStript/DVI files in Emacs) Tassilo Horn
2007-08-30 17:25 ` Bill Clementson
2007-08-30 22:02 ` doc-view.el blog posting Bill Clementson
2007-09-02 1:00 ` Xavier Maillard
2007-09-02 5:09 ` Bill Clementson
2007-09-03 1:00 ` Xavier Maillard
[not found] ` <mailman.159.1188709811.18990.help-gnu-emacs@gnu.org>
2007-09-02 8:32 ` Tassilo Horn
2007-09-03 0:41 ` Bill Clementson
2007-09-03 11:15 ` Peter Dyballa
2007-09-03 18:58 ` Bill Clementson
2007-09-03 21:00 ` Peter Dyballa
2007-09-03 23:04 ` Bill Clementson
2007-09-05 1:10 ` Bill Clementson
2007-09-03 1:00 ` Xavier Maillard
[not found] ` <mailman.77.1188511380.18990.help-gnu-emacs@gnu.org>
2007-08-31 7:47 ` Tassilo Horn
2007-08-31 1:00 ` doc-view.el now allows searching (was: doc-view.el --- View PDF/PostStript/DVI files in Emacs) Xavier Maillard
[not found] ` <mailman.83.1188525985.18990.help-gnu-emacs@gnu.org>
2007-08-31 7:42 ` doc-view.el now allows searching Tassilo Horn
2007-09-02 8:21 ` Xavier Maillard
[not found] ` <mailman.72.1188494731.18990.help-gnu-emacs@gnu.org>
2007-08-31 7:55 ` Tassilo Horn
2007-08-31 16:44 ` Bill Clementson
2007-08-31 13:02 ` Tassilo Horn
2007-08-31 16:38 ` Bill Clementson
2007-08-31 19:06 ` Peter Dyballa
2007-08-31 20:56 ` Bill Clementson
[not found] ` <mailman.123.1188587537.18990.help-gnu-emacs@gnu.org>
2007-08-31 20:16 ` Tassilo Horn
[not found] ` <mailman.117.1188578356.18990.help-gnu-emacs@gnu.org>
2007-08-31 17:46 ` Tassilo Horn
2007-08-31 20:29 ` Bill Clementson [this message]
[not found] ` <mailman.124.1188592219.18990.help-gnu-emacs@gnu.org>
2007-08-31 21:54 ` Tassilo Horn
2007-09-01 0:28 ` Bill Clementson
[not found] ` <mailman.128.1188606528.18990.help-gnu-emacs@gnu.org>
2007-09-01 8:32 ` Tassilo Horn
2007-09-01 17:45 ` Bill Clementson
[not found] ` <mailman.135.1188668772.18990.help-gnu-emacs@gnu.org>
2007-09-01 21:59 ` Tassilo Horn
2007-09-02 0:42 ` Bill Clementson
[not found] ` <mailman.146.1188693912.18990.help-gnu-emacs@gnu.org>
2007-09-02 8:58 ` Tassilo Horn
2007-09-03 0:30 ` Bill Clementson
2007-09-03 1:00 ` Xavier Maillard
[not found] ` <mailman.203.1188785343.18990.help-gnu-emacs@gnu.org>
2007-09-03 11:12 ` Tassilo Horn
2007-09-04 1:00 ` Xavier Maillard
2007-08-31 11:55 ` doc-view.el now allows searching (was: doc-view.el --- View PDF/PostStript/DVI files in Emacs) Joost Kremers
2007-08-31 14:42 ` doc-view.el now allows searching Tassilo Horn
2007-08-31 15:27 ` Joost Kremers
2007-08-31 15:38 ` Joost Kremers
2007-08-31 17:15 ` Tassilo Horn
2007-08-29 21:50 ` doc-view.el --- View PDF/PostStript/DVI files in Emacs Bill Clementson
[not found] ` <mailman.20.1188424257.18990.help-gnu-emacs@gnu.org>
2007-08-30 7:09 ` Tassilo Horn
2007-08-30 7:51 ` Tassilo Horn
2007-08-30 17:15 ` Daniel Jensen
2007-08-30 17:34 ` Tassilo Horn
2007-08-29 23:42 ` Xavier Maillard
[not found] ` <mailman.35.1188431691.18990.help-gnu-emacs@gnu.org>
2007-08-30 0:14 ` Joost Kremers
2007-08-31 1:00 ` Xavier Maillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m01wdjfnwa.fsf@gmail.com \
--to=billclem@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.