From: Jambunathan K <kjambunathan@gmail.com>
To: Michal Nazarewicz <mpn@google.com>
Cc: Felix Lee <felix8a@gmail.com>, emacs-devel@gnu.org
Subject: Re: PATCH: num3-mode for highlighting groups of digits in long numbers
Date: Fri, 07 Sep 2012 04:48:15 +0530 [thread overview]
Message-ID: <87627qrb9k.fsf@gmail.com> (raw)
In-Reply-To: <xa1tsjav9l5r.fsf@mina86.com> (Michal Nazarewicz's message of "Thu, 06 Sep 2012 18:21:52 +0200")
> 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.
--
next prev parent reply other threads:[~2012-09-06 23:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 16:21 PATCH: num3-mode for highlighting groups of digits in long numbers Michal Nazarewicz
2012-09-06 17:23 ` Lars Ingebrigtsen
2012-09-06 21:22 ` Stefan Monnier
2012-09-25 20:40 ` Michal Nazarewicz
2012-09-26 1:07 ` Stefan Monnier
2012-09-26 12:27 ` Michal Nazarewicz
2012-09-26 12:56 ` Noah Lavine
2012-09-26 13:06 ` Michal Nazarewicz
2012-09-26 14:58 ` Lennart Borgman
2012-09-26 20:02 ` Stefan Monnier
2012-09-26 20:01 ` Stefan Monnier
2012-09-26 21:33 ` Michal Nazarewicz
2012-09-26 21:44 ` Stefan Monnier
2012-09-26 23:33 ` Michal Nazarewicz
2012-09-26 21:36 ` turn-on/off-*MODE* (was: Re: PATCH: num3-mode for highlighting groups of digits in long numbers) chad
2012-09-26 21:47 ` turn-on/off-*MODE* Stefan Monnier
2012-09-26 21:59 ` PATCH: num3-mode for highlighting groups of digits in long numbers felix
2012-09-06 23:18 ` Jambunathan K [this message]
2012-09-06 23:41 ` felix
2012-09-07 1:14 ` Michal Nazarewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87627qrb9k.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=felix8a@gmail.com \
--cc=mpn@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.