all messages for Emacs-related lists mirrored at yhetil.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 10:04:55 -0700	[thread overview]
Message-ID: <86zl1gh5qg.fsf@red.stonehenge.com> (raw)
In-Reply-To: <87d3yc1pte.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 06 Apr 2010 12:57:49 -0400")

>>>>> "Chong" == Chong Yidong <cyd@stupidchicken.com> writes:

Chong> merlyn@stonehenge.com (Randal L. Schwartz) writes:
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.

Chong> I don't see any error; man is loaded fine.

Yup, same here.  So it's something more complex than this.

All I know is that in my .emacs, if I had this:

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

it'd blow up.

But if I instead moved the load first:

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

it worked ok.

I don't know how to simulate that from emacs -Q.

-- 
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 17:04 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
2010-04-06 16:57     ` Chong Yidong
2010-04-06 17:04       ` Randal L. Schwartz [this message]
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

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

  git send-email \
    --in-reply-to=86zl1gh5qg.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.