emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing.el PS preview creates world-readable files in /tmp


From: Vinicius Jose Latorre
Subject: Re: printing.el PS preview creates world-readable files in /tmp
Date: Mon, 15 Nov 2004 17:29:56 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a4) Gecko/20040927

Hi Glenn,


> Two other trivial things I noticed:
>
> line 3885: "pr-gs-switches" should be "pr-ps-switches", I guess
> line 4003: typo - `postcsript-options'

Indeed, both are typos.


> Also, PS printing does not seem to work:
>
> emacs -q --no-site-file
> (require 'printing)
> (pr-ps-buffer-print 1)
>
> fails to print, with the following message in the *Printing Command
> Output* buffer:
>
> /usr/bin/lpr ("" "-Plp2" "/tmp/prspool.ps")
> lpr: Unable to access "" - No such file or directory
> Exit status: 1
>
> There is an extra "" from somewhere that is messing things up.
>
> Possibly relevant variables (as initialized by printing.el):
> pr-ps-command  = "lpr"
> pr-ps-printer  = "lp2"
> pr-ps-switches = nil

Ok, I've just fixed in Emacs CVS.


Thanks for your report,


Vinicius





reply via email to

[Prev in Thread] Current Thread [Next in Thread]