From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: Re: Bad value in file-coding-system-alist Date: Thu, 05 Jul 2007 14:12:53 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183612393 9056 80.91.229.12 (5 Jul 2007 05:13:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 05:13:13 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 05 07:13:12 2007 connect(): Connection refused 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.50) id 1I6JeR-0005ZT-6G for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2007 07:13:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6JeQ-00054M-4m for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jul 2007 01:13:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6JeN-00052Q-F7 for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2007 01:13:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6JeK-0004ym-GK for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2007 01:13:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6JeK-0004yZ-8j for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2007 01:13:04 -0400 Original-Received: from pinatubo-2.switch.ch ([130.59.1.10] helo=pinatubo.switch.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6JeJ-0005Gi-Mi for bug-gnu-emacs@gnu.org; Thu, 05 Jul 2007 01:13:04 -0400 Original-Received: from [130.133.4.66] (helo=outpost1.zedat.fu-berlin.de) by pinatubo.switch.ch with esmtp (Exim 4.50) id 1I6JeI-0005Sj-6a for gnu-emacs-bug@moderators.isc.org; Thu, 05 Jul 2007 07:13:02 +0200 Original-Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.66) for gnu-emacs-bug@moderators.isc.org with esmtp (envelope-from ) id <1I6JeH-0006vF-Ru>; Thu, 05 Jul 2007 07:13:01 +0200 Original-Received: from curry.zedat.fu-berlin.de ([130.133.1.2]) by relay1.zedat.fu-berlin.de (Exim 4.66) for gnu-emacs-bug@moderators.isc.org with esmtp (envelope-from ) id <1I6JeH-0005XJ-Qp>; Thu, 05 Jul 2007 07:13:01 +0200 Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.uni-berlin.de with bsmtp id ; Thu, 5 Jul 2007 07:13:01 +0200 (MEST) Original-Path: individual.net!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 61 X-Orig-X-Trace: individual.net vNUO7d6SH6F/4w2osl9x4Q44/eGpcZuc2TK09eZaqffcyOFoI= Cancel-Lock: sha1:FA5b9XrvYI1QOUvWZvAzw/D+QP4= sha1:TURT9UO3jZ38yuot9O6rm/5nBPE= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Originating-IP: 130.133.1.2 X-detected-kernel: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:16084 Archived-At: >>>>> Lennart Borgman (gmail) wrote: > When trying to customize the variable file-coding-system-alist I get > the error > Invalid coding system: po-find-file-coding-system > (Started Emacs with "emacs -Q".) I tried fixing it. 2007-07-05 Katsumi Yamaoka * cus-start.el (file-coding-system-alist): Fix custom type. *** cus-start.el~ Sun Jul 1 21:52:18 2007 --- cus-start.el Thu Jul 5 05:03:26 2007 *************** *** 116,130 **** mule (alist :key-type (regexp :tag "File regexp") ! :value-type (choice ! :value (undecided . undecided) ! (cons :tag "Encoding/decoding pair" ! :value (undecided . undecided) ! (coding-system :tag "Decoding") ! (coding-system :tag "Encoding")) ! (coding-system :tag "Single coding system" ! :value undecided) ! (function :value ignore)))) (selection-coding-system mule coding-system) ;; dired.c (completion-ignored-extensions dired --- 116,141 ---- mule (alist :key-type (regexp :tag "File regexp") ! :value-type ! (choice ! :value (undecided . undecided) ! (cons :tag "Encoding/decoding pair" ! :value (undecided . undecided) ! (coding-system :tag "Decoding") ! (coding-system :tag "Encoding")) ! (coding-system ! :tag "Single coding system" ! :value undecided ! :validate ! (lambda (widget) ! (unless (or (coding-system-p (widget-value widget)) ! (functionp (widget-value widget))) ! (widget-put ! widget ! :error (format "Invalid coding system: %S" ! (widget-value widget))) ! widget))) ! (function :value ignore)))) (selection-coding-system mule coding-system) ;; dired.c (completion-ignored-extensions dired