[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using proportional (variable-width) fonts in Emacs23
From: |
Pascal J. Bourguignon |
Subject: |
Re: Using proportional (variable-width) fonts in Emacs23 |
Date: |
Wed, 30 Mar 2011 15:30:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Uday Reddy <uDOTsDOTreddy@cs.bham.ac.uk> writes:
> On 3/30/2011 3:47 AM, rusi wrote:
>
>> By reducing these questions to habits, the implication is that say for
>> younger folk who only know 'modern' technology (like Word) things like
>> emacs will be suboptimal and in fact make no sense.
>
> No, I didn't imply that. Monospace may be better for the younger folk
> too. Or, maybe it isn't. They will have to try out for themselves
> and figure out which works better. I am afraid I don't have a theory
> of monospace. You are probably looking for one ;-)
>
> On the other hand, the notion that proportional fonts are easier to
> read will have plenty of takers. So, everything Emacs can do to
> support proportional fonts will be very welcome.
Yes, for text.
For programming languages, even if indentation is correctly impleented,
the situation is more difficult.
Program readability is often a 2D affair, where you want things to align
in columns to stress on the homogeneity of the structures.
For example, this first declaration block is more readable (use a
non-proportional font to read my messages!):
var
m: integer;
i: integer;
color: integer;
sizeOfTheBox: cardinal;
than this other one, where I simulate proportional font with a different
number of spaces:
var
m: integer
i: integer;
color: integer;
sizeOfTheBox: cardinal;
Another example:
This is less readable:
doSomething(object1,arg1,arg2forObject,arg3);
doSomething(o2,arg1,a2o2,arg3);
than:
doSomething(object1,arg1,arg2forObject,arg3);
doSomething(o2, arg1,a2o2, arg3);
because in the later we see immediately that only the first and third
arguments change, while in the former, you need to parse it and give it
more attention. Unfortunately, Editors with proportional fonts don't
have indenting and formating algorithms sophisticated enough to render
code like in the later example (that would require even more than
understanding the program!).
So proportional fonts are hoplessly useless for programming.
Now of course, emacs has a sizeable user community amongst the
novelists and literature authors, not counting the technical writers
editing software documentation, for whom proportional font support is
nice.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
- Using proportional (variable-width) fonts in Emacs23, Erin Brinkley, 2011/03/28
- Re: Using proportional (variable-width) fonts in Emacs23, Eli Zaretskii, 2011/03/28
- Re: Using proportional (variable-width) fonts in Emacs23, Tassilo Horn, 2011/03/28
- Message not available
- Re: Using proportional (variable-width) fonts in Emacs23, Uday Reddy, 2011/03/28
- Re: Using proportional (variable-width) fonts in Emacs23, rusi, 2011/03/28
- Re: Using proportional (variable-width) fonts in Emacs23, Uday Reddy, 2011/03/29
- Re: Using proportional (variable-width) fonts in Emacs23, rusi, 2011/03/29
- Re: Using proportional (variable-width) fonts in Emacs23, Uday Reddy, 2011/03/30
- Re: Using proportional (variable-width) fonts in Emacs23,
Pascal J. Bourguignon <=
- 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