From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.help Subject: Re: Emacs default font Date: Mon, 5 Jul 2010 11:11:07 -0400 Message-ID: <20100705151107.GA3662@srevilak.net> References: <1278227071.8318.2.camel@bhargava-laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" X-Trace: dough.gmane.org 1278342711 29547 80.91.229.12 (5 Jul 2010 15:11:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Jul 2010 15:11:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 05 17:11:49 2010 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.69) (envelope-from ) id 1OVnKj-00067f-Tc for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 17:11:46 +0200 Original-Received: from localhost ([127.0.0.1]:48369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVnKj-0001rs-1N for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 11:11:45 -0400 Original-Received: from [140.186.70.92] (port=56519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVnKI-0001ri-AI for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 11:11:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVnKH-0006lz-2G for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 11:11:18 -0400 Original-Received: from mail2.sea5.speakeasy.net ([69.17.117.41]:46861) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVnKG-0006lj-Pj for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 11:11:17 -0400 Original-Received: (qmail 8744 invoked from network); 5 Jul 2010 15:11:14 -0000 Original-Received: from pool-173-48-171-194.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[173.48.171.194]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 5 Jul 2010 15:11:13 -0000 Content-Disposition: inline In-Reply-To: <1278227071.8318.2.camel@bhargava-laptop> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:74074 Archived-At: --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >From: bhargava >Hi all, >I would like to know what is the name of the default font in emacs. I >donot like the default font that comes with the ubuntu package. I used >emacs that I compiled from the source. For some reasons now I'm stuck up >with the emacs installed from the ubuntu repo. I liked the default font >that came with it. So I never cared about the font. I read some where >about cse-huji-default-font but could not find this using the M-x >command. (describe-variable). > >The font I'm talking about is some what similar to the font in this web >page http://www.gnu.org/software/emacs/tour/ . > >So please let me know what the default font of emacs is how to set it. X11 resources are a common way to specify fonts. To give an example, I have=20 $ egrep ^emacs.font ~/.Xresources emacs.font: -unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-= 0-iso10646-1 Which is reasonably close to the font shown in=20 http://www.gnu.org/software/emacs/tour/. There are two things to keep in mind when experimenting with Xresources. - If you edit a resource, you have to load it into the current X11 session. This can done with =20 xrdb < ~/.Xresources (You'll probably want to look at the xrdb and appres manual pages) - X11 resources are loaded at application startup. You'll need to restart emacs after making changes. Steve --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkwx9goACgkQX7YJI4BuyDQK4wCfUy7nrV7jpo+W1ORhONDEvjG6 s84AoNNQTNMzRlRy9c+1ItICNZsg9yJ2 =UFEI -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--