From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67069 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: variable-pitch font in article buffer Date: Thu, 19 Jun 2008 15:10:40 +0900 Organization: NEC Electronics Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213887000 27379 80.91.229.12 (19 Jun 2008 14:50:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2008 14:50:00 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15536@lists.math.uh.edu Thu Jun 19 16:50:44 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1K9LSn-0005S5-J2 for ding-account@gmane.org; Thu, 19 Jun 2008 16:50:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1K9LQi-00006q-1n; Thu, 19 Jun 2008 09:48:04 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1K9DMH-0005vd-Kz for ding@lists.math.uh.edu; Thu, 19 Jun 2008 01:10:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1K9DMB-0003tS-Bg for ding@lists.math.uh.edu; Thu, 19 Jun 2008 01:10:57 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1K9DMS-0004yM-00 for ; Thu, 19 Jun 2008 08:11:08 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K9DM9-0006iP-2D for ding@gnus.org; Thu, 19 Jun 2008 06:10:49 +0000 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jun 2008 06:10:49 +0000 Original-Received: from miles by fencepost.gnu.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Jun 2008 06:10:49 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: fencepost.gnu.org System-Type: i686-pc-linux-gnu Blat: Foop Cancel-Lock: sha1:Iy9jcJ4YkQGzrArvAALxefM66Ro= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67069 Archived-At: Now that Emacs CVS has the face-remapping-alist featrue, I'll mention this little hack I have in ~/.gnus: (defun gnus-article-variable-pitch-mode (&optional arg) "Apply `variable-pitch-mode' in article buffer." (interactive (list (or current-prefix-arg (quote toggle)))) (with-current-buffer gnus-article-buffer (variable-pitch-mode arg))) (add-hook 'gnus-summary-mode-hook (lambda () (local-set-key "v" 'gnus-article-variable-pitch-mode))) (add-hook 'gnus-article-mode-hook (lambda () (variable-pitch-mode t))) I dunno if something similar is desirable for default Gnus, but having a variable-pitch font in the article buffer is often really nice -- messages with lots of prose can be significantly easier to read. However some articles really need a fixed-pitch font, thus the easy-to-hit summary-buffer binding to toggle variable-pitch mode in the article buffer. -Miles -- "Suppose we've chosen the wrong god. Every time we go to church we're just making him madder and madder." -- Homer Simpson