From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Clementson Newsgroups: gmane.emacs.help Subject: Re: doc-view.el now allows searching Date: Sat, 01 Sep 2007 10:45:45 -0700 Message-ID: References: <87wsvnfoyp.fsf@baldur.tsdh.de> <874pil8f2m.fsf@baldur.tsdh.de> <87odgsjef5.fsf@baldur.tsdh.de> <87absbg53e.fsf@baldur.tsdh.de> <878x7ujfov.fsf@baldur.tsdh.de> <87odgptrwx.fsf@baldur.tsdh.de> <877indtf1o.fsf_-_@baldur.tsdh.de> <87zm075022.fsf@baldur.tsdh.de> <87lkbrd2bm.fsf@baldur.tsdh.de> <87d4x3s731.fsf@baldur.tsdh.de> <87k5ravl8p.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188668793 6334 80.91.229.12 (1 Sep 2007 17:46:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 17:46:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 01 19:46:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRX3D-0002Vv-2p for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 19:46:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRX3C-0007fp-Cc for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 13:46:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRX2w-0007fQ-JJ for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 13:46:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRX2u-0007fD-2v for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 13:46:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRX2t-0007fA-U5 for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 13:46:07 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IRX2t-0006j3-GV for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 13:46:07 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IRX2p-0001wX-6D for help-gnu-emacs@gnu.org; Sat, 01 Sep 2007 19:46:03 +0200 Original-Received: from s010600095bf8da6e.vn.shawcable.net ([24.87.84.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2007 19:46:03 +0200 Original-Received: from billclem by s010600095bf8da6e.vn.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Sep 2007 19:46:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: s010600095bf8da6e.vn.shawcable.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:XQU/MDtbDpUux5F8FwInkgcDmCk= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47066 Archived-At: Hi Tassilo, Tassilo Horn writes: > Bill Clementson 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