unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Guide for getting proportional fonts "where appropriate?"
@ 2012-03-15  1:32 Dave Abrahams
  2012-03-15  9:32 ` Gwenhael
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Abrahams @ 2012-03-15  1:32 UTC (permalink / raw)
  To: emacs-devel


I've been looking around for a way to get proportional fonts to be used
somewhat more uniformly in prose contexts (like `M-x info') and not at
all in code contexts.  Does anyone know of a way short of customizing
lots and lots of faces?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guide for getting proportional fonts "where appropriate?"
  2012-03-15  1:32 Guide for getting proportional fonts "where appropriate?" Dave Abrahams
@ 2012-03-15  9:32 ` Gwenhael
  0 siblings, 0 replies; 2+ messages in thread
From: Gwenhael @ 2012-03-15  9:32 UTC (permalink / raw)
  To: emacs-devel

Dave Abrahams <dave <at> boostpro.com> writes:
> 
> I've been looking around for a way to get proportional fonts to be used
> somewhat more uniformly in prose contexts (like `M-x info') and not at
> all in code contexts.  Does anyone know of a way short of customizing
> lots and lots of faces?
> 
> Thanks,
> 


Hi,

I have the following code to do exactly that in my .emacs although I can't quite
remember where I found it:

  (dolist (hook '(erc-mode-hook
                  LaTeX-mode-hook
                  edit-server-start-hook
                  markdown-mode-hook
                  twittering-mode
                  text-mode
                  fundamental-mode))
    (add-hook hook (lambda () (variable-pitch-mode t))))





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-15  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-15  1:32 Guide for getting proportional fonts "where appropriate?" Dave Abrahams
2012-03-15  9:32 ` Gwenhael

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).