[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display "dash" as "minus" in programming language mode?
From: |
Miles Bader |
Subject: |
Re: Display "dash" as "minus" in programming language mode? |
Date: |
Thu, 09 Jul 2009 20:04:33 +0900 |
Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
> I couldn't restrict the effect to (Python) code, so all dashs in
> comments and strings became minuses, too. But the "\\B-\\B" worked
> quite well.
ah, ic...
Personally I think the default dejavu sans mono hyphen looks kind crappy
in comments and strings too, so a global replace would be fine, but I
suppose ymmv...
[I'd go so far as to call it a bug in dejavu sans mono -- a monospaced
font shouldn't have such a dinky hyphen. I guess they probably just
copied it from dejavu sans. Hmm, maybe I oughta file a bug report...]
-Miles
--
Accordion, n. An instrument in harmony with the sentiments of an assassin.
Re: Display "dash" as "minus" in programming language mode?, Kevin Rodgers, 2009/07/08