unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "James H. Cloos Jr." <cloos@jhcloos.com>
Subject: describe-char and unicode data
Date: 09 May 2003 14:31:52 -0400	[thread overview]
Message-ID: <m3smro7yzr.fsf@lugabout.jhcloos.org> (raw)

Describe-char shows the unicode hex value of the character in question
if it exists (some chars do not translate to unicode).

Would a patch that expands that to also show the relevant data from
UnicodeData.txt be accepted?

Step one would be code to convert UnicodeData.txt to a suitable elisp
structure, generating a unicodedata.el file.  Given that, the
additional logic in describe-char is trivial.

To give an idea of the amount of data available, UnicodeData.txt is a
semicolon-separated text db with 15 fields per record, and currently
has 15100 records, so loading this may be an issue.  The related
Unihan.txt has up to 78 possible entries for each of 71098 characters.

The name entry from UnicodeData.txt and probably the kDefinition
entries from Unihan.txt would be the useful additions for
describe-char.  The rest of the data may however be useful elsewhere.

What is therefore the best structure to use for this data?

-JimC

             reply	other threads:[~2003-05-09 18:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-09 18:31 James H. Cloos Jr. [this message]
2003-05-10 10:06 ` describe-char and unicode data Eli Zaretskii
2003-05-10 16:23   ` James H. Cloos Jr.
2003-05-10 16:23 ` Florian Weimer
2003-05-10 16:39   ` James H. Cloos Jr.
2003-05-11 12:56     ` Richard Stallman
2003-05-11 13:04       ` Florian Weimer
2003-05-10 18:52   ` Simon Josefsson
2003-05-11 13:05     ` Florian Weimer
2003-05-11 14:34       ` Simon Josefsson
2003-05-12  7:38     ` Richard Stallman
2003-05-12 11:24       ` Simon Josefsson
2003-05-13  6:07       ` Simon Josefsson
2003-05-15  4:54         ` Richard Stallman
2003-05-11 12:55 ` Richard Stallman
2003-05-11 17:24   ` Stephen J. Turnbull
2003-05-12 11:22   ` Kenichi Handa
2003-05-14 13:49     ` Richard Stallman
2003-05-21 21:52   ` James H. Cloos Jr.
2003-05-22 15:29     ` Kevin Rodgers
2003-05-22 19:25       ` James H. Cloos Jr.
2003-05-23 12:04     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3smro7yzr.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).