[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Different width face in code
From: |
Eric M. Ludlam |
Subject: |
Different width face in code |
Date: |
Thu, 29 Nov 2001 09:35:57 -0500 |
Hi,
I thought it would be nifty to set font-lock-comment-face to be
slightly smaller than the default font so I could pack more comments
onto the screen, and found that multi-line comments in C code cause
the secondary lines to be pulled toward the left margin some.
This makes perfect sense since the spaces are now smaller than those
on the previous line. Would it make sense for the display engine to
optionally display or calculate the indentation spaces based on the
default font width instead of that of the inserting spaces? This would
be great for source code, but lame in other situations. I'm not
familiar with the C code so I can't guess as to the difficulty.
Eric
--
Eric Ludlam: address@hidden, address@hidden
Home: www.ultranet.com/~zappo Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
- Different width face in code,
Eric M. Ludlam <=