From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25624 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: 0.97 on xemacs: Symbol's value as variable is void: user-full-name Date: 04 Oct 1999 09:23:45 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162976 15004 80.91.224.250 (21 Oct 2002 01:16:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:16:16 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA25192 for ; Mon, 4 Oct 1999 03:29:26 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB20605; Mon, 4 Oct 1999 02:25:23 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 04 Oct 1999 02:25:57 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA13343 for ; Mon, 4 Oct 1999 02:25:47 -0500 (CDT) Original-Received: from viffer.oslo.metis.no (sb@viffer.oslo.metis.no [195.0.254.249]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id DAA25187 for ; Mon, 4 Oct 1999 03:23:48 -0400 (EDT) Original-Received: (from sb@localhost) by viffer.oslo.metis.no (8.8.8/8.8.8) id JAA04905; Mon, 4 Oct 1999 09:23:45 +0200 Original-To: ding@gnus.org In-Reply-To: Jan Vroonhof's message of "01 Oct 1999 14:45:45 +0200" Original-Lines: 28 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25624 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25624 >>>>> Jan Vroonhof : > Karl Kleinpaste writes: >> > It is a function, not a variable. >> It is both, in newer XEmacsen. Are there newer release versions than 20.4? > Yes. But you should never read the variable. Indeed. But how would/should the syntax look like for this? ... (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"))))))))) ... Should user-full-name be surrounded by parantheses for it to be a function call, I wonder...? (correct guess: lisp isn't my strongest side)