This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I've been looking at printing from XEmacs (under Windows NT) and found
Enscript (
http://people.ssh.fi/mtr/genscript/windows-95-NT/ ), which
looks like it should be usable as an external printing program - but
there's a glitch:
I tried printing multiple files with dired-do-print (I put
(setq dired-print-program-alist
'(("\\.java$" . "enscript -C ")
(".*" . "enscript ")))
into my init.el), but the printing still failed, with a message
couldn't open input file "c\:\\scratch\\test\\Test.java": Invalid
argument
no output generated
Now that's a pretty suggestive error message :-) - so I wrote a little
Perl script removing the extra backslashes before passing its
parameters to the real enscript and set that script into
dired-print-program-alist. That worked, but seems sub-optimal to me -
I think dired-do-print should know that it's running under Windows and
respect their directory separator(s), instead of quoting them.
Bye
Vasek
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows 2000 [Version 5.00.2195]
OS: Windows_NT
XEmacs 21.4.6 \"Common Lisp (Windows [1])\" configured for `i586-pc-win32'.
Building XEmacs in \"f:\\xemacs\\xemacs-21.4-release\\nt\".
Using compiler \"cl -nologo -W3 -O2 -G5 -ML\".
Installing XEmacs in \"c:\\Program Files\\XEmacs\\XEmacs-21.4.6\".
Package path is \"~\\.xemacs;;c:\\Program Files\\XEmacs\\site-packages;c:\\Program
Files\\XEmacs\\xemacs-packages\".
Compiling in support for Microsoft Windows native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Compiling in fast dired implementation.
Using minimal tagbits.
Using indexed lrecord implementation.
Using portable dumper.
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.11 :type regular)
(xslt-process :version 1.05 :type regular)
(xemacs-devel :version 1.39 :type single-file)
(xemacs-base :version 1.56 :type regular)
(w3 :version 1.2 :type regular)
(vm :version 7.0 :type regular)
(viper :version 1.29 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.13 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.0 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.29 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.32 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.18 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.21 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.1 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.12 :type regular)
(reftex :version 1.23 :type regular)
(psgml :version 1.25 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(prog-modes
:version
1
.48
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.56 :type regular)
(pc :version 1.2 :type single-file)
(os-utils :version 1.25 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.13 :type regular)
(mew :version 1.14 :type regular)
(mailcrypt :version 2.09 :type regular)
(mail-lib :version 1.4 :type regular)
(jde :version 1.31 :type regular)
(ispell :version 1.23 :type regular)
(ilisp :version 1.19 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.23 :type regular)
(hm--html-menus :version 1.16 :type regular)
(gnus :version 1.57 :type regular)
(gnats :version 1.12 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.13 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.34 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.01 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.08 :type single-file)
(eieio :version 1.01 :type regular)
(eicq :version 1.05 :type regular)
(efs :version 1.26 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.73 :type single-file)
(ediff :version 1.33 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.06 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(clearcase :version 1.0 :type regular)
(cc-mode :version 1.26 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.17 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.03 :type regular)
(bbdb :version 1.16 :type regular)
(apel :version 1.2 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 ps-print time-stamp
dired-shell dired-faces dired-xemacs dired semantic-el bookmark pp
senator timer jde executable jde-package jde-import jde-which-method
jde-stat jde-javadoc jde-javadoc-gen jde-java-font-lock jde-bug
jde-dbs jde-dbo jde-help jde-wiz jde-widgets tree-widget jde-complete
beanshell browse-url jde-gen tempo jde-make compile jde-run jde-db
jde-parse jde-imenu regexp-opt semantic-imenu jde-java-grammar
semantic-java eieio advice advice-preload avltree stack-m elib-node
semantic-ctxt semantic-bnf semantic-sb speedbar sb-image dframe
semantic-util assoc semantic working gud tags etags comint ring
jde-compile cus-edit cus-load cc-mode cc-align cc-cmds cc-engine
cc-styles cc-langs cc-vars wid-edit cc-menus imenu cc-defs
semantic-load efs-cu font-lock cus-face zenirc-autoloads
xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads slider-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
rmail-autoloads reftex-autoloads psgml-autoloads
ps-print-nomule-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
eicq-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads bbdb-autoloads apel-autoloads
lisp-autoloads loadhist auto-show fontl-hooks code-cmds gutter-items
menubar-items x-menubar dragdrop mode-motion mouse itimer auto-save
lisp-mode easymenu iso8859-1 page buff-menu lib-complete help-nomule
cus-file derived frame text-props obsolete cus-start custom widget
cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
file-coding mswindows-scrollbars mswindows toolbar native-sound
scrollbar network-streams subprocesses menu-accelerator-support
menubar md5 xemacs gutter tiff png gif jpeg xface xpm xbm
lisp-float-type windows-nt dragdrop-api dialog devices window-system
base64)
Recent keystrokes:
-----------------
misc-user C-x C-s down down down down down down down
down down down down down down down down down down down
down down down right right right right right right
right right right right right right right right right
right right right right right right right right right
right right right right right right right right right
right BS BS BS down left left left left BS BS BS right
right right right right C-x C-e C-x C-s misc-user down
down down down P RET button1 button1up C-insert M-x
r e p o r t - x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Spooling Test.java...done
Spooling Test.java...
Loading dired-shell...done
Loading dired-shell...
Reading directory c:\scratch\test\...done
Reading directory c:\scratch\test\...
Loading dired...done
Loading dired...
Wrote c:\WINNT\Profiles\eeivba\.xemacs\init.el
(("\\.java$" . "enscript -C ") (".*" . "enscript
"))
Wrote c:\WINNT\Profiles\eeivba\.xemacs\init.el
Loading semantic-el...done
Loading semantic-el...
Loading bookmark...done
Loading bookmark...
Wrote c:\data\dir.txt
function: showProgressDialog
Point to register: