help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random color of variables in programming languages


From: Luca Ferrari
Subject: Re: random color of variables in programming languages
Date: Thu, 12 Dec 2013 15:21:23 +0000

On Wed, Dec 11, 2013 at 4:06 PM, Emanuel Berg <embe8573@student.uu.se> wrote:

> I don't know. That seems like a cool idea though. Then
> you would see (i.e., not read) all the occurrences of
> that variable at once. However I don't know how it
> would work in practice.

I've used it within kdevelop and I have to say it takes a few to get
used to, but then it is really cool.


> If you were to put it up, I wouldn't recommend random
> colors, instead you could use the variable *name* (the
> letters) as function input to be mapped to colors: the
> first letter - the ASCII position, "normalized" - could
> be red, the second - same for green - etc.
>

Using the variable name is a good idea, even if names could easily
produce a clash.
However, any suggestion on where to start (in elisp code) for variable
font face?

Thanks,
Luca



reply via email to

[Prev in Thread] Current Thread [Next in Thread]