* etc/nxml/*.el duplicate lisp/international/uni-name.el?
@ 2010-10-17 15:28 Kan-Ru Chen
2010-10-18 18:16 ` Chong Yidong
0 siblings, 1 reply; 5+ messages in thread
From: Kan-Ru Chen @ 2010-10-17 15:28 UTC (permalink / raw)
To: emacs-devel
It seems etc/nxml/*.el, some unicode name to code point tables,
are only used by `nxml-insert-named-char'. It looks like a variant of
`ucs-insert' while outputs NCR instead of real character.
Should nxml use `read-char-by-name' so we could remove a bunch of
duplicated data?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: etc/nxml/*.el duplicate lisp/international/uni-name.el?
2010-10-17 15:28 etc/nxml/*.el duplicate lisp/international/uni-name.el? Kan-Ru Chen
@ 2010-10-18 18:16 ` Chong Yidong
2010-10-19 9:25 ` Kan-Ru Chen
0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2010-10-18 18:16 UTC (permalink / raw)
To: Kan-Ru Chen; +Cc: emacs-devel
Kan-Ru Chen <kanru@kanru.info> writes:
> It seems etc/nxml/*.el, some unicode name to code point tables,
> are only used by `nxml-insert-named-char'. It looks like a variant of
> `ucs-insert' while outputs NCR instead of real character.
>
> Should nxml use `read-char-by-name' so we could remove a bunch of
> duplicated data?
The tables are also required by nxml-get-char-name, so we would also
need a generic replacement for that. Help welcome.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: etc/nxml/*.el duplicate lisp/international/uni-name.el?
2010-10-18 18:16 ` Chong Yidong
@ 2010-10-19 9:25 ` Kan-Ru Chen
2010-10-19 16:38 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Kan-Ru Chen @ 2010-10-19 9:25 UTC (permalink / raw)
To: emacs-devel
Chong Yidong <cyd@stupidchicken.com> writes:
> Kan-Ru Chen <kanru@kanru.info> writes:
>
>> It seems etc/nxml/*.el, some unicode name to code point tables,
>> are only used by `nxml-insert-named-char'. It looks like a variant of
>> `ucs-insert' while outputs NCR instead of real character.
>>
>> Should nxml use `read-char-by-name' so we could remove a bunch of
>> duplicated data?
>
> The tables are also required by nxml-get-char-name, so we would also
> need a generic replacement for that. Help welcome.
I'd like to help!
But I am wondering what function/variable should be considered public
interface to be kept compatible. For example, currently nxml allow
customize nxml-enabled-unicode-blocks, so I have to keep it, but what
about other defuns/defvars?
- Newbie to Emacs internals
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: etc/nxml/*.el duplicate lisp/international/uni-name.el?
2010-10-19 9:25 ` Kan-Ru Chen
@ 2010-10-19 16:38 ` Stefan Monnier
2010-10-20 0:44 ` Kan-Ru Chen
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2010-10-19 16:38 UTC (permalink / raw)
To: Kan-Ru Chen; +Cc: emacs-devel
>>> It seems etc/nxml/*.el, some unicode name to code point tables,
>>> are only used by `nxml-insert-named-char'. It looks like a variant of
>>> `ucs-insert' while outputs NCR instead of real character.
>>> Should nxml use `read-char-by-name' so we could remove a bunch of
>>> duplicated data?
>> The tables are also required by nxml-get-char-name, so we would also
>> need a generic replacement for that. Help welcome.
> But I am wondering what function/variable should be considered public
> interface to be kept compatible. For example, currently nxml allow
> customize nxml-enabled-unicode-blocks, so I have to keep it, but what
> about other defuns/defvars?
We generally don't know. So the best you can do is to make a wild guess
(tho sometimes an internet search can help figure out if something is
used by external packages), then post it here. If noone objects here,
then it may/will get installed and maybe later we'll get complaints
about this change, at which point we may try and adjust the
implementation or accept the problem as an unfortunate consequence.
In the case of nxml-enabled-unicode-blocks, it may not be necessary to
preserve this customization, depending on what impact it may have.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: etc/nxml/*.el duplicate lisp/international/uni-name.el?
2010-10-19 16:38 ` Stefan Monnier
@ 2010-10-20 0:44 ` Kan-Ru Chen
0 siblings, 0 replies; 5+ messages in thread
From: Kan-Ru Chen @ 2010-10-20 0:44 UTC (permalink / raw)
To: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> We generally don't know. So the best you can do is to make a wild guess
> (tho sometimes an internet search can help figure out if something is
> used by external packages), then post it here. If noone objects here,
> then it may/will get installed and maybe later we'll get complaints
> about this change, at which point we may try and adjust the
> implementation or accept the problem as an unfortunate consequence.
>
> In the case of nxml-enabled-unicode-blocks, it may not be necessary to
> preserve this customization, depending on what impact it may have.
Thank you. Now I can go ahead witch confidence.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-20 0:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-17 15:28 etc/nxml/*.el duplicate lisp/international/uni-name.el? Kan-Ru Chen
2010-10-18 18:16 ` Chong Yidong
2010-10-19 9:25 ` Kan-Ru Chen
2010-10-19 16:38 ` Stefan Monnier
2010-10-20 0:44 ` Kan-Ru Chen
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.