From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tekk Newsgroups: gmane.emacs.devel Subject: Re: strange "feature" Date: Sat, 13 Oct 2012 15:47:05 -0400 Message-ID: <20121013194705.GA26873@Wes.ec.rr.com> References: <20121013162016.GA10794@Wes.ec.rr.com> <83r4p25mqn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1350157636 10309 80.91.229.3 (13 Oct 2012 19:47:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 19:47:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 21:47:23 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TN7g6-0008Va-Bq for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2012 21:47:18 +0200 Original-Received: from localhost ([::1]:55819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN7fz-00008i-HB for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2012 15:47:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN7fx-00008X-RQ for emacs-devel@gnu.org; Sat, 13 Oct 2012 15:47:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN7fw-0001An-Sg for emacs-devel@gnu.org; Sat, 13 Oct 2012 15:47:09 -0400 Original-Received: from li281-170.members.linode.com ([173.255.255.170]:42677 helo=parlementum.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN7fw-0001Aj-Mi for emacs-devel@gnu.org; Sat, 13 Oct 2012 15:47:08 -0400 Original-Received: from localhost (cpe-071-077-203-175.ec.res.rr.com [71.77.203.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tekk) by parlementum.net (Postfix) with ESMTPSA id 8D18B281C3 for ; Sat, 13 Oct 2012 12:47:06 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83r4p25mqn.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 173.255.255.170 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154318 Archived-At: On Sat, Oct 13, 2012 at 07:02:24PM +0200, Eli Zaretskii wrote: > > Date: Sat, 13 Oct 2012 12:20:16 -0400 > > From: danny > > > > On Sat, Oct 13, 2012 at 04:58:27PM +0200, immanuel litzroth wrote: > > > Opening a pdf file in emacs works really well. If you then try to > > > print it it will happily > > > print out a gazilion of text pages -- the pdf code. This behaviour > > > seems strange in that is > > > is almost certainly not what the user wants (he can > > > find-file-literally and print that). > > > I'm on emacs 23.3.1. > > > Is there a way to print the pdf directly from emacs (as a pdf)? > > > Immanuel > > > > > I've had issues with this "feature" as well, they keep me from printing most things in emacs. Does anyone at least know of a fix for this?(I think it's to do with docview not actually overriding the default print function) > > If this is on MS-Windows, you should be able to print a PDF file with > this Lisp one-liner: > > (w32-shell-execute "print" "/path/to/file.pdf") > > This will work assuming that you have some program installed that can > display and print PDF files, and that this program is associated with > the .PDF extension. > No, sorry; I'm on debian. Also sorry for the bad from: line before, I thought that mutt would automatically pick up my smtp stuff but apparently not :)