From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Viewing PDFs as text? Date: Wed, 19 Mar 2008 11:09:39 +0100 Message-ID: <871w676n4s.fsf@member.fsf.org> References: <7599507d-11a4-4e93-974f-5d7aa924b152@e6g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205921694 1450 80.91.229.12 (19 Mar 2008 10:14:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 10:14:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Roland Winkler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 11:15:23 2008 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 1JbvK7-0006Nn-3Q for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 11:15:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbvJW-00046C-Jc for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 06:14:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbvF0-0002Im-NL for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 06:09:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbvEw-0002HN-OL for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 06:09:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbvEv-0002Gx-Ut for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 06:09:46 -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 1JbvEv-0007pb-FM for help-gnu-emacs@gnu.org; Wed, 19 Mar 2008 06:09:45 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 06E77D846B; Wed, 19 Mar 2008 06:09:45 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 19 Mar 2008 06:09:45 -0400 X-Sasl-enc: F8dUlsXzDpUelsTSSV5DpvNjXJiq+zR085k69E1pb/3Q 1205921383 Original-Received: from localhost (dslb-084-063-059-184.pools.arcor-ip.net [84.63.59.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A0D2A2D990; Wed, 19 Mar 2008 06:09:40 -0400 (EDT) In-Reply-To: (Roland Winkler's message of "Tue, 18 Mar 2008 23:47:05 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:52529 Archived-At: Roland Winkler writes: Hi Roland, > would it make sense to have a variable like `doc-view-default-action' > so that I can open a pdf file in a tty and get immediately the text > buffer? That could be done, but I don't think it would be a good idea, because it opens a new buffer that has nothing to do with doc-view and that could confuse users. And IMO C-x C-f /path/to/file RET C-c C-t isn't too hard to type. BTW, if you only use emacs in a terminal and don't use doc-view at all, there's a package named txutils [1] that will fit your needs better. Bye, Tassilo __________ [1] http://www.mail-archive.com/gnu-emacs-sources@gnu.org/msg01129.html