emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: translation-table-for-input


From: Stefan Monnier
Subject: Re: translation-table-for-input
Date: Fri, 30 Jan 2009 20:50:50 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Compiling simple.el curses thusly:
>     In quoted-insert:
>     simple.el:692:22:Warning: `translation-table-for-input' is an obsolete
>       variable (as of Emacs 23.1).

>     In zap-to-char:
>     simple.el:3150:21:Warning: `translation-table-for-input' is an obsolete
>       variable (as of Emacs 23.1).
>     simple.el:3151:28:Warning: `translation-table-for-input' is an obsolete
>       variable (as of Emacs 23.1).

> I don't think we want to release Emacs 23 with these warnings.  But
> what should references to `translation-table-for-input' be replaced
> with?  I looked in etc/NEWS, and all it says is that this variable is
> obsolete, but doesn't offer any advice about the alternatives.

This code is part of the implementation of the feature accessible via
translation-table-for-input, so removing it would amount to removing
the feature.

There is no alternative to this feature, BTW.  The only use I've ever
seen for it, was the char-unification we did in Emacs-22, but in
Emacs-23 we do this unification differently, which is why it's obsolete.

These `obsolete' warnings are a general problem: we have no way to say
"yes, I know this variable is obsolete, but this is the implementation
rather than a use of the feature".  The closest we have is
with-no-warnings, which is a rather blunt tool.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]