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 --- View PDF/PostStript/DVI files in Emacs Date: Mon, 27 Aug 2007 09:07:00 -0700 Message-ID: References: <87wsvnfoyp.fsf@baldur.tsdh.de> <87zm0i6gq2.fsf@gnu.org> <87d4xe6f6z.fsf@gnu.org> <87zm0hq6kz.fsf@gnu.org> <87hcmoc1tg.fsf@baldur.tsdh.de> <87d4xcoxyn.fsf@baldur.tsdh.de> <878x7ylhdk.fsf@baldur.tsdh.de> <87fy26gn55.fsf@baldur.tsdh.de> <874pil8f2m.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 1188230997 31811 80.91.229.12 (27 Aug 2007 16:09:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 16:09:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 27 18:09:54 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 1IPh9y-000768-70 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2007 18:09:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPh9x-0004oW-LR for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2007 12:09:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPh7X-0001bD-H9 for help-gnu-emacs@gnu.org; Mon, 27 Aug 2007 12:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPh7V-0001Yk-K8 for help-gnu-emacs@gnu.org; Mon, 27 Aug 2007 12:07:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPh7V-0001YS-6Z for help-gnu-emacs@gnu.org; Mon, 27 Aug 2007 12:07:17 -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 1IPh7U-0001RD-P0 for help-gnu-emacs@gnu.org; Mon, 27 Aug 2007 12:07:16 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IPh7Q-0000fh-UQ for help-gnu-emacs@gnu.org; Mon, 27 Aug 2007 18:07:13 +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 ; Mon, 27 Aug 2007 18:07:12 +0200 Original-Received: from billclem by s010600095bf8da6e.vn.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Aug 2007 18:07:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 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:2JMeL4C0uzOBoF3YLn4j6tGY1NQ= 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:46893 Archived-At: Hi Tassilo, Tassilo Horn writes: > Bill Clementson writes: >> Just another small point - you use process-file-shell-command in >> doc-view.el but that command is only available in recent CVS emacs and >> not in 22.1. You might want to consider using process-file instead. > > No, that's not possible. `process-file' wants a PROGRAM whereas > `process-file-shell-command' accepts a whole command line. Because the > somewhat strange order dvipdfm accepts its aruments it seems to be not > doable with `process-file' and its arguments. > > But I can use `shell-command' (and I do it now). In the conversion of doc-view-convert-doc, you made a typo: doc-view-conversion-buffed should be doc-view-conversion-buffer Also, I suggested using C-n and C-p to scroll the image. You changed the bindings of C-v and M-v to scroll the image and added C-n and M-p to do next/previous page. I think my suggested bindings are closer to what people would expect (e.g. - C-v would move to the next page while C-n would move down in the current page). In any case, if you decide to keep the existing bindings, you should probably at least change M-p to C-p. > BTW: We really should move the discussion to gnu.emacs.help now. I've sent this followup to the emacs help newsgroup. > Bye, > Tassilo > -- > My software never has bugs. It just develops random features. The random feature this time was breaking on dvi generation. ;-) - Bill