]> git.eshelyaron.com Git - emacs.git/commitdiff
(translation-table-for-input): Mark as obsolete.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Apr 2008 18:10:09 +0000 (18:10 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 24 Apr 2008 18:10:09 +0000 (18:10 +0000)
doc/lispref/commands.texi
doc/lispref/keymaps.texi
doc/lispref/nonascii.texi
doc/lispref/text.texi
etc/NEWS
lisp/ChangeLog
lisp/subr.el

index 45435e2eb03ffb7020180d66bfc1e18b5a5a3fd5..bf52b770f186ecb508d5ad1ee75dcafc4f46eb8d 100644 (file)
@@ -2419,9 +2419,7 @@ such as @code{recent-keys} and dribble files record the characters after
 translation.
 
 Note also that this translation is done before the characters are
-supplied to input methods (@pxref{Input Methods}).  Use
-@code{translation-table-for-input} (@pxref{Translation of Characters}),
-if you want to translate characters after input methods operate.
+supplied to input methods (@pxref{Input Methods}).
 @end defvar
 
 @defun keyboard-translate from to
index 08967a33b826d12719d205d4730c0be3ed460e57..576a02fdcd2f8159f914ec74b860d7768a7fef29 100644 (file)
@@ -739,10 +739,6 @@ that string instead of the buffer.
 The function finally found may be remapped
 (@pxref{Remapping Commands}).
 
-@item
-Characters that are bound to @code{self-insert-command} are translated
-according to @code{translation-table-for-input} before insertion.
-
 @item
 @code{current-active-maps} returns a list of the
 currently active keymaps at point.
index 0e98667d829398396f52980c16f34d8c8c833ea0..b972d737f194397340d495de6355daf1e73cd85b 100644 (file)
@@ -582,12 +582,6 @@ This is the default translation table for encoding, for
 coding systems that don't specify any other translation table.
 @end defvar
 
-@defvar translation-table-for-input
-Self-inserting characters are translated through this translation
-table before they are inserted.  Search commands also translate their
-input through this table, so they can compare more reliably with
-what's in the buffer.
-
 @code{set-buffer-file-coding-system} sets this variable so that your
 keyboard input gets translated into the character sets that the buffer
 is likely to contain.  This variable automatically becomes
index 0a43781bc053dd8da3f180199460d82464536aa2..b1a8653def5dd42072b0a219ee76807422991518 100644 (file)
@@ -487,9 +487,6 @@ it except to install it on a keymap.
 
 In an interactive call, @var{count} is the numeric prefix argument.
 
-Self-insertion translates the input character through
-@code{translation-table-for-input}.  @xref{Translation of Characters}.
-
 This command calls @code{auto-fill-function} whenever that is
 non-@code{nil} and the character inserted is in the table
 @code{auto-fill-chars} (@pxref{Auto Filling}).
index 58930e7c7f024acfcf20ff51d0c1b430cdad7d97..cbcd8d22231dca70afc865fe2826147dbd5326c2 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -911,6 +911,8 @@ character is printable or not.
 *** The functions `modify-syntax-entry' and `modify-category-entry' now
 accepts a cons of characters as the first argument, and modify all
 entries in that range of characters.
++++
+*** `translation-table-for-input' is now obsolete.
 
 ** Code conversion changes
 
index ddb6b68e9e4501f8e600a051486e1ddeb0caac36..4801ef0ca121755647ff5adc180455d9fdfb9428 100644 (file)
@@ -1,5 +1,7 @@
 2008-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * subr.el (translation-table-for-input): Mark as obsolete.
+
        * isearch.el (isearch-search-string): Avoid string-bytes and aset.
 
        * international/quail.el (quail-build-decode-map): Avoid string-bytes.
index 1f6d5580bfffbbdb318fcb486c780923183aa60c..6629589d5bafe519e7546a4b90f50c7918f9580f 100644 (file)
@@ -1041,6 +1041,9 @@ to reread, so it now uses nil to mean `no event', instead of -1."
 (defvaralias 'x-sent-selection-hooks 'x-sent-selection-functions)
 (make-obsolete-variable 'x-sent-selection-hooks
                        'x-sent-selection-functions "22.1")
+;; This was introduced in 21.4 for pre-unicode unification and was rendered
+;; obsolete by the use of Unicode internally in 23.1.
+(make-obsolete-variable 'translation-table-for-input nil "23.1")
 
 (defvaralias 'messages-buffer-max-lines 'message-log-max)
 \f