From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: isearch for doc-view.el Date: Mon, 05 Nov 2007 16:20:41 -0500 Message-ID: References: <7gk5p448xq.fsf@fencepost.gnu.org> <87wst33g0o.fsf@baldur.tsdh.de> <87pryv3eew.fsf@baldur.tsdh.de> <87k5p3qisa.fsf@baldur.tsdh.de> <87ejfbqdb4.fsf@baldur.tsdh.de> <87y7dhv89p.fsf@jurta.org> <87ejf8kxwg.fsf@baldur.tsdh.de> <87sl3koq9k.fsf_-_@baldur.tsdh.de> <87fxzk4dbd.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194297670 32761 80.91.229.12 (5 Nov 2007 21:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 21:21:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 05 22:21:14 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ip9Na-0001iv-71 for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 22:21:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip9NP-00034L-4e for ged-emacs-devel@m.gmane.org; Mon, 05 Nov 2007 16:20:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ip9NK-00032p-9x for emacs-devel@gnu.org; Mon, 05 Nov 2007 16:20:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ip9NI-000311-No for emacs-devel@gnu.org; Mon, 05 Nov 2007 16:20:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip9NI-00030q-KT for emacs-devel@gnu.org; Mon, 05 Nov 2007 16:20:48 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ip9NI-0000dk-CK for emacs-devel@gnu.org; Mon, 05 Nov 2007 16:20:48 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 742A32CF53C; Mon, 5 Nov 2007 16:20:46 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 182233FE0; Mon, 5 Nov 2007 16:20:42 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 035196CA9B; Mon, 5 Nov 2007 16:20:41 -0500 (EST) In-Reply-To: <87fxzk4dbd.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Mon, 05 Nov 2007 22:01:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82599 Archived-At: > After spending quite some time to make isearch working I have given up. > It seems to be rather complicated, so I only changed the current search > facility to use an isearch-like UI. Now you hit C-s and enter the > regexp and each additional C-s or C-r jumps to the next/previous match. > To enter a new regexp, you have to provide a prefix arg to C-s or C-r. The patch you sent earlier seemed to work (more or less), so please add a big comment in the code describing as much as you can of your experience: what you did and what were the problems you encountered. > Then I tried fixing the auto-compression-mode bug Reiner poined out in > . Because I could not find > an elegant solution to work with compressed files transparently I took a > trivial approach: doc-view-mode now offers to save the uncompressed > file somewhere and then this file is viewed. A possibly related problem is when the buffer's content is not in-sync with the file's: doc-view "should" then show the rendition of the buffer's content rather than the file's. Stefan