all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches'.
@ 2022-05-31  1:26 Antonio Ruiz
  2022-05-31 11:28 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Antonio Ruiz @ 2022-05-31  1:26 UTC (permalink / raw)
  To: 55733


Hello. The current implementation of the 'handwrite' function does not
pass 'ps-printer-name' nor 'ps-lpr-switches' to 'call-process-region'.
Moreover, 'ps-lpr-switches' can have dynamic arguments which compute the
switches at runtime. Therefore, I propose that we replace the current
printing facility in 'handwrite' with that from the 'ps-do-despool'
function of ps-print.el. I have copied the patch below:

diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el
index 14624ddce2..63f5736d26 100644
--- a/lisp/play/handwrite.el
+++ b/lisp/play/handwrite.el
@@ -1,5 +1,7 @@
 ;;; handwrite.el --- turns your emacs buffer into a handwritten document  -*- lexical-binding: t -*-
 
+(eval-when-compile (require 'ps-print))
+
 ;; Copyright (C) 1996, 2001-2022 Free Software Foundation, Inc.
 
 ;; Author: Danny Roozendaal (was: <danny@tvs.kun.nl>)
@@ -58,11 +60,6 @@
 
 ;;; Code:
 
-;; From ps-print.el
-(defvar ps-printer-name)
-(defvar ps-lpr-command)
-(defvar ps-lpr-switches)
-
 ;; Variables
 
 (defgroup handwrite nil
@@ -235,20 +232,15 @@ Variables: `handwrite-linespace'     (default 12)
     (while (search-forward "\f" nil t)
       (replace-match "" nil t) )
     (untabify textp (point-max))	; this may result in strange tabs
-    (if (y-or-n-p "Send this to the printer? ")
+    (when (y-or-n-p "Send this to the printer? ")
 	(progn
 	  (require 'ps-print)
 	  (let* ((coding-system-for-write 'raw-text-unix)
-		 (ps-printer-name (or ps-printer-name
-				      (and (boundp 'printer-name)
-					   printer-name)))
-		 (ps-lpr-switches
-		  (if (stringp ps-printer-name)
-		      (list (concat "-P" ps-printer-name)))))
-	    (apply (or (and (boundp 'ps-print-region-function)
-			    ps-print-region-function)
-		       'call-process-region)
-		   (point-min) (point-max) ps-lpr-command nil nil nil))))
+	       (printer-name (or ps-printer-name printer-name))
+               (lpr-printer-switch ps-printer-name-option)
+               (print-region-function ps-print-region-function)
+               (lpr-command ps-lpr-command))
+          (lpr-print-region (point-min) (point-max) ps-lpr-switches nil))))
     (message "")
     (bury-buffer ())
     (switch-to-buffer cur-buf)


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0)
 of 2022-05-30 built on localhost
Repository revision: 169797a3002fae1e86ee799475cd4f1b7ef9a3d1
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Gentoo Linux

Configured using:
 'configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --datarootdir=/usr/share
 --disable-silent-rules --docdir=/usr/share/doc/emacs-29.0.9999
 --htmldir=/usr/share/doc/emacs-29.0.9999/html --libdir=/usr/lib64
 --program-suffix=-emacs-29-vcs --includedir=/usr/include/emacs-29-vcs
 --infodir=/usr/share/info/emacs-29-vcs --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=inotify --with-pdumper --enable-acl
 --with-dbus --with-modules --with-gameuser=:gamestat --with-libgmp
 --without-gpm --with-native-compilation --with-json --without-kerberos
 --without-kerberos5 --without-lcms2 --with-xml2 --with-mailutils
 --without-selinux --with-sqlite3 --with-gnutls --without-libsystemd
 --with-threads --without-wide-int --with-zlib --with-sound=alsa
 --with-x --without-pgtk --without-ns --without-gconf
 --without-gsettings --without-toolkit-scroll-bars --with-xpm --with-xft
 --with-cairo --with-harfbuzz --without-libotf --without-m17n-flt
 --with-x-toolkit=gtk3 --with-xwidgets --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-webp --with-imagemagick
 --with-dumping=pdumper 'CFLAGS=-march=skylake -Ofast
 -fno-finite-math-only -ftracer -pipe -flto -fuse-linker-plugin'
 'LDFLAGS=-Wl,--as-needed -Wl,-Ofast -Wl,--sort-common ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ IMAGEMAGICK JPEG
JSON LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND SQLITE3 THREADS TIFF WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3
ZLIB

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=exwm-xim
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  emms-mode-line-mode: t
  emms-playing-time-display-mode: t
  emms-playing-time-mode: t
  dap-tooltip-mode: t
  dap-ui-many-windows-mode: t
  dap-ui-mode: t
  treemacs-filewatch-mode: t
  treemacs-git-mode: t
  treemacs-fringe-indicator-mode: t
  gdb-many-windows: t
  dap-auto-configure-mode: t
  dap-mode: t
  writegood-mode: t
  evil-org-mode: t
  iscroll-mode: t
  org-inline-pdf-mode: t
  org-modern-mode: t
  org-indent-mode: t
  flyspell-lazy-mode: t
  +word-wrap-mode: t
  diff-hl-margin-mode: t
  async-bytecomp-package-mode: t
  whitespace-mode: t
  global-evil-surround-mode: t
  evil-surround-mode: t
  eros-mode: t
  display-line-numbers-mode: t
  goggles-mode: t
  parrot-mode: t
  save-place-mode: t
  global-so-long-mode: t
  nyan-mode: t
  global-anzu-mode: t
  anzu-mode: t
  beginend-global-mode: t
  beginend-org-mode: t
  beginend-outline-mode: t
  which-key-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  vertico-mode: t
  all-the-icons-completion-mode: t
  marginalia-mode: t
  evil-snipe-override-mode: t
  evil-snipe-mode: t
  evil-snipe-override-local-mode: t
  evil-snipe-local-mode: t
  global-hungry-delete-mode: t
  hungry-delete-mode: t
  global-fancy-dabbrev-mode: t
  fancy-dabbrev-mode: t
  key-chord-mode: t
  elcord-mode: t
  org-roam-db-autosync-mode: t
  global-git-commit-mode: t
  eldoc-box-hover-at-point-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  savehist-mode: t
  recentf-mode: t
  gcmh-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  winner-mode: t
  global-emojify-mode: t
  emojify-mode: t
  global-undo-fu-session-mode: t
  undo-fu-session-mode: t
  undo-fu-mode: t
  flycheck-posframe-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  editorconfig-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  projectile-mode: t
  exwm-mff-mode: t
  persp-mode: t
  xterm-mouse-mode: t
  xclip-mode: t
  doom-modeline-mode: t
  display-time-mode: t
  minibuffer-depth-indicate-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  global-corfu-mode: t
  corfu-mode: t
  global-exwm-edit-mode: t
  flyspell-mode: t
  shell-dirtrack-mode: t
  evil-mode: t
  evil-local-mode: t
  windmove-mode: t
  +popup-mode: t
  override-global-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/root/doomemacs/.local/straight/build-29.0.50/ivy/elpa hides /root/doomemacs/.local/straight/build-29.0.50/lispy/elpa
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package hides /root/doomemacs/.local/straight/repos/use-package/use-package
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-lint hides /root/doomemacs/.local/straight/repos/use-package/use-package-lint
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-jump hides /root/doomemacs/.local/straight/repos/use-package/use-package-jump
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-ensure hides /root/doomemacs/.local/straight/repos/use-package/use-package-ensure
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-diminish hides /root/doomemacs/.local/straight/repos/use-package/use-package-diminish
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-delight hides /root/doomemacs/.local/straight/repos/use-package/use-package-delight
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-core hides /root/doomemacs/.local/straight/repos/use-package/use-package-core
/root/doomemacs/.local/straight/build-29.0.50/use-package/use-package-bind-key hides /root/doomemacs/.local/straight/repos/use-package/use-package-bind-key
/root/doomemacs/.local/straight/build-29.0.50/bind-key/bind-key hides /root/doomemacs/.local/straight/repos/use-package/bind-key
/root/doomemacs/.local/straight/build-29.0.50/straight/straight hides /root/doomemacs/.local/straight/repos/straight.el/straight
/root/doomemacs/.local/straight/build-29.0.50/straight/straight-x hides /root/doomemacs/.local/straight/repos/straight.el/straight-x
/root/doomemacs/.local/straight/build-29.0.50/straight/straight-ert-print-hack hides /root/doomemacs/.local/straight/repos/straight.el/straight-ert-print-hack
/root/doomemacs/.local/straight/build-29.0.50/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/root/doomemacs/.local/straight/build-29.0.50/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake/cmake-mode
/root/doomemacs/.local/straight/build-29.0.50/dash/dash hides /usr/share/emacs/site-lisp/dash/dash
/usr/share/emacs/site-lisp/desktop-entry-mode hides /usr/share/emacs/site-lisp/desktop-file-utils/desktop-entry-mode
/root/doomemacs/.local/straight/build-29.0.50/f/f hides /usr/share/emacs/site-lisp/f/f
/root/doomemacs/.local/straight/build-29.0.50/password-store/password-store hides /usr/share/emacs/site-lisp/pass/password-store
/root/doomemacs/.local/straight/build-29.0.50/s/s hides /usr/share/emacs/site-lisp/s/s
/root/doomemacs/.local/straight/build-29.0.50/with-editor/with-editor hides /usr/share/emacs/site-lisp/with-editor/with-editor
/root/doomemacs/.local/straight/build-29.0.50/jsonrpc/jsonrpc hides /usr/share/emacs/29.0.50/lisp/jsonrpc
/root/doomemacs/.local/straight/repos/straight.el/indent hides /usr/share/emacs/29.0.50/lisp/indent
/root/doomemacs/.local/straight/build-29.0.50/transient/transient hides /usr/share/emacs/29.0.50/lisp/transient
/root/doomemacs/.local/straight/build-29.0.50/flymake/flymake hides /usr/share/emacs/29.0.50/lisp/progmodes/flymake
/root/doomemacs/.local/straight/build-29.0.50/project/project hides /usr/share/emacs/29.0.50/lisp/progmodes/project
/root/doomemacs/.local/straight/build-29.0.50/xref/xref hides /usr/share/emacs/29.0.50/lisp/progmodes/xref
/root/doomemacs/.local/straight/build-29.0.50/org/ob-C hides /usr/share/emacs/29.0.50/lisp/org/ob-C
/root/doomemacs/.local/straight/build-29.0.50/org/ob-awk hides /usr/share/emacs/29.0.50/lisp/org/ob-awk
/root/doomemacs/.local/straight/build-29.0.50/org/ob-calc hides /usr/share/emacs/29.0.50/lisp/org/ob-calc
/root/doomemacs/.local/straight/build-29.0.50/org/ob-clojure hides /usr/share/emacs/29.0.50/lisp/org/ob-clojure
/root/doomemacs/.local/straight/build-29.0.50/org/ob-core hides /usr/share/emacs/29.0.50/lisp/org/ob-core
/root/doomemacs/.local/straight/build-29.0.50/org/ob-ditaa hides /usr/share/emacs/29.0.50/lisp/org/ob-ditaa
/root/doomemacs/.local/straight/build-29.0.50/org/ob-dot hides /usr/share/emacs/29.0.50/lisp/org/ob-dot
/root/doomemacs/.local/straight/build-29.0.50/org/ob-emacs-lisp hides /usr/share/emacs/29.0.50/lisp/org/ob-emacs-lisp
/root/doomemacs/.local/straight/build-29.0.50/org/ob-eshell hides /usr/share/emacs/29.0.50/lisp/org/ob-eshell
/root/doomemacs/.local/straight/build-29.0.50/org/ob-exp hides /usr/share/emacs/29.0.50/lisp/org/ob-exp
/root/doomemacs/.local/straight/build-29.0.50/org/ob-forth hides /usr/share/emacs/29.0.50/lisp/org/ob-forth
/root/doomemacs/.local/straight/build-29.0.50/org/ob-gnuplot hides /usr/share/emacs/29.0.50/lisp/org/ob-gnuplot
/root/doomemacs/.local/straight/build-29.0.50/org/ob-haskell hides /usr/share/emacs/29.0.50/lisp/org/ob-haskell
/root/doomemacs/.local/straight/build-29.0.50/org/ob-js hides /usr/share/emacs/29.0.50/lisp/org/ob-js
/root/doomemacs/.local/straight/build-29.0.50/org/ob-julia hides /usr/share/emacs/29.0.50/lisp/org/ob-julia
/root/doomemacs/.local/straight/build-29.0.50/org/ob-lilypond hides /usr/share/emacs/29.0.50/lisp/org/ob-lilypond
/root/doomemacs/.local/straight/build-29.0.50/org/ob-lisp hides /usr/share/emacs/29.0.50/lisp/org/ob-lisp
/root/doomemacs/.local/straight/build-29.0.50/org/ob-lob hides /usr/share/emacs/29.0.50/lisp/org/ob-lob
/root/doomemacs/.local/straight/build-29.0.50/org/ob-makefile hides /usr/share/emacs/29.0.50/lisp/org/ob-makefile
/root/doomemacs/.local/straight/build-29.0.50/org/ob-R hides /usr/share/emacs/29.0.50/lisp/org/ob-R
/root/doomemacs/.local/straight/build-29.0.50/org/ob-comint hides /usr/share/emacs/29.0.50/lisp/org/ob-comint
/root/doomemacs/.local/straight/build-29.0.50/org/ob-css hides /usr/share/emacs/29.0.50/lisp/org/ob-css
/root/doomemacs/.local/straight/build-29.0.50/org/ob-eval hides /usr/share/emacs/29.0.50/lisp/org/ob-eval
/root/doomemacs/.local/straight/build-29.0.50/org/ob-fortran hides /usr/share/emacs/29.0.50/lisp/org/ob-fortran
/root/doomemacs/.local/straight/build-29.0.50/org/ob-groovy hides /usr/share/emacs/29.0.50/lisp/org/ob-groovy
/root/doomemacs/.local/straight/build-29.0.50/org/ob-java hides /usr/share/emacs/29.0.50/lisp/org/ob-java
/root/doomemacs/.local/straight/build-29.0.50/org/ob-latex hides /usr/share/emacs/29.0.50/lisp/org/ob-latex
/root/doomemacs/.local/straight/build-29.0.50/org/ob-lua hides /usr/share/emacs/29.0.50/lisp/org/ob-lua
/root/doomemacs/.local/straight/build-29.0.50/org/ob-matlab hides /usr/share/emacs/29.0.50/lisp/org/ob-matlab
/root/doomemacs/.local/straight/build-29.0.50/org/ob-maxima hides /usr/share/emacs/29.0.50/lisp/org/ob-maxima
/root/doomemacs/.local/straight/build-29.0.50/org/ob-ocaml hides /usr/share/emacs/29.0.50/lisp/org/ob-ocaml
/root/doomemacs/.local/straight/build-29.0.50/org/ob-octave hides /usr/share/emacs/29.0.50/lisp/org/ob-octave
/root/doomemacs/.local/straight/build-29.0.50/org/ob-org hides /usr/share/emacs/29.0.50/lisp/org/ob-org
/root/doomemacs/.local/straight/build-29.0.50/org/ob-perl hides /usr/share/emacs/29.0.50/lisp/org/ob-perl
/root/doomemacs/.local/straight/build-29.0.50/org/ob-plantuml hides /usr/share/emacs/29.0.50/lisp/org/ob-plantuml
/root/doomemacs/.local/straight/build-29.0.50/org/ob-processing hides /usr/share/emacs/29.0.50/lisp/org/ob-processing
/root/doomemacs/.local/straight/build-29.0.50/org/ob-python hides /usr/share/emacs/29.0.50/lisp/org/ob-python
/root/doomemacs/.local/straight/build-29.0.50/org/ob-ref hides /usr/share/emacs/29.0.50/lisp/org/ob-ref
/root/doomemacs/.local/straight/build-29.0.50/org/ob-ruby hides /usr/share/emacs/29.0.50/lisp/org/ob-ruby
/root/doomemacs/.local/straight/build-29.0.50/org/ob-sass hides /usr/share/emacs/29.0.50/lisp/org/ob-sass
/root/doomemacs/.local/straight/build-29.0.50/org/ob-scheme hides /usr/share/emacs/29.0.50/lisp/org/ob-scheme
/root/doomemacs/.local/straight/build-29.0.50/org/ob-screen hides /usr/share/emacs/29.0.50/lisp/org/ob-screen
/root/doomemacs/.local/straight/build-29.0.50/org/ob-sed hides /usr/share/emacs/29.0.50/lisp/org/ob-sed
/root/doomemacs/.local/straight/build-29.0.50/org/ob-shell hides /usr/share/emacs/29.0.50/lisp/org/ob-shell
/root/doomemacs/.local/straight/build-29.0.50/org/ob-sql hides /usr/share/emacs/29.0.50/lisp/org/ob-sql
/root/doomemacs/.local/straight/build-29.0.50/org/ob-sqlite hides /usr/share/emacs/29.0.50/lisp/org/ob-sqlite
/root/doomemacs/.local/straight/build-29.0.50/org/ob-table hides /usr/share/emacs/29.0.50/lisp/org/ob-table
/root/doomemacs/.local/straight/build-29.0.50/org/ob-tangle hides /usr/share/emacs/29.0.50/lisp/org/ob-tangle
/root/doomemacs/.local/straight/build-29.0.50/org/ob hides /usr/share/emacs/29.0.50/lisp/org/ob
/root/doomemacs/.local/straight/build-29.0.50/org/oc-basic hides /usr/share/emacs/29.0.50/lisp/org/oc-basic
/root/doomemacs/.local/straight/build-29.0.50/org/oc-biblatex hides /usr/share/emacs/29.0.50/lisp/org/oc-biblatex
/root/doomemacs/.local/straight/build-29.0.50/org/oc-csl hides /usr/share/emacs/29.0.50/lisp/org/oc-csl
/root/doomemacs/.local/straight/build-29.0.50/org/oc-natbib hides /usr/share/emacs/29.0.50/lisp/org/oc-natbib
/root/doomemacs/.local/straight/build-29.0.50/org/oc hides /usr/share/emacs/29.0.50/lisp/org/oc
/root/doomemacs/.local/straight/build-29.0.50/org/ol-bbdb hides /usr/share/emacs/29.0.50/lisp/org/ol-bbdb
/root/doomemacs/.local/straight/build-29.0.50/org/ol-bibtex hides /usr/share/emacs/29.0.50/lisp/org/ol-bibtex
/root/doomemacs/.local/straight/build-29.0.50/org/ol-docview hides /usr/share/emacs/29.0.50/lisp/org/ol-docview
/root/doomemacs/.local/straight/build-29.0.50/org/ol-doi hides /usr/share/emacs/29.0.50/lisp/org/ol-doi
/root/doomemacs/.local/straight/build-29.0.50/org/ol-eshell hides /usr/share/emacs/29.0.50/lisp/org/ol-eshell
/root/doomemacs/.local/straight/build-29.0.50/org/ol-eww hides /usr/share/emacs/29.0.50/lisp/org/ol-eww
/root/doomemacs/.local/straight/build-29.0.50/org/ol-gnus hides /usr/share/emacs/29.0.50/lisp/org/ol-gnus
/root/doomemacs/.local/straight/build-29.0.50/org/ol-info hides /usr/share/emacs/29.0.50/lisp/org/ol-info
/root/doomemacs/.local/straight/build-29.0.50/org/ol-irc hides /usr/share/emacs/29.0.50/lisp/org/ol-irc
/root/doomemacs/.local/straight/build-29.0.50/org/ol-man hides /usr/share/emacs/29.0.50/lisp/org/ol-man
/root/doomemacs/.local/straight/build-29.0.50/org/ol-mhe hides /usr/share/emacs/29.0.50/lisp/org/ol-mhe
/root/doomemacs/.local/straight/build-29.0.50/org/ol-rmail hides /usr/share/emacs/29.0.50/lisp/org/ol-rmail
/root/doomemacs/.local/straight/build-29.0.50/org/ol-w3m hides /usr/share/emacs/29.0.50/lisp/org/ol-w3m
/root/doomemacs/.local/straight/build-29.0.50/org/ol hides /usr/share/emacs/29.0.50/lisp/org/ol
/root/doomemacs/.local/straight/build-29.0.50/org/org-agenda hides /usr/share/emacs/29.0.50/lisp/org/org-agenda
/root/doomemacs/.local/straight/build-29.0.50/org/org-archive hides /usr/share/emacs/29.0.50/lisp/org/org-archive
/root/doomemacs/.local/straight/build-29.0.50/org/org-attach-git hides /usr/share/emacs/29.0.50/lisp/org/org-attach-git
/root/doomemacs/.local/straight/build-29.0.50/org/org-attach hides /usr/share/emacs/29.0.50/lisp/org/org-attach
/root/doomemacs/.local/straight/build-29.0.50/org/org-capture hides /usr/share/emacs/29.0.50/lisp/org/org-capture
/root/doomemacs/.local/straight/build-29.0.50/org/org-clock hides /usr/share/emacs/29.0.50/lisp/org/org-clock
/root/doomemacs/.local/straight/build-29.0.50/org/org-colview hides /usr/share/emacs/29.0.50/lisp/org/org-colview
/root/doomemacs/.local/straight/build-29.0.50/org/org-compat hides /usr/share/emacs/29.0.50/lisp/org/org-compat
/root/doomemacs/.local/straight/build-29.0.50/org/org-crypt hides /usr/share/emacs/29.0.50/lisp/org/org-crypt
/root/doomemacs/.local/straight/build-29.0.50/org/org-ctags hides /usr/share/emacs/29.0.50/lisp/org/org-ctags
/root/doomemacs/.local/straight/build-29.0.50/org/org-datetree hides /usr/share/emacs/29.0.50/lisp/org/org-datetree
/root/doomemacs/.local/straight/build-29.0.50/org/org-duration hides /usr/share/emacs/29.0.50/lisp/org/org-duration
/root/doomemacs/.local/straight/build-29.0.50/org/org-element hides /usr/share/emacs/29.0.50/lisp/org/org-element
/root/doomemacs/.local/straight/build-29.0.50/org/org-entities hides /usr/share/emacs/29.0.50/lisp/org/org-entities
/root/doomemacs/.local/straight/build-29.0.50/org/org-faces hides /usr/share/emacs/29.0.50/lisp/org/org-faces
/root/doomemacs/.local/straight/build-29.0.50/org/org-feed hides /usr/share/emacs/29.0.50/lisp/org/org-feed
/root/doomemacs/.local/straight/build-29.0.50/org/org-footnote hides /usr/share/emacs/29.0.50/lisp/org/org-footnote
/root/doomemacs/.local/straight/build-29.0.50/org/org-goto hides /usr/share/emacs/29.0.50/lisp/org/org-goto
/root/doomemacs/.local/straight/build-29.0.50/org/org-habit hides /usr/share/emacs/29.0.50/lisp/org/org-habit
/root/doomemacs/.local/straight/build-29.0.50/org/org-id hides /usr/share/emacs/29.0.50/lisp/org/org-id
/root/doomemacs/.local/straight/build-29.0.50/org/org-indent hides /usr/share/emacs/29.0.50/lisp/org/org-indent
/root/doomemacs/.local/straight/build-29.0.50/org/org-inlinetask hides /usr/share/emacs/29.0.50/lisp/org/org-inlinetask
/root/doomemacs/.local/straight/build-29.0.50/org/org-install hides /usr/share/emacs/29.0.50/lisp/org/org-install
/root/doomemacs/.local/straight/build-29.0.50/org/org-keys hides /usr/share/emacs/29.0.50/lisp/org/org-keys
/root/doomemacs/.local/straight/build-29.0.50/org/org-lint hides /usr/share/emacs/29.0.50/lisp/org/org-lint
/root/doomemacs/.local/straight/build-29.0.50/org/org-list hides /usr/share/emacs/29.0.50/lisp/org/org-list
/root/doomemacs/.local/straight/build-29.0.50/org/org-macro hides /usr/share/emacs/29.0.50/lisp/org/org-macro
/root/doomemacs/.local/straight/build-29.0.50/org/org-macs hides /usr/share/emacs/29.0.50/lisp/org/org-macs
/root/doomemacs/.local/straight/build-29.0.50/org/org-mobile hides /usr/share/emacs/29.0.50/lisp/org/org-mobile
/root/doomemacs/.local/straight/build-29.0.50/org/org-mouse hides /usr/share/emacs/29.0.50/lisp/org/org-mouse
/root/doomemacs/.local/straight/build-29.0.50/org/org-num hides /usr/share/emacs/29.0.50/lisp/org/org-num
/root/doomemacs/.local/straight/build-29.0.50/org/org-pcomplete hides /usr/share/emacs/29.0.50/lisp/org/org-pcomplete
/root/doomemacs/.local/straight/build-29.0.50/org/org-plot hides /usr/share/emacs/29.0.50/lisp/org/org-plot
/root/doomemacs/.local/straight/build-29.0.50/org/org-protocol hides /usr/share/emacs/29.0.50/lisp/org/org-protocol
/root/doomemacs/.local/straight/build-29.0.50/org/org-refile hides /usr/share/emacs/29.0.50/lisp/org/org-refile
/root/doomemacs/.local/straight/build-29.0.50/org/org-src hides /usr/share/emacs/29.0.50/lisp/org/org-src
/root/doomemacs/.local/straight/build-29.0.50/org/org-table hides /usr/share/emacs/29.0.50/lisp/org/org-table
/root/doomemacs/.local/straight/build-29.0.50/org/org-tempo hides /usr/share/emacs/29.0.50/lisp/org/org-tempo
/root/doomemacs/.local/straight/build-29.0.50/org/org-timer hides /usr/share/emacs/29.0.50/lisp/org/org-timer
/root/doomemacs/.local/straight/build-29.0.50/org/org-version hides /usr/share/emacs/29.0.50/lisp/org/org-version
/root/doomemacs/.local/straight/build-29.0.50/org/org hides /usr/share/emacs/29.0.50/lisp/org/org
/root/doomemacs/.local/straight/build-29.0.50/org/ox-ascii hides /usr/share/emacs/29.0.50/lisp/org/ox-ascii
/root/doomemacs/.local/straight/build-29.0.50/org/ox-beamer hides /usr/share/emacs/29.0.50/lisp/org/ox-beamer
/root/doomemacs/.local/straight/build-29.0.50/org/ox-html hides /usr/share/emacs/29.0.50/lisp/org/ox-html
/root/doomemacs/.local/straight/build-29.0.50/org/ox-icalendar hides /usr/share/emacs/29.0.50/lisp/org/ox-icalendar
/root/doomemacs/.local/straight/build-29.0.50/org/ox-koma-letter hides /usr/share/emacs/29.0.50/lisp/org/ox-koma-letter
/root/doomemacs/.local/straight/build-29.0.50/org/ox-latex hides /usr/share/emacs/29.0.50/lisp/org/ox-latex
/root/doomemacs/.local/straight/build-29.0.50/org/ox-man hides /usr/share/emacs/29.0.50/lisp/org/ox-man
/root/doomemacs/.local/straight/build-29.0.50/org/ox-md hides /usr/share/emacs/29.0.50/lisp/org/ox-md
/root/doomemacs/.local/straight/build-29.0.50/org/ox-odt hides /usr/share/emacs/29.0.50/lisp/org/ox-odt
/root/doomemacs/.local/straight/build-29.0.50/org/ox-org hides /usr/share/emacs/29.0.50/lisp/org/ox-org
/root/doomemacs/.local/straight/build-29.0.50/org/ox-publish hides /usr/share/emacs/29.0.50/lisp/org/ox-publish
/root/doomemacs/.local/straight/build-29.0.50/org/ox-texinfo hides /usr/share/emacs/29.0.50/lisp/org/ox-texinfo
/root/doomemacs/.local/straight/build-29.0.50/org/ox hides /usr/share/emacs/29.0.50/lisp/org/ox
/root/doomemacs/.local/straight/build-29.0.50/org/org-loaddefs hides /usr/share/emacs/29.0.50/lisp/org/org-loaddefs
/root/doomemacs/.local/straight/build-29.0.50/eldoc/eldoc hides /usr/share/emacs/29.0.50/lisp/emacs-lisp/eldoc

Features:
(eudc-capf eudc eudc-vars shadow mail-extr filecache modus-vivendi-theme
emacsbug lorem-ipsum autoload mm-archive try unpackaged ts use-package
use-package-ensure use-package-delight use-package-diminish
evil-collection-buff-menu consult-xref dumb-jump focus osm pp+
electric-case isearch-dabbrev ialign align visual-regexp-steroids
visual-regexp unfill socks elpher sqlup-mode sql evil-collection-view
view gitignore-templates git-link pcache eieio-base org-clock lsp-xml
harpoon elescope request evil-collection-ivy ivy ivy-faces ivy-overlay
colir desktop frameset alarm-clock gamegrid evil-collection-proced
proced paradox paradox-menu paradox-commit-list paradox-execute
paradox-github paradox-core evil-collection-leetcode leetcode log4e aio
graphql hippie-exp emms-librefm-stream emms-librefm-scrobbler
emms-playlist-limit emms-i18n emms-history emms-score emms-stream-info
emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon
emms-browser emms-volume emms-volume-sndioctl emms-volume-mixerctl
emms-volume-pulse emms-volume-amixer emms-playlist-sort emms-last-played
emms-player-xine emms-player-mpd tq emms-lyrics emms-url emms-streams
emms-show-all emms-tag-editor emms-tag-tracktag emms-mark emms-mode-line
emms-cache emms-info-native emms-info-exiftool emms-info-tinytag
emms-info-metaflac emms-info-opusinfo emms-info-ogginfo
emms-info-mp3info emms-playlist-mode emms-player-vlc emms-player-mpv
emms-playing-time emms-info emms-later-do emms-player-mplayer
emms-player-simple emms-source-playlist emms-source-file locate
emms-setup evil-collection-emms emms emms-compat lsp-python-ms
dap-gdb-lldb dap-utils dap-lldb ccls ccls-member-hierarchy
ccls-inheritance-hierarchy ccls-call-hierarchy ccls-tree ccls-code-lens
ccls-semantic-highlight ccls-common cc-mode-expansions smartparens-c
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs dap-mouse dap-ui lsp-treemacs lsp-treemacs-themes
treemacs-magit treemacs-persp treemacs-projectile treemacs-evil treemacs
treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-bookmarks treemacs-interface treemacs-extensions
treemacs-mouse-interface treemacs-tags treemacs-persistence
treemacs-filewatch-mode treemacs-follow-mode treemacs-rendering
treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom
treemacs-visuals treemacs-fringe-indicator treemacs-scope treemacs-faces
treemacs-macros gdb-mi gud bui bui-list bui-info bui-entry bui-core
bui-history bui-button bui-utils lsp-lens dap-mode dap-launch
dap-overlays lsp-mode lsp-protocol spinner network-stream company
ace-link evil-collection-eww eww url-queue mm-url evil-collection-gnus
gnus nnheader range misearch multi-isearch evil-collection-quickrun
quickrun tramp-cache conf-mode char-fold screenshot smartparens-latex
tex-mode org-crypt org-eldoc writegood-mode toc-org evil-org iscroll
org-inline-pdf ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar ox-ascii ox-md ox-html table ox-publish ox org-modern
org-indent image-file image-converter oc-basic ol-bibtex bibtex ielm
ps-print ps-print-loaddefs ps-def lpr tabify handwrite overseer pkg-info
epl tramp-cmds diredfl all-the-icons-dired dired-filter dired-aux
dired-x dired-collapse flyspell-lazy ispell flyspell adaptive-wrap
diff-hl-margin diff-hl-dired evil-collection-diff-hl diff-hl
evil-collection-log-view log-view evil-collection-vc-dir vc-dir
goto-addr magit-gitflow url-cache mentor url-scgi mentor-rpc
mentor-files mentor-data xml-rpc timezone sort tramp-archive tramp-gvfs
dbus helm-system-packages-portage helm-system-packages helm-icons
treemacs-icons treemacs-themes treemacs-core-utils treemacs-logging
treemacs-customization pfuture inline helm helm-core async-bytecomp
helm-global-bindings helm-easymenu helm-source helm-multi-match helm-lib
tramp-sh evil-collection-disk-usage disk-usage daemons-openrc
daemons-shepherd daemons-brew daemons-sysvinit daemons-systemd
evil-collection-tabulated-list evil-collection-daemons daemons
switch-window switch-window-mvborder switch-window-asciiart quail
evil-collection-help pulseaudio-control elisp-def evil-anzu elisp-demos
evil-collection-indent evil-collection-helpful helpful trace info-look
evil-collection-info info evil-collection-elisp-refs elisp-refs
bash-completion eshell-syntax-highlighting fish-completion
hide-mode-line eshell-buffer-capf em-term evil-collection-term term
ehelp em-script em-ls em-hist em-pred em-glob em-extpipe em-cmpl
em-basic em-banner em-alias em-smart tramp tramp-loaddefs trampver
tramp-integration files-x tramp-compat ls-lisp em-tramp
eshell-did-you-mean pcmpl-args pcmpl-linux pcmpl-unix esh-help
evil-collection-man man em-unix eshell-z em-dirs esh-var
evil-collection-eshell em-prompt eshell esh-mode esh-cmd esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-groups esh-util cape-keyword
mule-util cape-char face-remap vertico-directory git-gutter-fringe
fringe-helper git-gutter jka-compr auto-minor-mode disp-table whitespace
flycheck-cask evil-embrace evil-surround embrace expand-region
text-mode-expansions the-org-mode-expansions er-basic-expansions
expand-region-core expand-region-custom lispyville lispy lispy-inline
avy etags fileloop evil-collection-edebug edebug help-fns radix-tree
lispy-tags mode-local eros redshank skeleton paredit highlight-quoted
rainbow-delimiters highlight-numbers parent-mode display-line-numbers
hideshow goggles pulse parrot parrot-progress parrot-rotate
git-auto-commit-mode vc-hg evil-collection-vc-git vc-git vc-svn vc
vc-dispatcher saveplace so-long nyan-mode anzu smart-newline
evil-collection-beginend beginend hardhat ignoramus eye-care
editorconfig-core editorconfig-core-handle editorconfig-fnmatch
consult-flycheck evil-collection-consult consult-vertico consult
compat-28 magit-bookmark evil-collection-bookmark bookmark delsel
cursor-sensor vertico-repeat evil-collection-which-key which-key
better-jumper evil-collection-vertico vertico orderless
all-the-icons-completion marginalia evil-easymotion evil-snipe
evil-collection-hungry-delete hungry-delete fancy-dabbrev
evil-collection-popup popup dabbrev key-seq key-chord geo-solar geo-ip
geo elcord bindat org-agenda evil-collection-magit-todos magit-todos
pcre2el rxt re-builder hl-todo async osm-ol evil-collection-org
org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id
org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam
org-capture org-attach smartparens-org org-yt org-element org-persist
xdg org-id org-refile avl-tree generator org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
org-list org-faces org-entities org-version ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc
org-compat org-macs org-loaddefs code-review code-review-actions
code-review-comment code-review-section code-review-bitbucket
code-review-faces shr-tag-pre-highlight language-detection shr
pixel-fill kinsoku url-file url-dired code-review-gitlab
code-review-utils evil-collection-forge forge-list forge-commands
forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea
forge-gitlab glab forge-github forge-notify forge-revnote forge-pullreq
forge-issue forge-topic yaml parse-time iso8601 bug-reference forge-post
smartparens-markdown evil-collection-markdown-mode markdown-mode
edit-indirect backline outline-minor-faces noutline outline forge-repo
forge forge-core forge-db code-review-parse-hunk code-review-github
code-review-db uuidgen calc-misc calc-ext a code-review-interfaces
deferred ghub-graphql treepy gsexp ghub gnutls closql emacsql-sqlite
emacsql emacsql-compiler url-http url-auth url-gw nsm
evil-collection-magit magit-autoloads magit-submodule magit-obsolete
magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push
magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff evil-collection-diff-mode diff-mode magit-core
magit-autorevert magit-margin magit-transient magit-process magit-mode
git-commit magit-git magit-base magit-section crm compat-27 compat-26
transient format-spec evil-collection-log-edit log-edit message sendmail
yank-media rmc puny dired-subtree dired-hacks-utils
evil-collection-dired dired dired-loaddefs rfc822 mml mml-sec
evil-collection-epa epa epg rfc6068 epg-config gnus-util time-date
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log with-editor compat doom-snippets doom-snippets-lib
yasnippet eldoc-box evil-collection-eglot eglot array
evil-collection-xref xref evil-collection-flymake flymake-proc flymake
project jsonrpc ert ewoc evil-collection-debug debug backtrace lisp-mode
evil-collection-elisp-mode elisp-mode savehist recentf tree-widget gcmh
hl-line winner emojify evil-collection-apropos apropos
evil-collection-tar-mode tar-mode evil-collection-arc-mode arc-mode
archive-mode ht undo-fu-session undo-fu flycheck-posframe posframe
flycheck-package package-lint evil-collection-imenu imenu
evil-collection-finder finder finder-inf evil-collection-package-menu
core-packages package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
url-handlers evil-collection-flycheck flycheck find-func ws-butler
editorconfig page-break-lines highlight-context-line projectile lisp-mnt
evil-collection-grep grep evil-collection-compile compile
text-property-search ibuffer-vc ibuf-ext evil-collection-ibuffer ibuffer
ibuffer-loaddefs exwm-mff autorevert filenotify cus-start persp-mode
xt-mouse xclip evil-terminal-cursor-changer dtrt-indent doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons shrink-path f
s indented-copy-for-reddit run-startup-programs key-chords
switch-window-patches evil-scroll-hydra hydra lv avy-extras
folding-extras lookup-on-github better-registers
correct-previous-word-and-create-abbrev modus-operandi-theme
my-customize-faces modus-themes circadian solar cal-dst
evil-collection-calendar cal-menu calendar cal-loaddefs
compile-my-private-config patch-unexpected-behaviors
evil-collection-tab-bar evil-collection-custom evil-collection-comint
evil-collection annalist time mb-depth smartparens-config
smartparens-text smartparens dash cape corfu-doc kind-icon svg-lib color
svg dom xml corfu org-pandoc-import exwm-firefox-evil exwm-firefox-core
exwm-evil exwm-edit exwm-xim xcb-xim xcb-xlib exwm-config ido exwm
exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor
xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb
xcb-xproto xcb-types xcb-debug server let-alist auth-source-pass
url-parse url-vars auth-source eieio eieio-core eieio-loaddefs
password-cache json map ibuf-macs evil evil-integration evil-maps
evil-commands reveal evil-jumps evil-command-window evil-search shell
pcomplete comint ansi-color evil-types evil-macros evil-repeat
evil-states evil-core advice evil-common windmove calc calc-loaddefs
calc-macs thingatpt rect evil-digraphs evil-vars ring edmacro kmacro
pcase derived use-package-bind-key bind-key easy-mmode use-package-core
core-editor core-projects core-ui core-keybinds general core-modules
proof-site proof-autoloads realgud-recursive-autoloads site-gentoo
cus-edit pp cus-load wid-edit system-cores cl core comp comp-cstr
warnings rx cl-seq cl-macs cl-extra help-mode seq gv subr-x byte-opt
bytecomp byte-compile cconv core-lib cl-loaddefs cl-lib chemacs
iso-transl tooltip eldoc paren 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 replace newcomment
text-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice simple cl-generic
indonesian philippine 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
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify dynamic-setting font-render-setting cairo move-toolbar gtk
x-toolkit xinput2 x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 2609499 307992)
 (symbols 48 123245 40)
 (strings 32 582502 38707)
 (string-bytes 1 19247708)
 (vectors 16 454260)
 (vector-slots 8 8286677 250478)
 (floats 8 95426 6848)
 (intervals 56 115495 6850)
 (buffers 992 116))





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

* bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches'.
  2022-05-31  1:26 bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches' Antonio Ruiz
@ 2022-05-31 11:28 ` Lars Ingebrigtsen
  2022-05-31 11:51   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-31 11:28 UTC (permalink / raw)
  To: Antonio Ruiz; +Cc: 55733

Antonio Ruiz <antonioruiz.math@gmail.com> writes:

> Hello. The current implementation of the 'handwrite' function does not
> pass 'ps-printer-name' nor 'ps-lpr-switches' to 'call-process-region'.
> Moreover, 'ps-lpr-switches' can have dynamic arguments which compute the
> switches at runtime. Therefore, I propose that we replace the current
> printing facility in 'handwrite' with that from the 'ps-do-despool'
> function of ps-print.el. I have copied the patch below:

Thanks; pushed to Emacs 29.

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches'.
  2022-05-31 11:28 ` Lars Ingebrigtsen
@ 2022-05-31 11:51   ` Eli Zaretskii
  2022-05-31 18:38     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-05-31 11:51 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: antonioruiz.math, 55733

> Cc: 55733@debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 31 May 2022 13:28:23 +0200
> 
> Antonio Ruiz <antonioruiz.math@gmail.com> writes:
> 
> > Hello. The current implementation of the 'handwrite' function does not
> > pass 'ps-printer-name' nor 'ps-lpr-switches' to 'call-process-region'.
> > Moreover, 'ps-lpr-switches' can have dynamic arguments which compute the
> > switches at runtime. Therefore, I propose that we replace the current
> > printing facility in 'handwrite' with that from the 'ps-do-despool'
> > function of ps-print.el. I have copied the patch below:
> 
> Thanks; pushed to Emacs 29.

That change removed binding of coding-system-for-write; I wonder why.
Can't it cause trouble?





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

* bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches'.
  2022-05-31 11:51   ` Eli Zaretskii
@ 2022-05-31 18:38     ` Lars Ingebrigtsen
  2022-05-31 19:23       ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-31 18:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: antonioruiz.math, 55733

Eli Zaretskii <eliz@gnu.org> writes:

> That change removed binding of coding-system-for-write; I wonder why.
> Can't it cause trouble?

Hm...  looks like it's still there?

+    (when (y-or-n-p "Send this to the printer? ")
+      (let* ((coding-system-for-write 'raw-text-unix)
+	     (printer-name (or ps-printer-name printer-name))


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches'.
  2022-05-31 18:38     ` Lars Ingebrigtsen
@ 2022-05-31 19:23       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2022-05-31 19:23 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: antonioruiz.math, 55733

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: antonioruiz.math@gmail.com,  55733@debbugs.gnu.org
> Date: Tue, 31 May 2022 20:38:53 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > That change removed binding of coding-system-for-write; I wonder why.
> > Can't it cause trouble?
> 
> Hm...  looks like it's still there?
> 
> +    (when (y-or-n-p "Send this to the printer? ")
> +      (let* ((coding-system-for-write 'raw-text-unix)
> +	     (printer-name (or ps-printer-name printer-name))

Oops.





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

end of thread, other threads:[~2022-05-31 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-31  1:26 bug#55733: 29.0.50; handwrite.el does not utilize 'ps-printer-name' nor 'ps-lpr-switches' Antonio Ruiz
2022-05-31 11:28 ` Lars Ingebrigtsen
2022-05-31 11:51   ` Eli Zaretskii
2022-05-31 18:38     ` Lars Ingebrigtsen
2022-05-31 19:23       ` Eli Zaretskii

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.