From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Doc-view as default viewer for pdf, ps and dvi files Date: Thu, 18 Oct 2007 10:28:11 +0200 Message-ID: <87zlygsu78.fsf@baldur.tsdh.de> References: <87bqbhkhc6.fsf@baldur.tsdh.de> <58152.128.165.0.81.1191330286.squirrel@webmail.lanl.gov> <878x6ljwb4.fsf@baldur.tsdh.de> <87fy0r2u3z.fsf@baldur.tsdh.de> <87wsu1sear.fsf@baldur.tsdh.de> <878x6gqqfa.fsf@baldur.tsdh.de> <87ve9jhifi.fsf@jurta.org> <87d4vpwqo3.fsf@baldur.tsdh.de> <87ir5h4cz1.fsf@jurta.org> <87zlys8xud.fsf@baldur.tsdh.de> <878x6cq7ky.fsf@jurta.org> <87r6k2l9sr.fsf_-_@baldur.tsdh.de> <878x61nx3k.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192696187 15897 80.91.229.12 (18 Oct 2007 08:29:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Oct 2007 08:29:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 18 10:29:47 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 1IiQlC-0008GM-6y for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 10:29:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiQl5-0004IR-7t for ged-emacs-devel@m.gmane.org; Thu, 18 Oct 2007 04:29:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IiQjs-0002q4-63 for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:28:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IiQjn-0002kE-EU for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:28:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IiQjn-0002jw-4B for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:28:15 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IiQjm-0001kf-JU for emacs-devel@gnu.org; Thu, 18 Oct 2007 04:28:14 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 4746732B2A for ; Thu, 18 Oct 2007 04:28:14 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 18 Oct 2007 04:28:14 -0400 X-Sasl-enc: bRNUvYCRcQ/yhVsQfIlyqHKOZG8gq3c1rz0esg2J/ckU 1192696093 Original-Received: from baldur.tsdh.de (dslb-084-063-061-048.pools.arcor-ip.net [84.63.61.48]) by mail.messagingengine.com (Postfix) with ESMTP id 7685B16B for ; Thu, 18 Oct 2007 04:28:13 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAAsSAAALEgHS3X78 AAAACXZwQWcAAAAwAAAAMADO7oxXAAABRUlEQVRo3u2asQ1CMQxEPRjzMAEtFRITMAAbsARjILEK Be3Pl5Oc7Qtc4wZE4pdzHNvY8fC4vk+yLWtCIEACJEACJEACJEACJAsBdH7dnveLAG3g2Efz/fT3 8JlfNX7L4BhqbwBAnApCHaTlLFMFaN4LQwUX8z0CA4QC4fl+FdZeHw2llNatNJ/1IlB2A0IpqDff ea781rpjAT6oIB5AveAWAxSNKecIwwHVYsImfkNtIjqIUHvrXcWw58MZXDO/abVOsgWs6yXNhoYO ECemKl1LQaPFqgCFA8I2rvIfB90NM1QFP198jr2Yy6YaY4/9zLaGxj6aiwlQaPgU30G1/cAFFLTf ZvWkZ9Q0ImKUYJnNcOZiODXNM9tUQFXuLQAos0O4pIL+Ac3U/4M8M6w4ZP51KUqNuPaFx+HoXKZS Q4AESIAq7QehBVaRG6uhLAAAACZ6VFh0Q29tbWVudAAAeNpzLkpNLElNUSjPLMlQCMlIVXD39A0A AFLnByOQy2VwAAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwIAADMAM4k4IzUAAAAmelRYdGpw ZWc6c2FtcGxpbmctZmFjdG9yAAB42jOqMNIxrDAEYQARgwLpPZcvTwAAAABJRU5ErkJggg== Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <878x61nx3k.fsf@jurta.org> (Juri Linkov's message of "Thu, 18 Oct 2007 02:34:31 +0300") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:81142 Archived-At: Juri Linkov writes: > I still have doubts that `C-c C-e' is necessary. Isn't it possible to > put .ps files in ps-mode, and also put it in `doc-view-minor-mode'? > It would be like `image-minor-mode'. Delayed. If someone else wants to implement that, feel free to do so. > Also rebinding `C-x k' to a different command is not a good thing. > When the user has a habit to type `C-x k RET' to kill the current > buffer, then if a pdf file was visited from the dired buffer, typing > `C-x k RET' in doc-view-mode will visit it again (rebound `C-x k' will > kill the buffer without confirmation, and RET will revisit from the > dired buffer :-) > > I suggest you to bind `q' to `doc-view-kill-proc-and-buffer' and don't > rebind `C-x k'. I removed the `C-x k' binding but still use `k' for `doc-view-kill-proc-and-buffer' because I like `q' to bury-buffer. > Also I noticed that often the message > "DocView: finished conversion from PDF/PS to PNG!" > overwrites the message > "Type C-c C-c to toggle between image and text display." > in the minibuffer, so the user may miss this information. I deleted all messages that became superfluous due to mode-line-process. See my message <874pgou8xm.fsf@baldur.tsdh.de>. Bye, Tassilo