From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17367 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Group Customize Date: 24 Sep 1998 02:12:25 -400 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2niuieninq.fsf@zsh.cs.rochester.edu> References: <5bemtafqww.fsf@schnapps.cs.rochester.edu> <2ng1dnxx67.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156080 543 80.91.224.250 (20 Oct 2002 23:21:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:21:20 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA03521 for ; Thu, 24 Sep 1998 02:06:52 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id AAF04641; Thu, 24 Sep 1998 00:37:42 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 24 Sep 1998 01:06:34 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id BAA07075 for ; Thu, 24 Sep 1998 01:06:25 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id CAA03511 for ; Thu, 24 Sep 1998 02:06:18 -0400 (EDT) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id CAA21700 for ; Thu, 24 Sep 1998 02:06:17 -0400 Original-Received: from brain.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id CAA13079 for ; Thu, 24 Sep 1998 02:06:15 -0400 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id CAA01586; Thu, 24 Sep 1998 02:12:26 -0400 Original-To: ding@gnus.org X-Attribution: ZSH In-Reply-To: Lars Magne Ingebrigtsen's message of "23 Sep 1998 21:50:37 +0200" Original-Lines: 55 User-Agent: Gnus/5.070032 (Pterodactyl Gnus v0.32) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17367 >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Shenghuo ZHU writes: >> When I put varialbe charset and value cn-gb-2312 in the *Variables* >> section, it is equivalent to (charset cn-gb-2312) in *Unknown >> entries*, but it does not work. So I have to put >> (charset . cn-gb-2312) in the section. LMI> I'm not all that familiar with how gnus-group-customize does its LMI> work. Could you try to debug this? Patch attached. -- Shenghuo --------------------------------------------------------------------------- --- ChangeLog 1998/09/24 06:01:07 1.2 +++ ChangeLog 1998/09/24 06:08:44 @@ -1,3 +1,12 @@ +Thu Sep 24 02:08:10 1998 ZHU Shenghuo + + * gnus-cus.el (gnus-group-parameters): Add charset as a parameter + +Thu Sep 24 02:05:48 1998 ZHU Shenghuo + + * gnus-cus.el (gnus-group-customize): Use variable as cons not as + group + Thu Sep 24 01:41:03 1998 ZHU Shenghuo * base64.el (base64-run-command-on-region): External base64 --- gnus-cus.el 1998/09/24 06:04:25 1.1 +++ gnus-cus.el 1998/09/24 06:05:06 @@ -159,7 +159,11 @@ (visible (const :tag "Permanently visible" t) "\ Always display this group, even when there are no unread articles -in it..")) +in it..") + + (charset (string :tag "Charset") "\ +The default charset to use in the group.") +) "Alist of valid group parameters. Each entry has the form (NAME TYPE DOC), where NAME is the parameter @@ -232,7 +236,7 @@ put something like `(dummy-variable (ding))' in the parameters of that group. `dummy-variable' will be set to the result of the `(ding)' form, but who cares?" - (group :value (nil nil) + (cons :format "%v" :value (nil . nil) (symbol :tag "Variable") (sexp :tag "Value")))