[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using proportional (variable-width) fonts in Emacs23
From: |
Thien-Thi Nguyen |
Subject: |
Re: Using proportional (variable-width) fonts in Emacs23 |
Date: |
Wed, 30 Mar 2011 11:00:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() 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.
- Re: Using proportional (variable-width) fonts in Emacs23, (continued)
- Re: Using proportional (variable-width) fonts in Emacs23, rusi, 2011/03/30
- Re: Using proportional (variable-width) fonts in Emacs23, Pascal J. Bourguignon, 2011/03/30
- Re: Using proportional (variable-width) fonts in Emacs23, Eli Zaretskii, 2011/03/30
- Re: Using proportional (variable-width) fonts in Emacs23, PJ Weisberg, 2011/03/30
- Re: Using proportional (variable-width) fonts in Emacs23, Eli Zaretskii, 2011/03/30
- Message not available
- Re: Using proportional (variable-width) fonts in Emacs23, Stefan Monnier, 2011/03/31
- Re: Using proportional (variable-width) fonts in Emacs23, Eli Zaretskii, 2011/03/31
- Message not available
- Re: Using proportional (variable-width) fonts in Emacs23, Pascal J. Bourguignon, 2011/03/31
- Re: Using proportional (variable-width) fonts in Emacs23, Eli Zaretskii, 2011/03/31
- Re: Using proportional (variable-width) fonts in Emacs23, Peter Dyballa, 2011/03/30
Re: Using proportional (variable-width) fonts in Emacs23,
Thien-Thi Nguyen <=
Re: Using proportional (variable-width) fonts in Emacs23, Xah Lee, 2011/03/28