From: Katsumi Yamaoka <yamaoka@jpl.org>
To: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Bad value in file-coding-system-alist
Date: Sat, 07 Jul 2007 10:43:51 +0900 [thread overview]
Message-ID: <b4m644xc7jc.fsf@jpl.org> (raw)
In-Reply-To: mailman.3136.1183732892.32220.bug-gnu-emacs@gnu.org
>>>>> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
> But is this really the right fix? It looks to me like there is a more
> general bug in customize, please see the message I sent after the one
> you responded to hear.
I see. Thanks. 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. So, I think the right fix is to check whether the
value is not a function. A new patch is below. WDYT?
*** cus-start.el~ Tue Jul 3 14:41:31 2007
--- cus-start.el Sat Jul 7 01:41:21 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,134 ----
: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
! (symbolp value)
! (not (functionp value)))))
(function :value ignore))))
(selection-coding-system mule coding-system)
;; dired.c
P.S. I'm sorry I'm inactive in the net every weekend.
next prev parent reply other threads:[~2007-07-07 1:43 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 [this message]
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
[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=b4m644xc7jc.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=lennart.borgman@gmail.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 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).