From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: RFC: locale-sensitive Emacs functions
Date: Mon, 27 Mar 2017 23:06:30 -0400 [thread overview]
Message-ID: <87lgrq5ccp.fsf@lifelogs.com> (raw)
Eli and I discussed adding commas to separate digits of a number, a very
common need mentioned here and also addressed in the Emacs Wiki etc.:
https://www.reddit.com/r/emacs/comments/61mhyx/creating_a_function_to_add_commasseparators_to/dfga1h4/
I mentioned that commas are only used in some regions, and the C
libraries often support "%'d" to do this in a locale-sensitive way.
I think it makes sense to provide this specifier in `format' as well,
even though it's locale-sensitive. Eli wasn't sure.
What do you think?
Thanks
Ted
next reply other threads:[~2017-03-28 3:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 3:06 Ted Zlatanov [this message]
2017-03-28 4:10 ` RFC: locale-sensitive Emacs functions Gdobbins
2017-03-28 4:37 ` Paul Eggert
2017-03-28 11:59 ` Gdobbins
2017-03-28 12:45 ` Ted Zlatanov
2017-03-30 18:27 ` Ted Zlatanov
2017-03-31 4:27 ` Gdobbins
2017-03-31 17:59 ` Davis Herring
2017-03-28 19:37 ` Paul Eggert
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=87lgrq5ccp.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.org \
/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.