From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Bad value in file-coding-system-alist
Date: Mon, 09 Jul 2007 21:45:29 +0200 [thread overview]
Message-ID: <46929059.40703@gmail.com> (raw)
In-Reply-To: <b4my7hqe4wh.fsf@jpl.org>
Katsumi Yamaoka wrote:
>>>>>> Katsumi Yamaoka wrote:
>
>>> I guess the reason the `coding-system' widget doesn't check whether
>>> the value is a coding system is for the coding systems that are
>>> defined afterward, e.g., the ones to be autoloaded.
>
>> Therefore, I modified the `coding-system' widget only for
>> `file-coding-system-alist' so that it may not issue an error
>> signal when the value is a function. Committed in both
>> the Emacs trunk and the EMACS_22_BASE branch.
>
> Oops. The fix I committed was incorrect. I've fixed it again
> in the trunk and the EMACS_22_BASE branch. The following patch
> for the Emacs 22.1 release represents what I did:
Are you sure this is the right fix? Is not this a general problem with
Custom?
> *** cus-start.el~ Thu Apr 12 03:05:31 2007
> --- cus-start.el Mon Jul 9 01:33:47 2007
> ***************
> *** 122,129 ****
> :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
> --- 122,132 ----
> :value (undecided . undecided)
> (coding-system :tag "Decoding")
> (coding-system :tag "Encoding"))
> ! (coding-system
> ! :tag "Single coding system"
> ! :value undecided
> ! :match (lambda (widget value)
> ! (and value (not (functionp value)))))
> (function :value ignore))))
> (selection-coding-system mule coding-system)
> ;; dired.c
>
> Regards,
>
next prev parent reply other threads:[~2007-07-09 19:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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) [this message]
[not found] ` <mailman.3234.1184010349.32220.bug-gnu-emacs@gnu.org>
2007-07-10 6:05 ` Katsumi Yamaoka
[not found] <mailman.3064.1183567427.32220.bug-gnu-emacs@gnu.org>
2007-07-05 5:12 ` 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=46929059.40703@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=yamaoka@jpl.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).