From: Dave Love <d.love@dl.ac.uk>
Cc: handa@etl.go.jp, bug-gnu-emacs@gnu.org
Subject: Re: decode-char & utf-8-fragment-on-decoding
Date: 05 Sep 2002 23:47:44 +0100 [thread overview]
Message-ID: <rzqfzwot5nz.fsf@albion.dl.ac.uk> (raw)
In-Reply-To: 87vg5lovra.fsf@cricket.magic.csuhayward.edu
Thomas Morgan <tlm@pocketmail.com> writes:
> I understand now that utf-8-fragment-on-decoding has no direct effect
> on decoding, but it is still not clear to me what indirect effect it is
> supposed to have when it is set through Custom.
When you customize it, it runs setter code, the same way as global
minor mode customizations typically do. See the code if you really
care.
> Right now it applies
> to CCL programs, but not to decode-char. Is that correct?
I don't know what `it' refers to there.
> If so, perhaps that should be documented. It's a rather confusing
> point for me because I am not an expert; there are probably other
> non-experts who would also find it confusing.
I don't know what you think needs documenting -- can you suggest text?
Custom is aimed at non-experts (though I use it almost exclusively).
As far as I can tell, the doc for the option says accurately what it
does and why (except that you could define arbitrary translations in
the table).
> If it is not correct, however, how about making decode-char look for
> utf-8-translation-table-for-decode within translation-table-vector
> rather than accessing the Lisp variable directly?
I don't understand.
> The Custom set function for utf-8-fragment-on-decoding never changes
> the variable utf-8-translation-table-for-decode, but it does change
> the corresponding member of translation-table-vector by calling
> define-translation-table.
Correct.
I'm afraid I don't understand what the problem is, perhaps because I
don't have enough context.
next prev parent reply other threads:[~2002-09-05 22:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-04 5:56 decode-char & utf-8-fragment-on-decoding Thomas Morgan
2002-09-04 8:18 ` Kenichi Handa
2002-09-04 23:34 ` Dave Love
2002-09-05 1:25 ` Kenichi Handa
2002-09-05 22:45 ` Dave Love
2002-09-05 5:23 ` Thomas Morgan
2002-09-05 22:47 ` Dave Love [this message]
2002-09-06 1:13 ` Thomas Morgan
2002-09-07 23:14 ` Dave Love
2002-09-08 1:07 ` Thomas Morgan
2002-09-09 22:35 ` Dave Love
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 17:39 Thomas Morgan
2002-09-05 22:50 ` Dave Love
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=rzqfzwot5nz.fsf@albion.dl.ac.uk \
--to=d.love@dl.ac.uk \
--cc=bug-gnu-emacs@gnu.org \
--cc=handa@etl.go.jp \
/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.