From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vibhav Pant Newsgroups: gmane.emacs.bugs Subject: bug#26600: 26.0.50; Compiled ps-print.el is non-functional Date: Sat, 22 Apr 2017 13:42:27 +0530 Message-ID: References: <87fuh1yuql.fsf@drachen> <83h91gri2i.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f031a554d4a054dbcef6e X-Trace: blaine.gmane.org 1492848794 2014 195.159.176.226 (22 Apr 2017 08:13:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2017 08:13:14 +0000 (UTC) Cc: Michael Heerdegen , 26600@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 10:13:08 2017 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 1d1qAE-0000L3-AA for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 10:13:06 +0200 Original-Received: from localhost ([::1]:34661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1qAK-0008LQ-6T for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 04:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1qAD-0008L5-Ql for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 04:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1qAA-0004A6-LN for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 04:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1qAA-00049z-HO for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 04:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1qAA-0001Cb-6h for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 04:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vibhav Pant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2017 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26600 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26600-submit@debbugs.gnu.org id=B26600.14928487554589 (code B ref 26600); Sat, 22 Apr 2017 08:13:02 +0000 Original-Received: (at 26600) by debbugs.gnu.org; 22 Apr 2017 08:12:35 +0000 Original-Received: from localhost ([127.0.0.1]:33162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1q9j-0001Bx-GT for submit@debbugs.gnu.org; Sat, 22 Apr 2017 04:12:35 -0400 Original-Received: from mail-yw0-f173.google.com ([209.85.161.173]:36736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1q9h-0001Bj-JW for 26600@debbugs.gnu.org; Sat, 22 Apr 2017 04:12:34 -0400 Original-Received: by mail-yw0-f173.google.com with SMTP id l18so1930876ywh.3 for <26600@debbugs.gnu.org>; Sat, 22 Apr 2017 01:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vyiLGig40WBvS2NVZK4fdti52hOYGd8ZSkdGLvevyIQ=; b=iDBj5s3ppW+qruwA1PqPO7uIdPhBEhhwktEEd0CBSPF+nVrcVVe4qbZofQfYBlA4S2 vJ7AuomxhdW7QTkQVeLhTOfIm9Jgjpz+5qg7qMraY1XJPmeCVE5uwfhbQAvPJfsJl8Bs pW31A9K5TgzLIsmmy6EqKUw+8Sh7KEuLVvw/d0H8uMTCzTT+zTI9iAEa4hK3kpbrt0v+ lIsfzIOu4NiFPSApnUQ+5XKqZ66GZKGpnaik3dbdzG9ARVY/GeGhZkIQ/OBAy/y9AKKo xVDptDBzVIxTnE0YDwk1Q5LxMmVGvk6WIdUNrP5pxF2H71K+DPme3vVPzZoFgjujWJjK n+WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vyiLGig40WBvS2NVZK4fdti52hOYGd8ZSkdGLvevyIQ=; b=d+idF3L1wvFn05qyIbXlIHfLtJMT6Rx2zjp0SQMnMFBHu/hmuqFi2KgXQ8JMylTvRi R5YnQKPQBpx9ebPr2a6aoekYKjoejAi0jm30aLKHB1i8sc7lqAjq69j1hJyA0VHAUwRb 7rgHvW2DrefyfKFrEpvST/8ybc5GIlUKORCSzQmavmgDT9kKBve3FbcqaACoESiEoiY2 1JnoEDowx62wy4BJZmi0Xys4FwTZuKS0FAaR9nANxAJeSbWh+GJ/yiA7RMJe08UttbbR V9pTa89aoViPjlLSyM/gcELycRAjl7ojnntru8Ir2vRwQOTQ4zFY6nBCssBeW7cb/Ei5 M4mQ== X-Gm-Message-State: AN3rC/6jPB+bFveuRtzOTlCpfPA1gthj0rVIBttslvJZ3oeUQspmPwR3 QoE2vTCk3fkiOSRCgIvkTXQ9Le7y7w== X-Received: by 10.129.141.82 with SMTP id w18mr395270ywj.139.1492848748077; Sat, 22 Apr 2017 01:12:28 -0700 (PDT) Original-Received: by 10.129.117.85 with HTTP; Sat, 22 Apr 2017 01:12:27 -0700 (PDT) Original-Received: by 10.129.117.85 with HTTP; Sat, 22 Apr 2017 01:12:27 -0700 (PDT) In-Reply-To: <83h91gri2i.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:131856 Archived-At: --f403045f031a554d4a054dbcef6e Content-Type: text/plain; charset=UTF-8 A certain bytecode bug which might have caused this was fixed just recently. Could you try `make bootstrap` and see whether the issue still persists? On 22-Apr-2017 1:26 PM, "Eli Zaretskii" wrote: > > From: Michael Heerdegen > > Date: Sat, 22 Apr 2017 05:41:22 +0200 > > > > ps-print.el has become non-functional for me in compiled form since some > > time (days? weeks? ... not much longer). It produces only empty .ps > > documents. > > > > Here is a very simple recipe for emacs -Q (from *scratch*): > > > > M-: (require 'ps-print) RET > > > > M-: (ps-spool-buffer-with-faces) RET > > > > Switch to the buffer *Post Script*. The created document ends with > > > > > > | BeginDoc > > | %%EndSetup > > | > > | %%Trailer > > | %%Pages: 0 > > | > > | EndDoc > > | > > | %%EOF > > > > If I save the buffer to a .ps file and open it with a viewer, I get a > > blank page. > > > > Now I repeat the recipe with the source file ps-print.el loaded. I get > > the expected result this time. Hmm. > > Does the problem go away if you byte-compile ps-print.el with Emacs > 25? > --f403045f031a554d4a054dbcef6e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A certain bytecode bug which might have caused this was f= ixed just recently. Could you try `make bootstrap` and see whether the issu= e still persists?

On 22-Apr-2017 1:26 PM, "Eli Zaretskii" <eliz@gnu.org> wrote:
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Date: Sat, 22 Apr 2017 05:41:22 +0200
>
> ps-print.el has become non-functional for me in compiled form since so= me
> time (days?=C2=A0 weeks? ... not much longer).=C2=A0 It produces only = empty .ps
> documents.
>
> Here is a very simple recipe for emacs -Q (from *scratch*):
>
> M-: (require 'ps-print) RET
>
> M-: (ps-spool-buffer-with-faces) RET
>
> Switch to the buffer *Post Script*.=C2=A0 The created document ends wi= th
>
>
> | BeginDoc
> | %%EndSetup
> |
> | %%Trailer
> | %%Pages: 0
> |
> | EndDoc
> |
> | %%EOF
>
> If I save the buffer to a .ps file and open it with a viewer, I get a<= br> > blank page.
>
> Now I repeat the recipe with the source file ps-print.el loaded.=C2=A0= I get
> the expected result this time.=C2=A0 Hmm.

Does the problem go away if you byte-compile ps-print.el with Emacs
25?
--f403045f031a554d4a054dbcef6e--