From: Eric Abrahamsen <girzel@gmail.com>
To: emacs-devel@gnu.org
Subject: fontsets/charsets documentation suggestion
Date: Wed, 1 Jul 2009 23:19:51 -0700 [thread overview]
Message-ID: <2349B30D-81A8-4018-A484-80EA84FB6498@gmail.com> (raw)
Hi,
Pursuant to this [1] thread on the carbon Emacs mailing list, I'm
writing in with a small request regarding the documentation for
fontsets in Emacs 23. I know that fonts, fontsets and charsets are one
of the more complicated aspects of Emacs, but I think for this exact
reason the documentation for fontsets and charsets should be beefed
up. Everything in the current docs is correct, but it is such a
complicated issue that I think a more basic, ramped-up (almost
tutorial-style) approach would be very helpful, particularly for
readers unfamiliar with the issue to begin with. In detail:
1. Clearer separation of Linux, Windows and Mac font issues – they
seem to be very different.
2. A glossary. What is a charset, what is a font registry, what is a
script name symbol, what is encoding and how are these things related?
A ground-up explanation of the ecology of bytes, encodings, charsets
and fonts would be great. Even, dare I say it, a diagram. This stuff
is very confusing.
3. What are the relevant functions and variables? As a non-expert user
of middling programming ability, I was totally baffled by set-fontset-
font and all the possible permutations of its arguments. Likewise for
create-fontset-from-fontset-spec. Since those two functions seem to be
the weapons of choice for font manipulation, their descriptions could
stand to be about four times as long as they are, with LOTS more
examples. And when you're trying to get your fontsets right
(particularly with multiple languages), you need to see lists of
possible charsets and registries. These lists are in variables like
charset-list and charset-script-alist which *aren't mentioned in the
docs*.
4. I think describe-char is the main tool people use for examining
characters. If that's the case, it would be nice to have clearer
correspondences between the information that describe-char produces,
and the information that set-fontset-font et al consumes. For
instance, describe-char now seems to report all characters as either
ascii or unicode-bmp -- this is less helpful when you're trying to
target a font to latin or han, for instance.
That was it. Emacs 23 is enormously better at handling multilingual
environments, but it would be even easier with more in-depth
documentation!
Thanks,
Eric
[1] http://groups.google.com/group/carbon-emacs/browse_thread/thread/a919ee739fe7c9fd
next reply other threads:[~2009-07-02 6:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-02 6:19 Eric Abrahamsen [this message]
2009-07-02 19:15 ` fontsets/charsets documentation suggestion Eli Zaretskii
2009-07-04 1:40 ` Eric Abrahamsen
2009-07-04 8:07 ` Eli Zaretskii
2009-07-04 22:14 ` Eric Abrahamsen
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=2349B30D-81A8-4018-A484-80EA84FB6498@gmail.com \
--to=girzel@gmail.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.