From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gwenhael Newsgroups: gmane.emacs.devel Subject: Re: Guide for getting proportional fonts "where appropriate?" Date: Thu, 15 Mar 2012 09:32:43 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331804013 9711 80.91.229.3 (15 Mar 2012 09:33:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 09:33:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 15 10:33:32 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S873s-0005Uc-Di for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2012 10:33:32 +0100 Original-Received: from localhost ([::1]:55706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S873r-0005d0-Mq for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2012 05:33:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S873m-0005bo-MW for emacs-devel@gnu.org; Thu, 15 Mar 2012 05:33:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S873J-0002UD-RG for emacs-devel@gnu.org; Thu, 15 Mar 2012 05:33:26 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S873J-0002Sm-K8 for emacs-devel@gnu.org; Thu, 15 Mar 2012 05:32:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S873F-0004w8-J2 for emacs-devel@gnu.org; Thu, 15 Mar 2012 10:32:53 +0100 Original-Received: from 193.51.164.2 ([193.51.164.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Mar 2012 10:32:53 +0100 Original-Received: from gwenhael.le.moine by 193.51.164.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Mar 2012 10:32:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 193.51.164.2 (Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149076 Archived-At: Dave Abrahams 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))))