|
From: | Ian Barton |
Subject: | Re: [O] Using Variable Width Fonts for org-mode and Fixed WidthforTablesss |
Date: | Wed, 02 Oct 2013 11:34:38 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 02/10/13 10:10, Alan Schmitt wrote:
Hi Ian, address@hidden writes: ur help.That sort of works. The fonts in org-table, etc are fixed pitch as expected. However, I seem unable to set a variable width font using text-mode-hook. Whatever font I choose Emacs ends up using DejaVu Sans Mono.Is it because the "variable-pitch-mode" is not set, or because the face associated with it is not applied? What happens when you do a "M-x variable-pitch-mode"? Alan
Aha! As you suggest variable-pitch-mode isn't being set. Doing an "M-x variable-pitch-mode" sets the font correctly. So either text-mode-hook isn't being called, or something is resetting it.
[Time passes...]Just had a look through my .emacs and I was using text-mode-hook later on to turn on autofill. So problem solved, thanks very much for your help.
Ian.
[Prev in Thread] | Current Thread | [Next in Thread] |