From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.bugs 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 Message-ID: <86zl1gh5qg.fsf@red.stonehenge.com> References: <87pr2cvayq.fsf@stupidchicken.com> <864ojoinld.fsf@red.stonehenge.com> <87d3yc1pte.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1270574835 26950 80.91.229.12 (6 Apr 2010 17:27:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2010 17:27:15 +0000 (UTC) Cc: 5792@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 06 19:27:13 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCYR-0005Yo-KJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 19:27:11 +0200 Original-Received: from localhost ([127.0.0.1]:56928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzCYR-0005d7-3K for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Apr 2010 13:27:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzCXR-0005BY-MB for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:26:09 -0400 Original-Received: from [140.186.70.92] (port=49199 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzCXP-0005A3-2l for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:26:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzCXM-000080-PR for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:26:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39941) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCXM-00007u-CY for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2010 13:26:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NzCDx-0003hk-QD; Tue, 06 Apr 2010 13:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: merlyn@stonehenge.com (Randal L. Schwartz) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2010 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5792-submit@debbugs.gnu.org id=B5792.127057350314226 (code B ref 5792); Tue, 06 Apr 2010 17:06:01 +0000 Original-Received: (at 5792) by debbugs.gnu.org; 6 Apr 2010 17:05:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCD1-0003hP-5F for submit@debbugs.gnu.org; Tue, 06 Apr 2010 13:05:03 -0400 Original-Received: from red.stonehenge.com ([208.79.95.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzCCy-0003h3-Jh for 5792@debbugs.gnu.org; Tue, 06 Apr 2010 13:05:01 -0400 Original-Received: by red.stonehenge.com (Postfix, from userid 1001) id 30CA678CC; Tue, 6 Apr 2010 10:04:55 -0700 (PDT) x-mayan-date: Long count = 12.19.17.4.10; tzolkin = 2 Oc; haab = 3 Pop In-Reply-To: <87d3yc1pte.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 06 Apr 2010 12:57:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Apr 2010 13:06:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35996 Archived-At: >>>>> "Chong" == Chong Yidong 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 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion