[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5266: Per-host settings

From: Reuben Thomas
Subject: bug#5266: Per-host settings
Date: Thu, 24 Dec 2009 18:00:06 +0000


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.

Matthew 5:37: tri-state logic considered harmful

reply via email to

[Prev in Thread] Current Thread [Next in Thread]