emacs-devel
[Top][All Lists]
Advanced

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

Re: PATCH: num3-mode for highlighting groups of digits in long numbers


From: Jambunathan K
Subject: Re: PATCH: num3-mode for highlighting groups of digits in long numbers
Date: Fri, 07 Sep 2012 04:48:15 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> Hello everyone,
>
> This time I bring to you a patch adding num3-mode which helps read long
> numbers by alternating highlighting of group of digits in a long
> number, so for instance something like:
>
>       12345678.12345678
>
> would be displayed as ("-" symbolising underscore):
>
>       12345678.12345678
>         ---       ---
>
> This also works for hexadecimal numbers by grouping 4-digits at a time,
> ie.:
>
>       0x0123456789ABCDEF
>         ----    ----

Just curious.

Can we highlight like telephone numbers by creating an *extra* dash,
space or a point.

Tel no: 1234567890 rendered as
Tel no: 12345-67890

In some ways, the highlighting as seen above is in-band and not
out-of-band (as underlines are).  It is also naturally how one would
write down long numbers on a piece of paper for ease of reading.

-- 



reply via email to

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