unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24367: 25.1.50; ps-print-buffer-with-faces
@ 2016-09-05  0:12 Andrés Ramírez
  2016-09-05 15:06 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Andrés Ramírez @ 2016-09-05  0:12 UTC (permalink / raw)
  To: 24367


Hi. The function "ps-print-buffer-with-faces" is not working as it was
working in previous versions of emacs.

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:

See those files:
1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps

2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf

3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps

4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt



In GNU Emacs 25.1.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2016-07-31 built on wari
Repository revision: cafb4a391b74e193d5807348fb3ee849c6acdde9
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:	Arch Linux

Recent messages:
Inserting group gwene ...done
Inserting group gmane ...done
Parsing BBDB...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done
Preparing diary...done

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=lucid --mandir=/usr/share/man
 --pdfdir=/usr/share/doc/emacs --with-sound --without-gconf --with-xft
 --without-xwidgets 'CFLAGS=-march=i686 -mtune=generic -O2 -pipe
 -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS LUCID X11 LIBSYSTEMD

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Folder

Minor modes in effect:
  diff-auto-refine-mode: t
  display-time-mode: t
  delete-selection-mode: t
  jabber-activity-mode: t
  which-function-mode: t
  iswitchb-mode: t
  savehist-mode: t
  show-paren-mode: t
  global-hl-line-mode: t
  erc-services-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/emacspeak/sounds/3d/define-theme hides /usr/share/emacs/site-lisp/emacspeak/sounds/classic/define-theme
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/md4 hides /usr/share/emacs/25.1.50/lisp/md4
/usr/share/emacs/site-lisp/emacspeak/lisp/dom hides /usr/share/emacs/25.1.50/lisp/dom
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/hex-util hides /usr/share/emacs/25.1.50/lisp/hex-util
/usr/share/emacs/site-lisp/emacspeak/lisp/tetris hides /usr/share/emacs/25.1.50/lisp/play/tetris
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/sasl-ntlm hides /usr/share/emacs/25.1.50/lisp/net/sasl-ntlm
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/hmac-md5 hides /usr/share/emacs/25.1.50/lisp/net/hmac-md5
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/sasl-digest hides /usr/share/emacs/25.1.50/lisp/net/sasl-digest
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/sasl-cram hides /usr/share/emacs/25.1.50/lisp/net/sasl-cram
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/ntlm hides /usr/share/emacs/25.1.50/lisp/net/ntlm
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/sasl hides /usr/share/emacs/25.1.50/lisp/net/sasl
/home/aramirez/.emacs.d/elpa/flim-20160311.1537/hmac-def hides /usr/share/emacs/25.1.50/lisp/net/hmac-def
/usr/share/emacs/site-lisp/emacspeak/lisp/subr-x hides /usr/share/emacs/25.1.50/lisp/emacs-lisp/subr-x

