From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67104 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: variable-pitch font in article buffer Date: Tue, 01 Jul 2008 15:41:52 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86abh1uyjz.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214944722 11231 80.91.229.12 (1 Jul 2008 20:38:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2008 20:38:42 +0000 (UTC) Cc: ding@gnus.org To: Miles Bader Original-X-From: ding-owner+M15568@lists.math.uh.edu Tue Jul 01 22:39:27 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 1KDmdE-0002M1-IX for ding-account@gmane.org; Tue, 01 Jul 2008 22:39:20 +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 1KDmcE-0006n0-F2; Tue, 01 Jul 2008 15:38:18 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KDmcD-0006mm-9V for ding@lists.math.uh.edu; Tue, 01 Jul 2008 15:38:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KDmc9-0001Dx-CS for ding@lists.math.uh.edu; Tue, 01 Jul 2008 15:38:17 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KDmcS-0000ai-00 for ; Tue, 01 Jul 2008 22:38:33 +0200 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id B9ED77D9527; Tue, 1 Jul 2008 13:37:46 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:080701:miles@gnu.org::A5phmw6CmVoiA3tl:00002yYZ X-Hashcash: 1:20:080701:ding@gnus.org::gc55b/5a9kpRsDmD:000053b5 In-Reply-To: (Miles Bader's message of "Thu, 19 Jun 2008 15:10:40 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67104 Archived-At: On Thu, 19 Jun 2008 15:10:40 +0900 Miles Bader wrote: MB> Now that Emacs CVS has the face-remapping-alist featrue, I'll mention MB> this little hack I have in ~/.gnus: MB> (defun gnus-article-variable-pitch-mode (&optional arg) MB> "Apply `variable-pitch-mode' in article buffer." MB> (interactive (list (or current-prefix-arg (quote toggle)))) MB> (with-current-buffer gnus-article-buffer MB> (variable-pitch-mode arg))) MB> (add-hook 'gnus-summary-mode-hook MB> (lambda () (local-set-key "v" 'gnus-article-variable-pitch-mode))) MB> (add-hook 'gnus-article-mode-hook MB> (lambda () (variable-pitch-mode t))) MB> I dunno if something similar is desirable for default Gnus, but having a MB> variable-pitch font in the article buffer is often really nice -- MB> messages with lots of prose can be significantly easier to read. MB> However some articles really need a fixed-pitch font, thus the MB> easy-to-hit summary-buffer binding to toggle variable-pitch mode in the MB> article buffer. This might make sense as a group/topic property that's also triggered by article contents, etc. How do you use it, always manually? Ted