From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Andr=C3=A9s_?= =?UTF-8?Q?Ram=C3=ADrez?= Newsgroups: gmane.emacs.bugs Subject: bug#24367: 25.1.50; ps-print-buffer-with-faces Date: Mon, 05 Sep 2016 10:41:18 -0500 Organization: fastmail Message-ID: <87mvjmtkv5.fsf@fastmail.fm> References: <87r38ztdb7.fsf@fastmail.fm> <83a8fmcrnw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1473090194 19487 195.159.176.226 (5 Sep 2016 15:43:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2016 15:43:14 +0000 (UTC) Cc: 24367@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 05 17:43:09 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgw33-0003jz-F8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Sep 2016 17:43:01 +0200 Original-Received: from localhost ([::1]:55461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgw31-0002UK-6T for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Sep 2016 11:42:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgw2B-0001zf-7K for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2016 11:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgw26-0001GG-7u for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2016 11:42:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgw26-0001G6-3f for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2016 11:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bgw25-0004kv-PR for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2016 11:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Andr=C3=A9s_?= =?UTF-8?Q?Ram=C3=ADrez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Sep 2016 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24367 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24367-submit@debbugs.gnu.org id=B24367.147309009218229 (code B ref 24367); Mon, 05 Sep 2016 15:42:01 +0000 Original-Received: (at 24367) by debbugs.gnu.org; 5 Sep 2016 15:41:32 +0000 Original-Received: from localhost ([127.0.0.1]:50514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgw1b-0004jv-Pf for submit@debbugs.gnu.org; Mon, 05 Sep 2016 11:41:31 -0400 Original-Received: from mail-yw0-f195.google.com ([209.85.161.195]:35461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgw1a-0004jk-Fs for 24367@debbugs.gnu.org; Mon, 05 Sep 2016 11:41:30 -0400 Original-Received: by mail-yw0-f195.google.com with SMTP id t137so3033048ywg.2 for <24367@debbugs.gnu.org>; Mon, 05 Sep 2016 08:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references:date :message-id:mime-version:content-transfer-encoding; bh=86DwkPnslsErHlN1r2uiXOl8jPkAM8OpUpgryRpYnFE=; b=g6uZVOHjQVG5EJDQxJHkaNJtolIb9riqIErGpfWUhiopHyRA9k0uxmXPpvCjAzpQJY jnmRrmwbekaRKKspyfPeBM7B8w9eXafoQkT9G6vqBGwhhWXmTK+BxVsIQtoz0j8uwfY8 IgC2gzP6ZTF3XRLF8UFiVeU94lyjl7Q3K6nzaLSpsDzBIpQ6AKzF4xkvl2fbcpqvj5rb hSWPGm+O1nysbFxj2xtRIybnvNA0EV4Ct0SMhQAMwHm1kYo9wnYsxghVBBU7qAJ33bGM nUUhXtR+SBCnj5kK0IBl3/WgQjxu4E5MCMYHUblRWc7kfrYXwq5IHpNfCTUlozuMmdDb w+fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to :organization:references:date:message-id:mime-version :content-transfer-encoding; bh=86DwkPnslsErHlN1r2uiXOl8jPkAM8OpUpgryRpYnFE=; b=TCK0WmWxnw2Dtx1WVdY8qrk9lZ6hlZLY71X5t/HUrLJl8adDs09txnwm+GGYDTbOUs qGfyLkOwrNnMyaWEnXqbFEpW5f5+Bj38ywto5NbDsm6bU8rbQhEtGGlEeFkvHnEFuaON RjKCl+Hfr7yEbAMZgH8F8k3Dt5UoxVVUihyTYJqLkyZ+2kM0+nbyGGlCXadjC9YZov0t +dHp/AItGMNUhqd3ECqBfpnP3/P5F+oGEDczkb7wruf4xbJ+D3mFY8u09g/S6WDNddul CpQv1zCly7Eto1LZ6acDtg9d3+UJISh0ISXassL1okqovA0J4jeTgoZCNrqz6Lem75Gn l4ew== X-Gm-Message-State: AE9vXwP2/uLCf5q9ZT3kxoSDl4xlVXx8QdQT3/ZO97C2xbpHGAqO274AJmt/vVYC79L0tA== X-Received: by 10.129.145.132 with SMTP id i126mr5987764ywg.35.1473090083128; Mon, 05 Sep 2016 08:41:23 -0700 (PDT) Original-Received: from wari.n800.arm.processor.fastmail.fm ([181.64.192.183]) by smtp.gmail.com with ESMTPSA id t11sm2683421ywf.20.2016.09.05.08.41.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Sep 2016 08:41:21 -0700 (PDT) In-Reply-To: <83a8fmcrnw.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122958 Archived-At: More info: on emacs -Q (M-x apropos ps-postscript-code-directory RETURN) --8<---------------cut here---------------start------------->8--- ps-postscript-code-directory=E2=80=99s value is "/usr/share/emacs/25.1.50/etc/ Documentation: Directory where it=E2=80=99s located the PostScript prologue file used by p= s-print. By default, this directory is the same as in the variable =E2=80=98data-dir= ectory=E2=80=99. You can customize this variable. This variable was introduced, or its default value was changed, in version 20 of Emacs. [back] --8<---------------cut here---------------end--------------->8--- The same on emacs with my dot emacs --8<---------------cut here---------------start------------->8--- ps-postscript-code-directory=E2=80=99s value is nil Documentation: Directory where it=E2=80=99s located the PostScript prologue file used by p= s-print. By default, this directory is the same as in the variable =E2=80=98data-dir= ectory=E2=80=99. You can customize this variable. This variable was introduced, or its default value was changed, in version 20 of Emacs. [back] --8<---------------cut here---------------end--------------->8--- I have searched the directory ".emacs.d" for the string "ps-postscript-code-directory" with no result. On Mon, 05 Sep 2016 10:06:28 -0500, Eli Zaretskii wrote: >=20 > > From: sunshavi@fastmail.fm (Andr=C3=A9s Ram=C3=ADrez) > > Date: Sun, 04 Sep 2016 19:12:12 -0500 > >=20 > >=20 > > Hi. The function "ps-print-buffer-with-faces" is not working as it was > > working in previous versions of emacs. > >=20 > > When I export a buffer from emacs 23.4 it generates right. (C-u M-x ps-= print-buffer-with-faces) > > Then I try to do the same with emacs 25.1 and when running the command > > (ps2pdf file.ps). it gives me an error. See files below: > >=20 > > See those files: > > 1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps > >=20 > > 2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf > >=20 > > 3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps > >=20 > > 4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt >=20 > Looks like Emacs doesn't find etc/ps-prin0.ps for some reason. What > does the following yield in Emacs, after loading ps-print? >=20 > M-: ps-postscript-code-directory RET >=20 > If it shows a valid existing directory (it should), please see if the > file ps-prin0.ps lives in that directory and its size is about 5KB. > If not, you need to figure out why it disappeared or got corrupted. >=20 > Emacs is supposed to insert a warning message into *Messages* if it > doesn't find that file -- did you see such a message there?