Printing on nonMULE xemacs

Stephen J. Turnbull stephen at xemacs.org
Tue Oct 20 01:45:17 EDT 2009


steven Mitchell writes:
 > I am using xemacs 21.4.22 without MULE, compiled for x86-64.
 > 
 > The default toolbar printing command, 'lpr-buffer', complains that 
 > 'coding-system-for-write' has no binding, and does not print. However, 
 > coding-system-for-write is not normally bound on a nonMULE install.
 > 
 > I found the lines causing the error in 'print-region-1', and added a 
 > check for whether those symbols are bound. If not, it sets the internal 
 > coding system variables to nil. This seems to fix the problem entirely. 
 > I am attaching a patch.

I'm not going to veto, I don't have time to do a proper review for a
few days.  However, on "general principles," I don't think this is the
correct fix.  Either those symbols should not be used by lpr-buffer,
or they should be given a "sane" global definition.




More information about the XEmacs-Patches mailing list