Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@metis.no>
Subject: Re: 0.97 on xemacs: Symbol's value as variable is void: user-full-name
Date: 30 Sep 1999 08:55:37 +0200	[thread overview]
Message-ID: <whn1u43n2u.fsf@viffer.oslo.metis.no> (raw)
In-Reply-To: Steinar Bang's message of "30 Sep 1999 08:46:42 +0200"

>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
>>>>> Didier Verna <verna@inf.enst.fr>:
>>> Steinar Bang <sb@metis.no> wrote:
>>>> Platform: pgnus 0.97, XEmacs 20.4 w/MULE, BBDB 2.00.3

>>>> I tried upgrading from 0.84 to 0.97, but all commands for sending
>>>> messages (reply, followup and gnus-bug) resulted in the error
>>>> message: Symbol's value as variable is void: user-full-name in the
>>>> minibuffer accompanied by a beep.

>>> Please set debug-on-error to t (Options menu => General Options) and
>>> show us the lisp backtrace.

>> This is all I got (aren't these backtraces usually a lot longer...?):

> Probably because it was byte-compiled.  Here's a backtrace from an
> uncompiled CVS checkout (0.97.1):

> Signaling: (void-variable user-full-name)
>   (or (cdr name) user-full-name)
> )
>   (list (quote user-full-name) (or (cdr name) user-full-name))
> )
>   (list (list (quote user-full-name) (or ... user-full-name)) (list (quote user-mail-address) (or ... user-mail-address)))
> )

Hm... is this this bit (starting at gnus-msg.el:1196)...?
        ...
	(add-hook 'message-setup-hook
		  `(lambda ()
		     (let ((user-full-name ,(or (cdr name) user-full-name))
			   (user-mail-address
			    ,(or (cdr address) user-mail-address)))
		       (save-excursion
			 (message-remove-header "From")
			 (message-goto-eoh)
			 (insert "From: " (message-make-from) "\n")))))))))
        ...

Aren't the things in let clauses sort of local variables?  Isn't it
allowed to overload a function name with a local variable?


  reply	other threads:[~1999-09-30  6:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-28 17:42 Steinar Bang
1999-09-28 18:02 ` Jody Klymak
1999-09-29  8:50   ` Steinar Bang
1999-09-29 15:41     ` Jody Klymak
1999-09-29  9:01   ` Jan Vroonhof
1999-09-29 12:29     ` Steinar Bang
1999-09-29 12:44       ` Karl Kleinpaste
1999-09-29 17:53         ` Shenghuo ZHU
1999-09-29 13:34       ` Kai Großjohann
1999-09-29 12:52 ` Didier Verna
1999-09-30  6:22   ` Steinar Bang
1999-09-30  6:46     ` Steinar Bang
1999-09-30  6:55       ` Steinar Bang [this message]
1999-09-30 18:47     ` Stainless Steel Rat
1999-09-30 19:10       ` Karl Kleinpaste
1999-10-01 12:45         ` Jan Vroonhof
1999-10-04  7:23           ` Steinar Bang
1999-10-04  7:32             ` Steinar Bang
1999-10-04 16:09             ` Stainless Steel Rat
1999-10-05 17:09               ` Toni Drabik
1999-10-05 17:41                 ` Stainless Steel Rat

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=whn1u43n2u.fsf@viffer.oslo.metis.no \
    --to=sb@metis.no \
    /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).