[Top][All Lists]

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

ps-print-buffer and emacs 26

From: George McNinch
Subject: ps-print-buffer and emacs 26
Date: Sat, 29 Apr 2017 13:18:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)


For what it is worth:

I noticed that ps-print-buffer doesn't work for me in emacs-26,
though it is fine in emacs-25.

(Actually, this has been true for at least a few weeks, but e.g. it is true for a fairly recent compile of 26.0.50.)


start emacs (/usr/local/bin/emacs-26) via:

emacs-26 -Q


C-u M-x ps-print-buffer <RET> ~/Desktop/foo.ps <RET>

yields a skeletal postscript file foo.ps with no content, no matter the buffer content that should have been printed.

I diffed ....share/emacs/26.0.50/lisp/ps-print.el.gz

with ....share/emacs/25.2.50/lisp/ps-print.el.gz

and more-or-less the only difference was the

-*- lexical-binding: t -*-
bit on the first line.

And indeed, after making a copy of ps-print.el.gz, I deleted this "lexical-binding" setting, deleted the .elc file, restarted emacs-26 and now ps-print-buffer seems to work as expected.

I fumbled around a bit, but couldn't really work out more specifically what is breaking...

All the best,

oOo George McNinch

reply via email to

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