unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eddie <penguinismo@almostconnecticut.net>
To: help-gnu-emacs@gnu.org
Subject: Changing the default font on the fly
Date: Sat, 23 Jun 2012 17:18:12 -0400	[thread overview]
Message-ID: <20120623171812.26a1fce1@mageiahp> (raw)
In-Reply-To: <mailman.169.1340467234.20353.help-gnu-emacs@gnu.org>

The default font in my Emacs 23.3 (various Linux installations) is
DejaVu Sans Mono Book 11. That's perfect for the calendar and my phone
book, etc. if I want to do some longer writing in a more readable
font, I can use the menu and go Options | Set Default Font | nibble
through the various choices.

But I'd rather not use the menu. I would like to get a hunk of code
that is the functional equivalent to Options | Set Default Font | Droid
Sans Regular 12. 

I don't know how to accomplish this on my own (I'm primarily a writer
and editor, and I've never demonstrated any talent for programming),
nor have I found any examples online that I could modify for my own
uses. 

And from there I would like to assign that hunk of code to a keystroke
series. I've assigned some macros to keystrokes, so I think I can do
that part.

Any suggestions would be gratefully appreciated.



       reply	other threads:[~2012-06-23 21:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.169.1340467234.20353.help-gnu-emacs@gnu.org>
2012-06-23 21:18 ` Eddie [this message]
2012-06-23 21:25   ` Changing the default font on the fly Drew Adams
2012-06-23 22:50     ` Eddie
2012-06-24  0:11       ` Thien-Thi Nguyen
2012-06-23 23:17   ` Bill White

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=20120623171812.26a1fce1@mageiahp \
    --to=penguinismo@almostconnecticut.net \
    --cc=help-gnu-emacs@gnu.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).