Printing on nonMULE xemacs

steven Mitchell smitchel at bnin.net
Sun Oct 18 13:58:19 EDT 2009


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.


Sincerely,
Byrel Mitchell
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lprpatch.diff
Url: http://calypso.tux.org/pipermail/xemacs-patches/attachments/20091018/b5ccbe59/attachment.pl 


More information about the XEmacs-Patches mailing list