From: Josh Huber <huber@alum.wpi.edu>
Subject: Re: Gnus and Mailcrypt
Date: Mon, 01 Jul 2002 20:41:05 -0400 [thread overview]
Message-ID: <87vg7zt10e.fsf@alum.wpi.edu> (raw)
In-Reply-To: <m3k7ofxbh2.fsf@washer.barillari.org>
Joseph Barillari <jbarilla@princeton.edu> 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
next prev parent reply other threads:[~2002-07-02 0:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-30 9:56 Jérôme Marant
2002-06-30 19:45 ` Kai Großjohann
2002-06-30 20:06 ` Sean Neakums
2002-06-30 20:16 ` Kai Großjohann
2002-06-30 20:26 ` Sean Neakums
2002-06-30 20:19 ` Jérôme Marant
2002-07-01 23:41 ` Joseph Barillari
2002-07-02 0:41 ` Josh Huber [this message]
2002-07-02 8:47 ` Sean Neakums
2002-07-02 17:41 ` Josh Huber
2002-07-03 15:41 ` Sean Neakums
2002-07-03 16:31 ` Kai Großjohann
2002-07-03 18:11 ` Josh Huber
2002-07-04 7:54 ` Sean Neakums
2002-07-05 17:08 ` Josh Huber
2002-07-04 7:52 ` defvar and interactive evaluation Sean Neakums
2002-07-04 10:27 ` Kai Großjohann
2002-07-02 8:41 ` Gnus and Mailcrypt Kai Großjohann
2002-06-30 20:13 ` Jérôme Marant
2002-06-30 20:23 ` Sean Neakums
2002-06-30 20:27 ` Jérôme Marant
2002-06-30 21:20 ` Simon Josefsson
2002-07-01 5:27 ` Jérôme Marant
2002-06-30 21:45 ` Reiner Steib
2002-06-30 19:55 ` Reiner Steib
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=87vg7zt10e.fsf@alum.wpi.edu \
--to=huber@alum.wpi.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).