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: Tassilo Horn
Subject: Re: doc-view.el now allows searching
Date: Sat, 01 Sep 2007 10:32:54 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Bill Clementson <billclem@gmail.com> writes:

Hi Bill,

> I'll have to start thinking up some harder enhancements - you whip
> these out too quickly! ;-)

Maybe I could start introducing some little bugs in the meantime and the
one who reports first gets a candy.

>> Could you please upload the doc.txt somewhere?
>
> I uploaded it to: http://bc.tech.coop/doc.txt

Ok, the difference in paging was that your newer version puts something
like this for an empty page:

,----
| before empty page
| ^J^J
| after empty page
`----

whereas my older version makes that

,----
| before empty page
| ^J
| ^J
| after empty page
`----

So I simply had to change the regexp for increasing the pagenumber.  The
old one always matched to the end of line and so ^J^J increased the
pageno by one instead of two.

I tested it with your doc.txt and mine and both seem to work as
expected.
-- 
            Wenn Windows die Lösung ist, kann ich dann bitte
                       das Problem zurück haben?


reply via email to

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