Features:
(shadow mailalias mail-extr emacsbug message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader
org-colview view cal-china lunar solar cal-dst cal-bahai cal-islam
cal-hebrew holidays hol-loaddefs vc-git diff-mode diary-lib
diary-loaddefs cal-iso org-element org-rmail org-mhe org-irc org-info
org-gnus gnus-util rmail rmail-loaddefs org-docview doc-view jka-compr
image-mode org-bibtex bibtex org-bbdb org-w3m org-agenda network-stream
puny nsm subr-x elmo-maildir modb-legacy modb-standard mime-setup
mail-mime-setup semi-setup mime-image my-wl-secondary-setup elmo-nntp
wl-spam elmo-spam elsp-header elsp-generic wl-fldmgr wl-score smtp
wl-demo wl-address pldap wl-thread wl-action wl wl-e21 wl-draft
wl-template wl-summary ps-print ps-print-loaddefs ps-def lpr wl-refile
wl-message wl-mime pgg pgg-parse pgg-def epa derived epg mime-play
filename mime-edit eword-encode sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils elmo-mime mmelmo-buffer mmelmo-imap
mime-view mime-conf calist semi-def mmimap mime-parse mmbuffer
wl-highlight elmo-filter elmo-multi wl-folder wl-util time-stamp
elmo-pop3 elmo-net elmo-cache elmo-map elmo-dop elmo-flag elmo-localdir
wl-vars wl-version elmo elmo-signal elmo-msgdb modb modb-generic
modb-entity mime mmgeneric elmo-util emu invisible inv-23 poem poem-e20
poem-e20_3 eword-decode mel mime-def alist mcharset mcs-20 mcs-e20 pces
pces-e20 pces-20 pcustom elmo-date elmo-vars path-util elmo-version luna
std11 pccl pccl-20 ccl broken poe pym static apel-ver product
my-noexternals time org-wl org org-macro org-footnote org-pcomplete
org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func
cal-menu calendar cal-loaddefs server delsel emms-get-lyrics my-wl-setup
my-jabber-setup netrc jabber jabber-notifications notifications
jabber-libnotify dbus jabber-awesome jabber-osd jabber-wmii
jabber-xmessage jabber-festival jabber-sawfish jabber-ratpoison
jabber-tmux jabber-screen jabber-socks5 jabber-ft-server
jabber-si-server jabber-ft-client jabber-ft-common jabber-si-client
jabber-si-common jabber-feature-neg jabber-truncate jabber-time
jabber-autoaway jabber-vcard-avatars jabber-chatstates jabber-events
jabber-vcard jabber-avatar jabber-activity jabber-watch jabber-modeline
jabber-ahc-presence jabber-ahc jabber-version jabber-ourversion
jabber-muc-nick-completion hippie-exp jabber-browse jabber-search
jabber-register jabber-roster jabber-presence jabber-muc
jabber-bookmarks jabber-private jabber-muc-nick-coloring hexrgb
jabber-widget jabber-disco jabber-chat jabber-history jabber-chatbuffer
jabber-alert jabber-iq jabber-core jabber-console sgml-mode ewoc
jabber-keymap jabber-sasl sasl sasl-anonymous sasl-login sasl-plain fsm
jabber-logon jabber-conn srv dns starttls tls gnutls jabber-xml
jabber-menu jabber-util hydra lv emms-librefm-stream xml
emms-librefm-scrobbler emms-playlist-limit emms-volume
emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info
emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon
emms-browser sort emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics emms-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap emms-streams emms-show-all emms-tag-editor emms-mark
emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info
later-do emms-playlist-mode emms-player-vlc emms-player-mplayer
emms-player-simple emms-source-playlist emms-source-file locate dired
dired-loaddefs emms-setup emms emms-compat key-chord bbdb-sc supercite
easy-mmode regi bbdb-wanderlust bbdb-mua bbdb-com crm mailabbrev bbdb
bbdb-site timezone finder-inf bbdb-autoloads chess-autoloads
color-theme-solarized-autoloads color-theme-autoloads company-autoloads
debbugs-autoloads emms-autoloads hydra-autoloads jabber-autoloads
key-chord-autoloads w3m-autoloads wanderlust-autoloads semi-autoloads
flim-autoloads apel-autoloads wgrep-autoloads package epg-config
url-handlers url-parse url-vars mbsync rx my-misc-setup ido seq
which-func iswitchb savehist paren hl-line my-erc-setup erc-services
erc-sasl erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete
pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit
erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat
format-spec auth-source eieio eieio-core eieio-loaddefs password-cache
pp my-defuns-setup cl-seq cl-macs imenu thingatpt info-look info
google-c-style gtags cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs cl gv edmacro kmacro
byte-opt bytecomp byte-compile cl-extra help-mode easymenu cl-loaddefs
pcase cl-lib cconv advice lemas-public time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win
x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 8 584939 19955)
 (symbols 24 58288 0)
 (miscs 20 1204 974)
 (strings 16 134005 162221)
 (string-bytes 1 3897364)
 (vectors 8 46851)
 (vector-slots 4 886490 2732)
 (floats 8 1232 626)
 (intervals 28 1204 77)
 (buffers 520 24)
 (heap 1024 46180 3357))





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

* bug#24367: 25.1.50; ps-print-buffer-with-faces
  2016-09-05  0:12 bug#24367: 25.1.50; ps-print-buffer-with-faces Andrés Ramírez
@ 2016-09-05 15:06 ` Eli Zaretskii
  2016-09-05 15:13   ` Andrés Ramírez
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-05 15:06 UTC (permalink / raw)
  To: Andrés Ramírez; +Cc: 24367

> From: sunshavi@fastmail.fm (Andrés Ramírez)
> Date: Sun, 04 Sep 2016 19:12:12 -0500
> 
> 
> Hi. The function "ps-print-buffer-with-faces" is not working as it was
> working in previous versions of emacs.
> 
> 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:
> 
> See those files:
> 1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps
> 
> 2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf
> 
> 3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps
> 
> 4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt

Looks like Emacs doesn't find etc/ps-prin0.ps for some reason.  What
does the following yield in Emacs, after loading ps-print?

  M-: ps-postscript-code-directory RET

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.

Emacs is supposed to insert a warning message into *Messages* if it
doesn't find that file -- did you see such a message there?





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

* bug#24367: 25.1.50; ps-print-buffer-with-faces
  2016-09-05 15:06 ` Eli Zaretskii
@ 2016-09-05 15:13   ` Andrés Ramírez
  2016-09-05 15:41   ` Andrés Ramírez
  2016-09-05 16:17   ` Andrés Ramírez
  2 siblings, 0 replies; 6+ messages in thread
From: Andrés Ramírez @ 2016-09-05 15:13 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24367

Hi.

