[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proportional fonts for code editing
From: |
David Hansen |
Subject: |
Re: proportional fonts for code editing |
Date: |
Sat, 19 May 2007 16:07:49 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
On Sat, 19 May 2007 18:26:14 +0530 Rustom Mody wrote:
> I have recently discovered proportional fonts and find that I can get
> more out of my 15 inch monitor with a proportional font than with the
> default. [I also tried fixed but its a bit too small]
If it's a TFT try rotating it.
> However for editing code, the spaces (at the left) are so narrow that
> it hardly shows the indentation.
>
> Are there any modes/tips for using using proportional fonts in
> gnu-emacs that make code editing easier?
> Ideally I would like a mode that makes spaces at the beginning of the
> line fatter, or else at least all spaces fatter than the default.
Not tested but should work:
(font-lock-add-keywords
'c-mode ; same with other modes
'(("^[[:space:]]*" 0 default))) ; use some face with a bigger or fixed font
here
David