unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: gnu-emacs-bug@moderators.isc.org
Subject: Re: Bad value in file-coding-system-alist
Date: Thu, 05 Jul 2007 14:12:53 +0900	[thread overview]
Message-ID: <b4mwsxfxwkq.fsf@jpl.org> (raw)
In-Reply-To: mailman.3064.1183567427.32220.bug-gnu-emacs@gnu.org

>>>>> 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  <yamaoka@jpl.org>

	* 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

       reply	other threads:[~2007-07-05  5:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3064.1183567427.32220.bug-gnu-emacs@gnu.org>
2007-07-05  5:12 ` Katsumi Yamaoka [this message]
2007-07-04 16:43 Bad value in file-coding-system-alist Lennart Borgman (gmail)
2007-07-06  8:25 ` Lennart Borgman (gmail)
2007-07-06  8:39 ` Lennart Borgman (gmail)
     [not found] ` <mailman.3116.1183710309.32220.bug-gnu-emacs@gnu.org>
2007-07-06 11:33   ` Katsumi Yamaoka
2007-07-06 14:41     ` Lennart Borgman (gmail)
     [not found]     ` <mailman.3136.1183732892.32220.bug-gnu-emacs@gnu.org>
2007-07-07  1:43       ` Katsumi Yamaoka
2007-07-09  0:20         ` Katsumi Yamaoka
     [not found]         ` <mailman.3199.1183940449.32220.bug-gnu-emacs@gnu.org>
2007-07-09  1:34           ` Katsumi Yamaoka
2007-07-09 19:45             ` Lennart Borgman (gmail)
     [not found]             ` <mailman.3234.1184010349.32220.bug-gnu-emacs@gnu.org>
2007-07-10  6:05               ` Katsumi Yamaoka

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=b4mwsxfxwkq.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /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).