From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: set default font - globally Date: Fri, 19 Oct 2007 11:42:35 -0400 Organization: Harvard University Message-ID: <874pgnyutw.fsf@W0053328.mgh.harvard.edu> References: <873aw7sgr8.fsf@toyland.sauerland.de> <878x5zz0ol.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192812052 29347 80.91.229.12 (19 Oct 2007 16:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 16:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 18:40:51 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iiutv-0005VP-NZ for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2007 18:40:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iiuto-0006ii-9E for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2007 12:40:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!news.glorb.com!newspeer1.asbnva01.us.to.verio.net!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1192808726 11717 132.183.29.121 (19 Oct 2007 15:45:26 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Fri, 19 Oct 2007 15:45:26 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:E6CGUNboOAZW5V0kIg/OoRb62f0= Original-Xref: shelby.stanford.edu gnu.emacs.help:153077 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48583 Archived-At: jadamson@partners.org (Joel J. Adamson) writes: > Sebastian Kaps writes: > >> Hi! >> >> How can I set the default font for all current and future frames? >> set-default-font only applies to the current frame. > (add-to-list 'default-frame-alist '(font . "dejavu sans mono")) > (add-to-list 'default-frame-alist '(background-color . "black")) > (add-to-list 'default-frame-alist '(foreground-color . "white")) Hi, I forgot to mention that I use Emacs from CVS with Xft. Try substituting *-*&etc for "dejavu sans mono" Joel -- Joel J. Adamson Biostatistician Pediatric Psychopharmacology Research Unit Massachusetts General Hospital Boston, MA 02114 (617) 643-1432 (303) 880-3109