emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Re: Using Variable Width Fonts for org-mode and Fixed WidthforTablesss
Date: Wed, 02 Oct 2013 11:34:38 +0100	[thread overview]
Message-ID: <524BF6BE.9060002@wilkesley.net> (raw)
In-Reply-To: <m24n90ox6i.fsf@polytechnique.org>

On 02/10/13 10:10, Alan Schmitt wrote:
> Hi Ian,
>
> lists@wilkesley.net 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.

      reply	other threads:[~2013-10-02 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 13:51 Using Variable Width Fonts for org-mode and Fixed Width for Tables Ian Barton
2013-09-27  7:19 ` Using Variable Width Fonts for org-mode and Fixed Width forTabless Alan Schmitt
2013-10-02  8:28   ` Ian Barton
2013-10-02  9:10     ` Using Variable Width Fonts for org-mode and Fixed WidthforTablesss Alan Schmitt
2013-10-02 10:34       ` Ian Barton [this message]

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524BF6BE.9060002@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.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 public inbox

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

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).