From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Hang in Emacs 21.3.50
Date: Fri, 29 Nov 2002 14:26:56 +0100 [thread overview]
Message-ID: <84el94jylb.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: 20021129111549.AA9B12563E@server2.fastmail.fm
"Dhruva Krishnamurthy" <seagull@fastmail.fm> writes:
> 2.
> (defconst my-def-font "-*-Arial
> Monospaced-normal-r-*-*-13-*-*-*-c-*-fontset-standard")
> (nconc default-frame-alist
> (list '(height . 40))
> (list '(font . my-def-font))
> (list '(background-color . "light grey")))
What you want is `(font . ,my-def-font) instead of '(font .
my-def-font) -- the latter uses the symbol my-def-font as the font,
the former evals it as a variable.
And I think nconc is somewhat dangerous (in esoteric cases). How
about the following?
(add-to-list 'default-frame-alist '(height . 40))
(add-to-list 'default-frame-alist `(font . ,my-def-font))
(add-to-list 'default-frame-alist '(background-color . "light grey"))
--
~/.signature is: umop ap!sdn (Frank Nobis)
next prev parent reply other threads:[~2002-11-29 13:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-29 11:15 Hang in Emacs 21.3.50 Dhruva Krishnamurthy
2002-11-29 13:26 ` Kai Großjohann [this message]
2002-11-30 14:05 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2002-12-04 11:01 Dhruva Krishnamurthy
2002-12-04 15:18 ` Eli Zaretskii
2002-12-04 21:57 ` Jason Rumney
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84el94jylb.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@uni-duisburg.de \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).