From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17267 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Group Customize Date: 19 Sep 1998 23:47:28 -400 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2ng1dnxx67.fsf@zsh.cs.rochester.edu> References: <5bemtafqww.fsf@schnapps.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155998 32459 80.91.224.250 (20 Oct 2002 23:19:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:19:58 +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 XAA27510 for ; Sat, 19 Sep 1998 23:42:37 -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 WAF19000; Sat, 19 Sep 1998 22:13:35 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 19 Sep 1998 22:42:22 -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 WAA02262 for ; Sat, 19 Sep 1998 22:42:08 -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 XAA27494 for ; Sat, 19 Sep 1998 23:42:00 -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 XAA17674 for ; Sat, 19 Sep 1998 23:41:58 -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 XAA24012 for ; Sat, 19 Sep 1998 23:41:41 -0400 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id XAA00825; Sat, 19 Sep 1998 23:47:29 -0400 Original-To: ding@gnus.org X-Attribution: ZSH In-Reply-To: Lars Magne Ingebrigtsen's message of "19 Sep 1998 14:29:26 +0200" Original-Lines: 49 User-Agent: Gnus/5.070031 (Pterodactyl Gnus v0.31) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17267 >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Shenghuo ZHU writes: >> When gnus-group-customize, I edited it like the followings. When press >> "G c" again, ERROR! Did I do something wrong? Or it is a bug. >> >> Variables: >> Set variables local to the group you are entering. [More] >> [INS] >> >> Unknown entries: >> [INS] [DEL] Lisp expression: (charset . cn-gb-2312) >> [INS] LMI> Hm. Perhaps there's something the matter with the spec for some LMI> variable? Does `(setq debug-on-error t)' give you a backtrace? LMI> -- LMI> (domestic pets only, the antidote for overdose, milk.) LMI> larsi@gnus.org * Lars Magne Ingebrigtsen 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. The follows are the backtrace. This bug appears in both emacs 20.3 and xemacs 20.4. Signaling: (wrong-type-argument listp cn-gb-2312) widget-match-inline((sexp :value "nil" :tag "Value") cn-gb-2312) widget-group-match-inline((group :value (nil nil) :args ((symbol :value "nil" :tag "Variable") (sexp :value "nil" :tag "Value"))) (charset . cn-gb-2312)) widget-group-match((group :value (nil nil) :args ((symbol :value "nil" :tag "Variable") (sexp :value "nil" :tag "Value"))) (charset . cn-gb-2312)) widget-apply((group :value (nil nil) :args ((symbol :value "nil" :tag "Variable") (sexp :value "nil" :tag "Value"))) :match (charset . cn-gb-2312)) widget-match-inline((group :value (nil nil) :args ((symbol :value "nil" :tag "Variable") (sexp :value "nil" :tag "Value"))) ((charset . cn-gb-2312))) widget-editable-list-match-inline((repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" :args ((group :value ... :args ...))) ((charset . cn-gb-2312))) widget-apply((repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" :args ((group :value ... :args ...))) :match-inline ((charset . cn-gb-2312))) widget-match-inline((repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" :args ((group :value ... :args ...))) ((charset . cn-gb-2312))) widget-group-value-create((group :value ((charset . cn-gb-2312)) :args ((set :inline t :greedy t :tag "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." :args ...) (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but ! who cares?" :args ...) (repeat :inline t :tag "Unknown entries" :args ...)))) widget-apply((group :value ((charset . cn-gb-2312)) :args ((set :inline t :greedy t :tag "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." :args ...) (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" :! args ...) (repeat :inline t :tag "Unknown entries" :args ...))) :value-create) widget-default-create((group :value ((charset . cn-gb-2312)) :args ((set :inline t :greedy t :tag "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." :args ...) (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who ! cares?" :args ...) (repeat :inline t :tag "Unknown entries" :args ...)))) widget-apply((group :value ((charset . cn-gb-2312)) :args ((set :inline t :greedy t :tag "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." :args ...) (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" :! args ...) (repeat :inline t :tag "Unknown entries" :args ...))) :create) widget-create(group :value ((charset . cn-gb-2312)) (set :inline t :greedy t :tag "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." (cons :format "%v%h\n" :doc "This will be used when doing followups and posts.\n\nThis is primarily useful in mail groups that represent closed\nmailing lists--mailing lists where it's expected that everybody that\nwrites to the mailing list is subscribed to it. Since using this\nparameter ensures that the mail only goes to the mailing list itself,\nit means that members won't receive two copies of your followups.\n\nUsing `to-address' will actually work whether the group is foreign or\nnot. Let's say there's a group on the server that is called\n`fa.4ad-l'. This is a real newsgroup, but the server has gotten the\narticles from a mail-to-news gateway. Posting directly to this group\nis therefor! e impossible--you have to send mail to the mailing list\naddress instead." (const :format "" to-address) (gnus-email-address :tag "To Address")) (cons :format "%v%h\n" :doc "This address will be used when doing a `a' in the group.\n\nIt is totally ignored when doing a followup--except that if it is\npresent in a news group, you'll get mail group semantics when doing\n`f'." (const :format "" to-list) (gnus-email-address :tag "To List")) (cons :format "%v%h\n" :doc "Ignore `Reply-To' headers in this group.\n\nThat can be useful if you're reading a mailing list group where the\nlistserv has inserted `Reply-To' headers that point back to the\nlistserv itself. This is broken behavior. So there!" (const :format "" broken-reply-to) (const :tag "Broken Reply To" t)) (cons :format "%v%h\n" :doc "All posts will be send to the specified group." (const :format "" to-group) (string :tag "To Group")) (cons :format "%v%h\n" :doc "Specify default value for GCC header.\n\nIf this symbol i! s present in the group parameter list and set to `t',\nnew compo! sed messages will be `Gcc''d to the current group. If it is\npresent and set to `none', no `Gcc:' header will be generated, if it\nis present and a string, this string will be inserted literally as a\n`gcc' header (this symbol takes precedence over any default `Gcc'\nrules as described later)." (const :format "" gcc-self) (choice :tag "GCC" :value t ... ... ...)) (cons :format "%v%h\n" :doc "All articles that are read will be marked as expirable." (const :format "" auto-expire) (const :tag "Automatic Expire" t)) (cons :format "%v%h\n" :doc "All read articles will be put through the expiry process\n\nThis happens even if they are not marked as expirable.\nUse with caution." (const :format "" total-expire) (const :tag "Total Expire" t)) (cons :format "%v%h\n" :doc "When to expire.\n\nOverrides any `nnmail-expiry-wait' and `nnmail-expiry-wait-function'\nwhen expiring expirable messages. The value can either be a number of\ndays (not necessarily an integer) or the symbols `never! ' or\n`immediate'." (const :format "" expiry-wait) (choice :tag "Expire Wait" :value never ... ... ...)) (cons :format "%v%h\n" :doc "Make the specified file into the current score file.\nThis means that all score commands you issue will end up in this file." (const :format "" score-file) (file :tag "Score File")) (cons :format "%v%h\n" :doc "Make the specified file into the current adaptive file.\nAll adaptive score entries will be put into this file." (const :format "" adapt-file) (file :tag "Adapt File")) (cons :format "%v%h\n" :doc "Administration address for a mailing list.\n\nWhen unsubscribing to a mailing list you should never send the\nunsubscription notice to the mailing list itself. Instead, you'd\nsend messages to the administrative address. This parameter allows\nyou to put the admin address somewhere convenient." (const :format "" admin-address) (gnus-email-address :tag "Admin Address")) (cons :format "%v%h\n" :doc "Which articles to display on entering the ! group.\n\n`all'\n Display all articles, both read and unread! .\n\n`default'\n Display the default visible articles, which normally includes\n unread and ticked articles." (const :format "" display) (choice :tag "Display" :value default ... ...)) (cons :format "%v%h\n" :doc "An arbitrary comment on the group." (const :format "" comment) (string :tag "Comment")) (cons :format "%v%h\n" :doc "Always display this group, even when there are no unread articles\nin it.." (const :format "" visible) (const :tag "Permanently visible" t))) (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables local to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a ! group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" (group :value (nil nil) (symbol :tag "Variable") (sexp :tag "Value"))) (repeat :inline t :tag "Unknown entries" sexp)) # gnus-group-parameters types info group error "No group on current line" 2 intern-soft gnus-newsrc-hashtb "Killed group; can't be edited" kill-buffer gnus-get-buffer-create "*Gnus Customize*" switch-to-buffer gnus-custom-mode make-local-variable gnus-custom-group widget-insert "Customize the " widget-create info-link :help-echo "Push me to learn more." :tag "group parameters" "(gnus)Group Parameters" " for <" "> and press " push-button "done" "Push me when done customizing." :action gnus-group-customize-done ".\n\n" gnus-custom-params :value 5 set :inline t :greedy "Parameters" :format "%t:\n%h%v" :doc "These special paramerters are recognized by Gnus.\nCheck the [ ] for the parameters you want to apply to this group, then\nedit the value to suit your taste." (repeat :inline t :tag "Variables" :format "%t:\n%h%v%i\n\n" :doc "Set variables l! ocal to the group you are entering.\n\nIf you want to turn threading off in `news.answers', you could put\n`(gnus-show-threads nil)' in the group parameters of that group.\n`gnus-show-threads' will be made into a local variable in the summary\nbuffer you enter, and the form `nil' will be `eval'ed there.\n\nThis can also be used as a group-specific hook function, if you'd\nlike. If you want to hear a beep when you enter a group, you could\nput something like `(dummy-variable (ding))' in the parameters of that\ngroup. `dummy-variable' will be set to the result of the `(ding)'\nform, but who cares?" ...) ...] 16 ("/u/zsh/emacs/xemacs/gnus-cus.elc" . 5472) (list (gnus-group-group-name))>("nnml:test") call-interactively(gnus-group-customize) -- Shenghuo