all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: bug-emacs <bug-emacs@gnu.org>
Subject: bug#5266: Per-host settings
Date: Thu, 24 Dec 2009 18:00:06 +0000	[thread overview]
Message-ID: <f92540e30912241000v14973594g56a7857a6df0e331@mail.gmail.com> (raw)

Hi,

I want to set my default face to a different size depending on the
host I'm on. Alternatively, I'd like to set it to a particular pixel
size regardless of the DPI setting (because that's what I'm really
trying to do!).

I can see a couple of ways of doing this:

1. Use X resources.

2. Use /bin/hostname.

In case 1, how do I set the size desired for an Xft font?

In case 2, how do I cope with the following comment I find in my
current customization file:

  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.

?

I used to set an X resource Xft.dpi to the same value on all hosts,
but that doesn't seem to affect Emacs 23.

-- 
http://rrt.sc3d.org
Matthew 5:37: tri-state logic considered harmful







             reply	other threads:[~2009-12-24 18:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-24 18:00 Reuben Thomas [this message]
2009-12-25  9:09 ` bug#5266: Per-host settings Andreas Schwab
2009-12-28 20:31   ` Reuben Thomas
     [not found]     ` <4B43570E.9090606@swipnet.se>
2010-01-08 23:44       ` Reuben Thomas
2010-01-09 12:08         ` Jan Djärv
2010-01-10 17:35           ` James Cloos
2010-01-10 18:51             ` Jan Djärv
2012-02-23 20:08               ` Glenn Morris
2012-02-25  3:12                 ` Chong Yidong
2010-01-10 17:47           ` Reuben Thomas
2010-01-10 18:55             ` Jan Djärv
2010-01-10 21:02               ` Reuben Thomas
2010-01-10 22:12                 ` Jan Djärv

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=f92540e30912241000v14973594g56a7857a6df0e331@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=5266@debbugs.gnu.org \
    --cc=bug-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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.