unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Erin Brinkley <erin_brinkley@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Using proportional (variable-width) fonts in Emacs23
Date: Wed, 30 Mar 2011 11:00:17 +0200	[thread overview]
Message-ID: <87bp0t56fy.fsf@ambire.localdomain> (raw)
In-Reply-To: <898836.13190.qm@web121803.mail.ne1.yahoo.com> (Erin Brinkley's message of "Mon, 28 Mar 2011 09:22:51 -0700 (PDT)")

() Erin Brinkley <erin_brinkley@yahoo.com>
() Mon, 28 Mar 2011 09:22:51 -0700 (PDT)

   Anyone know of a hack - kludge - tip - workaround I can try in the
   meantime?

Personally, i use this:

--8<---------------cut here---------------start------------->8---
(define-derived-mode thinking-with-another-brain text-mode "TWAB"
  "Like Text mode, but with `variable-pitch' face and `visual-line-mode'."
  (define-key thinking-with-another-brain-map
    "'" (lambda () (interactive) (insert-and-inherit "’"))))

(add-hook 'thinking-with-another-brain-hook
          (lambda ()
            (auto-fill-mode -1)
            (facemenu-set-face 'variable-pitch (point-min) (point-max))
            (visual-line-mode 1)
            (set (make-variable-buffer-local 'truncate-lines) nil)))
--8<---------------cut here---------------end--------------->8---

It was recently written specifically to read (and correct small spelling and
grammar errors in) Turing Evolved by David Kitson, and so is not (yet) fully
generalized and most likely peculiar to my setup, but you get the idea, i
hope.  I found that double spacing the text first greatly helps readability.

I don't know if this qualifies as a hack, kludge, tip or workaround; YMMV.



  parent reply	other threads:[~2011-03-30  9:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-28 16:22 Using proportional (variable-width) fonts in Emacs23 Erin Brinkley
2011-03-28 18:29 ` Eli Zaretskii
2011-03-28 18:30 ` Tassilo Horn
     [not found] ` <mailman.5.1301337042.1646.help-gnu-emacs@gnu.org>
2011-03-28 23:58   ` Uday Reddy
2011-03-29  2:00     ` rusi
2011-03-29 19:28       ` Uday Reddy
2011-03-30  2:47         ` rusi
2011-03-30  8:33           ` Uday Reddy
2011-03-30 13:30             ` Pascal J. Bourguignon
2011-03-30 15:20               ` rusi
2011-03-30 15:53                 ` Pascal J. Bourguignon
2011-03-30 18:14                   ` Eli Zaretskii
2011-03-30 19:49                     ` PJ Weisberg
2011-03-30 20:29                       ` Eli Zaretskii
     [not found]                   ` <mailman.8.1301508895.9824.help-gnu-emacs@gnu.org>
2011-03-31  4:58                     ` Stefan Monnier
2011-03-31 18:42                       ` Eli Zaretskii
     [not found]                       ` <mailman.13.1301596981.19576.help-gnu-emacs@gnu.org>
2011-03-31 19:38                         ` Pascal J. Bourguignon
2011-03-31 19:51                           ` Eli Zaretskii
2011-04-01 17:26                         ` Stefan Monnier
2011-03-30 16:42               ` Peter Dyballa
2011-03-30  9:00 ` Thien-Thi Nguyen [this message]
     [not found] <mailman.0.1301334352.1646.help-gnu-emacs@gnu.org>
2011-03-28 23:01 ` Xah Lee

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87bp0t56fy.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=erin_brinkley@yahoo.com \
    --cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).