From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: utf-translate-cjk only settable via Customize Date: Sat, 22 Mar 2003 16:38:45 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303222138.h2MLcjrx032294@rum.cs.yale.edu> References: <84zno3b7jy.fsf@lucy.is.informatik.uni-duisburg.de> <200303112004.h2BK4xwG012758@rum.cs.yale.edu> <84of4aw0hw.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048369523 19759 80.91.224.249 (22 Mar 2003 21:45:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2003 21:45:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 22 22:45:20 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wqno-00058G-00 for ; Sat, 22 Mar 2003 22:45:20 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18wqqC-0001SJ-00 for ; Sat, 22 Mar 2003 22:47:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wqmO-0005KP-07 for emacs-devel@quimby.gnus.org; Sat, 22 Mar 2003 16:43:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18wqlu-0005Ao-00 for emacs-devel@gnu.org; Sat, 22 Mar 2003 16:43:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18wqhl-0003NX-00 for emacs-devel@gnu.org; Sat, 22 Mar 2003 16:39:05 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18wqhT-000390-00 for emacs-devel@gnu.org; Sat, 22 Mar 2003 16:38:47 -0500 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h2MLckPe032296; Sat, 22 Mar 2003 16:38:46 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h2MLcjrx032294; Sat, 22 Mar 2003 16:38:45 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12527 > >> My suggestion would be to create a function utf-translate-cjk-mode > >> based on the :set expression for utf-translate-cjk and then change > >> the :set expression to invoke that function. > > > > Why not make it into a minor mode ? > > That's a good idea in principle, and I've now started on it. > However, the original defcustom contains a :set-after keyword and a > :version keyword. Can these be put into the define-minor-mode? IIRC, additional keyword args are just passed on to defcustom. I did this specifically for :version. Stefan