Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: Group Customize
Date: 24 Sep 1998 02:12:25 -400	[thread overview]
Message-ID: <2niuieninq.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "23 Sep 1998 21:50:37 +0200"

>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

LMI> Shenghuo ZHU <zsh@cs.rochester.edu> 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  <zsh@cs.rochester.edu>
+
+	* gnus-cus.el (gnus-group-parameters): Add charset as a parameter
+
+Thu Sep 24 02:05:48 1998  ZHU Shenghuo  <zsh@cs.rochester.edu>
+
+	* gnus-cus.el (gnus-group-customize): Use variable as cons not as
+ 	group
+
 Thu Sep 24 01:41:03 1998  ZHU Shenghuo  <zsh@cs.rochester.edu>
 
 	* 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")))


      reply	other threads:[~1998-09-24  6:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-17 20:03 Shenghuo ZHU
1998-09-19 12:29 ` Lars Magne Ingebrigtsen
1998-09-20  3:47   ` Shenghuo ZHU
1998-09-23 19:50     ` Lars Magne Ingebrigtsen
1998-09-24  6:12       ` Shenghuo ZHU [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2niuieninq.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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.
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 NNTP newsgroup(s).