Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Miles Bader <miles@gnu.org>
Cc: ding@gnus.org
Subject: Re: variable-pitch font in article buffer
Date: Tue, 01 Jul 2008 15:41:52 -0500	[thread overview]
Message-ID: <86abh1uyjz.fsf@lifelogs.com> (raw)
In-Reply-To: <buoskvax8db.fsf@dhapc248.dev.necel.com> (Miles Bader's message of "Thu, 19 Jun 2008 15:10:40 +0900")

On Thu, 19 Jun 2008 15:10:40 +0900 Miles Bader <miles@gnu.org> 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



  reply	other threads:[~2008-07-01 20:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-19  6:10 Miles Bader
2008-07-01 20:41 ` Ted Zlatanov [this message]
2008-07-01 22:18   ` Miles Bader
2008-07-03 20:59     ` Ted Zlatanov
2008-07-03 21:10       ` Miles Bader
2008-07-04 12:55       ` James Cloos
2008-07-04 14:13         ` Miles Bader

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

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

  git send-email \
    --in-reply-to=86abh1uyjz.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=miles@gnu.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.
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 NNTP newsgroup(s).