From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Using proportional (variable-width) fonts in Emacs23 Date: Wed, 30 Mar 2011 11:00:17 +0200 Message-ID: <87bp0t56fy.fsf@ambire.localdomain> References: <898836.13190.qm@web121803.mail.ne1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301475753 1286 80.91.229.12 (30 Mar 2011 09:02:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 09:02:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Erin Brinkley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 11:02:29 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4rIK-00030s-SL for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 11:02:29 +0200 Original-Received: from localhost ([127.0.0.1]:47721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4rHG-00032p-Jj for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 05:01:22 -0400 Original-Received: from [140.186.70.92] (port=52206 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4rGb-00032O-OE for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 05:00:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4rGZ-0006nk-MN for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 05:00:41 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:49508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4rGZ-0006n2-96 for help-gnu-emacs@gnu.org; Wed, 30 Mar 2011 05:00:39 -0400 Original-Received: from ambire.localdomain (79.0.68.34) by smtp204.alice.it (8.5.124.08) id 4D7E0F64015BE7FA; Wed, 30 Mar 2011 11:00:34 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1Q4rGD-0000xp-Jt; Wed, 30 Mar 2011 11:00:17 +0200 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)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.100 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80524 Archived-At: () Erin Brinkley () 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 "=E2=80=99")))) (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.