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: Sat, 01 Sep 2007 10:45:45 -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:
>> 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.

I don't eat much candy, but I like beer!

>>> 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
> `----

You probably meant "^L", but, yes that makes sense. Glad it was an
easy thing to locate.

> 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.

Works fine now - thanks!

- Bill





reply via email to

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