GNU bug report logs - #5792
23.1; man.el{,c} fails to load when utf-8 mode enabled

Previous Next

Package: emacs;

Reported by: "Randal L. Schwartz" <merlyn <at> stonehenge.com>

Date: Mon, 29 Mar 2010 00:44:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: merlyn <at> stonehenge.com (Randal L. Schwartz)
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 5792 <at> debbugs.gnu.org
Subject: bug#5792: 23.1; man.el{,c} fails to load when utf-8 mode enabled
Date: Tue, 06 Apr 2010 08:53:50 -0700
>>>>> "Chong" == Chong Yidong <cyd <at> stupidchicken.com> writes:

>> In my .emacs, I have:
>> 
>> (set-terminal-coding-system 'utf-8)
>> (set-keyboard-coding-system 'utf-8)
>> 
>> When I invoke M-x man, I get an invalid byte when trying to load
>> either the man.el or the man.elc.

Chong> Thanks for the bug report, but it's took vague for me to reproduce; for
Chong> instance, what do you mean by "get an invalid byte"?  Could you provide
Chong> a testcase starting from `emacs -Q'?

I imagine it'd be something like

emacs -Q

M-: (set-terminal-coding-system 'utf-8) RET
M-: (set-keyboard-coding-system 'utf-8) RET
M-: (load-library "man) RET

which will blow up while trying to read the "man" library.  There's
something both the man.el and man.elc versions that is *not* utf-8
encoded, probably just latin1.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion




This bug report was last modified 15 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.