From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45469 Path: main.gmane.org!not-for-mail From: Josh Huber Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus and Mailcrypt Date: Mon, 01 Jul 2002 20:41:05 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87vg7zt10e.fsf@alum.wpi.edu> References: <87lm8x84yp.fsf@marant.org> <6uznxca5vn.fsf@zork.zork.net> <878z4w5xki.fsf@marant.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025570459 10327 127.0.0.1 (2 Jul 2002 00:40:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2002 00:40:59 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17PBj1-0002gL-00 for ; Tue, 02 Jul 2002 02:40:59 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17PBhG-00048R-00; Mon, 01 Jul 2002 19:39:11 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 01 Jul 2002 19:39:33 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA05504 for ; Mon, 1 Jul 2002 19:39:20 -0500 (CDT) Original-Received: (qmail 15227 invoked by alias); 2 Jul 2002 00:38:53 -0000 Original-Received: (qmail 15222 invoked from network); 2 Jul 2002 00:38:53 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 2 Jul 2002 00:38:53 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17PBlE-0002NR-00 for ; Tue, 02 Jul 2002 02:43:16 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: paradoxical.net Original-X-Trace: quimby.gnus.org 1025570596 8264 66.92.73.76 (2 Jul 2002 00:43:16 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 2 Jul 2002 00:43:16 GMT X-PGP-KeyID: 6B21489A X-Face: C%mBb*K1^od)w'=CH$WEZu/M^aR<,.n|1uAe,;MyNLKoel>F;-j[`L!>m:Y%/R}m&4&xuIM R%7Ez?vbd*Ns>VE;{\(yl|mGByV{D:Dm>'52].@P&t_s^,.d writes: > I'm surprised. In my installation, gnus-buttonized-mime-types > doesn't get defined until _after_ .gnus is loaded, so emacs choked > on the line: > > Debugger entered--Lisp error: (void-variable gnus-buttonized-mime-types) > (cons "multipart/signed" gnus-buttonized-mime-types) > (blah (blah blah)...) > > I added "multipart/signed" to my customize entry instead. > > Should the line above have worked? I'm new to elisp, but I thought you > couldn't assign to a variable if the RHS of the expression was defined > in terms of the variable itself, and the variable wasn't yet > defined. Should emacs assume that gnus-buttonized-mime-types would > evaluate to an empty list? Or is gnus-buttonized-mime-types supposed > to be defined by the time .gnus-reading happens? It's defined in gnus-art.el, so if you want to modify the value from .gnus.el, perhaps before all of gnus has been loaded, you must specifically tell Emacs to load the gnus-art module: (require 'gnus-art) [modify gnus-buttonized-mime-types here] Otherwise you're right -- what would emacs do? Even if you did set to a particular value (i.e. not reference the original variable in the RHS of the statement), when gnus-art.el got loaded the value would be overwritten... hope that helps, -- Josh Huber