all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
@ 2017-04-22  3:41 Michael Heerdegen
  2017-04-22  7:56 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Heerdegen @ 2017-04-22  3:41 UTC (permalink / raw)
  To: 26600


Hello,

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.


Thanks in advance,

Michael.



In GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-04-22 built on drachen
Repository revision: d812d20fbc3e1eff0f10443baed801adda9031cd
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:	Debian GNU/Linux 9.0 (stretch)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
  2017-04-22  3:41 bug#26600: 26.0.50; Compiled ps-print.el is non-functional Michael Heerdegen
@ 2017-04-22  7:56 ` Eli Zaretskii
  2017-04-22  8:12   ` Vibhav Pant
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2017-04-22  7:56 UTC (permalink / raw)
  To: Michael Heerdegen, Vibhav Pant; +Cc: 26600

> 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 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?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
  2017-04-22  7:56 ` Eli Zaretskii
@ 2017-04-22  8:12   ` Vibhav Pant
  2017-04-22 16:40     ` Vibhav Pant
  0 siblings, 1 reply; 6+ messages in thread
From: Vibhav Pant @ 2017-04-22  8:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Michael Heerdegen, 26600

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

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" <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 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?
>

[-- Attachment #2: Type: text/html, Size: 1646 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
  2017-04-22  8:12   ` Vibhav Pant
@ 2017-04-22 16:40     ` Vibhav Pant
  2017-04-22 19:29       ` Eli Zaretskii
  2017-04-23  2:24       ` Michael Heerdegen
  0 siblings, 2 replies; 6+ messages in thread
From: Vibhav Pant @ 2017-04-22 16:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Michael Heerdegen, 26600

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Sat, Apr 22, 2017 at 1:42 PM, Vibhav Pant <vibhavp@gmail.com> wrote:
> 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?
>

My bad, this was another bug (argh) in bytecomp.el to do with singleton
clauses in cond. I've pushed a fix to master for this, and
(ps-spool-buffer-with-faces)
seems to work as intended, with the output postscript attached. Could
you verify this?

Thanks,
Vibhav

-- 
Vibhav Pant
vibhavp@gmail.com

[-- Attachment #2: scratch.ps --]
[-- Type: application/postscript, Size: 34814 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
  2017-04-22 16:40     ` Vibhav Pant
@ 2017-04-22 19:29       ` Eli Zaretskii
  2017-04-23  2:24       ` Michael Heerdegen
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2017-04-22 19:29 UTC (permalink / raw)
  To: Vibhav Pant; +Cc: michael_heerdegen, 26600

> From: Vibhav Pant <vibhavp@gmail.com>
> Date: Sat, 22 Apr 2017 22:10:29 +0530
> Cc: 26600@debbugs.gnu.org, Michael Heerdegen <michael_heerdegen@web.de>
> 
> My bad, this was another bug (argh) in bytecomp.el to do with singleton
> clauses in cond. I've pushed a fix to master for this, and
> (ps-spool-buffer-with-faces)
> seems to work as intended, with the output postscript attached. Could
> you verify this?

Seems to work here, thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#26600: 26.0.50; Compiled ps-print.el is non-functional
  2017-04-22 16:40     ` Vibhav Pant
  2017-04-22 19:29       ` Eli Zaretskii
@ 2017-04-23  2:24       ` Michael Heerdegen
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Heerdegen @ 2017-04-23  2:24 UTC (permalink / raw)
  To: Vibhav Pant; +Cc: 26600-done

Vibhav Pant <vibhavp@gmail.com> writes:

> My bad, this was another bug (argh) in bytecomp.el to do with
> singleton clauses in cond. I've pushed a fix to master for this, and
> (ps-spool-buffer-with-faces) seems to work as intended, with the
> output postscript attached. Could you verify this?

Yes, it works again for me as well.

Thanks for your efforts!


Regards,

Michael. 





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-23  2:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-22  3:41 bug#26600: 26.0.50; Compiled ps-print.el is non-functional Michael Heerdegen
2017-04-22  7:56 ` Eli Zaretskii
2017-04-22  8:12   ` Vibhav Pant
2017-04-22 16:40     ` Vibhav Pant
2017-04-22 19:29       ` Eli Zaretskii
2017-04-23  2:24       ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.