[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
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/09/01
- Re: doc-view.el now allows searching,
Bill Clementson <=
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/09/01
- Re: doc-view.el now allows searching, Bill Clementson, 2007/09/01
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/09/02
- Re: doc-view.el now allows searching, Bill Clementson, 2007/09/02
- Re: doc-view.el now allows searching, Xavier Maillard, 2007/09/02
- Message not available
- Re: doc-view.el now allows searching, Tassilo Horn, 2007/09/03
- Re: doc-view.el now allows searching, Xavier Maillard, 2007/09/03