From: Steinar Bang <sb@metis.no>
Subject: Re: 0.97 on xemacs: Symbol's value as variable is void: user-full-name
Date: 04 Oct 1999 09:23:45 +0200 [thread overview]
Message-ID: <whu2o7twqm.fsf@viffer.oslo.metis.no> (raw)
In-Reply-To: Jan Vroonhof's message of "01 Oct 1999 14:45:45 +0200"
>>>>> Jan Vroonhof <vroonhof@math.ethz.ch>:
> Karl Kleinpaste <karl@justresearch.com> 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)
next prev parent reply other threads:[~1999-10-04 7:23 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
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 [this message]
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=whu2o7twqm.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).