unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 5792@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	[thread overview]
Message-ID: <864ojoinld.fsf@red.stonehenge.com> (raw)
In-Reply-To: <87pr2cvayq.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 06 Apr 2010 11:48:13 -0400")

>>>>> "Chong" == Chong Yidong <cyd@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@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






  reply	other threads:[~2010-04-06 15:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29  0:35 bug#5792: 23.1; man.el{,c} fails to load when utf-8 mode enabled Randal L. Schwartz
2010-04-06 15:48 ` Chong Yidong
2010-04-06 15:53   ` Randal L. Schwartz [this message]
2010-04-06 16:57     ` Chong Yidong
2010-04-06 17:04       ` Randal L. Schwartz
2010-04-06 18:26         ` Eli Zaretskii
2010-04-06 18:38           ` Randal L. Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=864ojoinld.fsf@red.stonehenge.com \
    --to=merlyn@stonehenge.com \
    --cc=5792@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).