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!
Clicking the "print" icon in the toolbar invokes `toolbar-print',
which calls `lpr-buffer', which finally calls `print-region-1'. This
function has the following inside a let form:
(coding-system-for-write (or coding-system-for-write
buffer-file-coding-system))
(coding-system-for-read (or coding-system-for-read
buffer-file-coding-system))
However, all these variables are unbound in my (non-Mule) XEmacs, so I
get some error message.
Adding the code
(setq coding-system-for-write nil
coding-system-for-read nil
buffer-file-coding-system nil)
to site-start.el seems to work around this.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: IRIX64 james 6.5 10100655 IP25
./configure '--prefix=/r' '--site-prefixes=/r'
XEmacs 21.1.14 "Cuyahoga Valley" configured for `mips-sgi-irix6.5'.
Where should the build process find the source code?
/share/r_src/xemacs/xemacs-21.1.14
What installation prefix should install use? /r
What operating system and machine description files should XEmacs use?
`s/irix6-0.h' and `m/iris6d.h'
What compiler should XEmacs be built with? cc -O -OPT:Olimit=0 -mips3
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files?
Where do we find X Windows libraries?
Additional prefixes: /r
Runtime library search path: /r/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.06 :type regular)
(xemacs-devel :version 1.4 :type single-file)
(xemacs-base :version 1.57 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(viper :version 1.31 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.01 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.3 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.36 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.22 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.01 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.11 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.57 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :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.14 :type regular)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.42 :type regular)
(jde :version 1.31 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.24 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :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.14 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.35 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.27 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.75 :type single-file)
(ediff :version 1.35 :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.02 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(bbdb :version 1.17 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular))
Features:
--------
(mail-abbrevs dabbrev xemacsbug shadow sendmail rfc822 lisp-mnt
picture efs-cu fast-lock lazy-lock lazy-shot font-lock planner sort
emacs-wiki executable cus-face pcomplete paren blink-paren
scroll-in-place rsz-minibuf jwz-html-mode iso-insert webjump-plus
webjump browse-url jka-compr edmacro iswitchb bbdb-hooks bbdb timezone
vc-hooks tex-site mwheel 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 sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads ps-print-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
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 auctex-autoloads apel-autoloads ada-autoloads
Standard-autoloads loadhist auto-show fontl-hooks x-iso8859-1
menubar-items x-menubar mouse mode-motion itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule derived
frame text-props cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote very-early-lisp lucid-scrollbars cut-buffer
lucid-menubars xface motif-dialogs x tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses menubar berkeley-db dbm md5 xemacs tiff png gif jpeg xpm
lisp-float-type irix dialog devices window-system c-balloon-help)
Show replies by date
|--==> "JKS" == Jouni K Seppanen <Jouni> writes:
JKS> (coding-system-for-write (or coding-system-for-write
JKS> buffer-file-coding-system))
JKS> (coding-system-for-read (or coding-system-for-read
JKS> buffer-file-coding-system))
JKS> However, all these variables are unbound in my (non-Mule) XEmacs, so I
JKS> get some error message.
JKS> Adding the code
JKS> (setq coding-system-for-write nil
JKS> coding-system-for-read nil
JKS> buffer-file-coding-system nil)
JKS> to site-start.el seems to work around this.
,----[ from 'ps-print.el' ]
| (defvar coding-system-for-write nil)
| (defvar coding-system-for-read nil)
| (defvar buffer-file-coding-system nil)
`----
So all you need to do is (require 'ps-print) in your
'~/.xemacs/init.el'.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|