>   M-: ps-postscript-code-directory RET

returns nil
On Mon, 05 Sep 2016 10:06:28 -0500,
Eli Zaretskii wrote:
> 
> > From: sunshavi@fastmail.fm (Andrés Ramírez)
> > Date: Sun, 04 Sep 2016 19:12:12 -0500
> > 
> > 
> > Hi. The function "ps-print-buffer-with-faces" is not working as it was
> > working in previous versions of emacs.
> > 
> > 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:
> > 
> > See those files:
> > 1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps
> > 
> > 2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf
> > 
> > 3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps
> > 
> > 4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt
> 
> Looks like Emacs doesn't find etc/ps-prin0.ps for some reason.  What
> does the following yield in Emacs, after loading ps-print?
> 
>   M-: ps-postscript-code-directory RET
> 
> 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.
> 
> Emacs is supposed to insert a warning message into *Messages* if it
> doesn't find that file -- did you see such a message there?





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

* bug#24367: 25.1.50; ps-print-buffer-with-faces
  2016-09-05 15:06 ` Eli Zaretskii
  2016-09-05 15:13   ` Andrés Ramírez
@ 2016-09-05 15:41   ` Andrés Ramírez
  2016-09-05 16:17   ` Andrés Ramírez
  2 siblings, 0 replies; 6+ messages in thread
From: Andrés Ramírez @ 2016-09-05 15:41 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24367

More info:

on emacs -Q (M-x apropos ps-postscript-code-directory RETURN)
--8<---------------cut here---------------start------------->8---
ps-postscript-code-directory’s value is
"/usr/share/emacs/25.1.50/etc/

Documentation:
Directory where it’s located the PostScript prologue file used by ps-print.
By default, this directory is the same as in the variable ‘data-directory’.

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’s value is nil

Documentation:
Directory where it’s located the PostScript prologue file used by ps-print.
By default, this directory is the same as in the variable ‘data-directory’.

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:
> 
> > From: sunshavi@fastmail.fm (Andrés Ramírez)
> > Date: Sun, 04 Sep 2016 19:12:12 -0500
> > 
> > 
> > Hi. The function "ps-print-buffer-with-faces" is not working as it was
> > working in previous versions of emacs.
> > 
> > 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:
> > 
> > See those files:
> > 1 https://transfer.sh/gpf6V/wl-message8-emacs-23.4.ps
> > 
> > 2 https://transfer.sh/10FYjK/wl-message8-emacs-23.4.pdf
> > 
> > 3 https://transfer.sh/KswKD/wl-message8-emacs-25.1.ps
> > 
> > 4 https://transfer.sh/WZZBN/error-when-running-ps2pdf.txt
> 
> Looks like Emacs doesn't find etc/ps-prin0.ps for some reason.  What
> does the following yield in Emacs, after loading ps-print?
> 
>   M-: ps-postscript-code-directory RET
> 
> 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.
> 
> Emacs is supposed to insert a warning message into *Messages* if it
> doesn't find that file -- did you see such a message there?





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

* bug#24367: 25.1.50; ps-print-buffer-with-faces
  2016-09-05 15:06 ` Eli Zaretskii
  2016-09-05 15:13   ` Andrés Ramírez
  2016-09-05 15:41   ` Andrés Ramírez
@ 2016-09-05 16:17   ` Andrés Ramírez
  2016-09-05 16:28     ` Eli Zaretskii
  2 siblings, 1 reply; 6+ messages in thread
From: Andrés Ramírez @ 2016-09-05 16:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24367

Hi.

I have removed my emacspeak installation. And Emacs is working as Emacs
should.
Please close the bug. Sorry for the noyse.

ps: I am thinking that emacspeak does not support old emacs
versions. That's the reason why some elisp does NOT run on 23.4 but in 25.1.





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

* bug#24367: 25.1.50; ps-print-buffer-with-faces
  2016-09-05 16:17   ` Andrés Ramírez
@ 2016-09-05 16:28     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2016-09-05 16:28 UTC (permalink / raw)
  To: Andrés Ramírez; +Cc: 24367-done

> From: Andrés Ramírez <sunshavi@fastmail.fm>
> Cc: 24367@debbugs.gnu.org
> Date: Mon, 05 Sep 2016 11:17:23 -0500
> 
> I have removed my emacspeak installation. And Emacs is working as Emacs
> should.
> Please close the bug.

Done.  Thanks.





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

end of thread, other threads:[~2016-09-05 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05  0:12 bug#24367: 25.1.50; ps-print-buffer-with-faces Andrés Ramírez
2016-09-05 15:06 ` Eli Zaretskii
2016-09-05 15:13   ` Andrés Ramírez
2016-09-05 15:41   ` Andrés Ramírez
2016-09-05 16:17   ` Andrés Ramírez
2016-09-05 16:28     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).