diff options
| author | Stefan Monnier | 2008-04-24 18:10:09 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-24 18:10:09 +0000 |
| commit | ca7871a3e581a2915516ef6ae19b67f1760b39ec (patch) | |
| tree | d6b20124420bd9b447b67abb66afbfbc162bc554 | |
| parent | 4f3b3482ee9d5a61e9b7ecd68304a24db0beb579 (diff) | |
| download | emacs-ca7871a3e581a2915516ef6ae19b67f1760b39ec.tar.gz emacs-ca7871a3e581a2915516ef6ae19b67f1760b39ec.zip | |
(translation-table-for-input): Mark as obsolete.
| -rw-r--r-- | doc/lispref/commands.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 3 | ||||
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/subr.el | 3 |
7 files changed, 8 insertions, 16 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 45435e2eb03..bf52b770f18 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -2419,9 +2419,7 @@ such as @code{recent-keys} and dribble files record the characters after | |||
| 2419 | translation. | 2419 | translation. |
| 2420 | 2420 | ||
| 2421 | Note also that this translation is done before the characters are | 2421 | Note also that this translation is done before the characters are |
| 2422 | supplied to input methods (@pxref{Input Methods}). Use | 2422 | supplied to input methods (@pxref{Input Methods}). |
| 2423 | @code{translation-table-for-input} (@pxref{Translation of Characters}), | ||
| 2424 | if you want to translate characters after input methods operate. | ||
| 2425 | @end defvar | 2423 | @end defvar |
| 2426 | 2424 | ||
| 2427 | @defun keyboard-translate from to | 2425 | @defun keyboard-translate from to |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 08967a33b82..576a02fdcd2 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -740,10 +740,6 @@ The function finally found may be remapped | |||
| 740 | (@pxref{Remapping Commands}). | 740 | (@pxref{Remapping Commands}). |
| 741 | 741 | ||
| 742 | @item | 742 | @item |
| 743 | Characters that are bound to @code{self-insert-command} are translated | ||
| 744 | according to @code{translation-table-for-input} before insertion. | ||
| 745 | |||
| 746 | @item | ||
| 747 | @code{current-active-maps} returns a list of the | 743 | @code{current-active-maps} returns a list of the |
| 748 | currently active keymaps at point. | 744 | currently active keymaps at point. |
| 749 | 745 | ||
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 0e98667d829..b972d737f19 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -582,12 +582,6 @@ This is the default translation table for encoding, for | |||
| 582 | coding systems that don't specify any other translation table. | 582 | coding systems that don't specify any other translation table. |
| 583 | @end defvar | 583 | @end defvar |
| 584 | 584 | ||
| 585 | @defvar translation-table-for-input | ||
| 586 | Self-inserting characters are translated through this translation | ||
| 587 | table before they are inserted. Search commands also translate their | ||
| 588 | input through this table, so they can compare more reliably with | ||
| 589 | what's in the buffer. | ||
| 590 | |||
| 591 | @code{set-buffer-file-coding-system} sets this variable so that your | 585 | @code{set-buffer-file-coding-system} sets this variable so that your |
| 592 | keyboard input gets translated into the character sets that the buffer | 586 | keyboard input gets translated into the character sets that the buffer |
| 593 | is likely to contain. This variable automatically becomes | 587 | is likely to contain. This variable automatically becomes |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 0a43781bc05..b1a8653def5 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -487,9 +487,6 @@ it except to install it on a keymap. | |||
| 487 | 487 | ||
| 488 | In an interactive call, @var{count} is the numeric prefix argument. | 488 | In an interactive call, @var{count} is the numeric prefix argument. |
| 489 | 489 | ||
| 490 | Self-insertion translates the input character through | ||
| 491 | @code{translation-table-for-input}. @xref{Translation of Characters}. | ||
| 492 | |||
| 493 | This command calls @code{auto-fill-function} whenever that is | 490 | This command calls @code{auto-fill-function} whenever that is |
| 494 | non-@code{nil} and the character inserted is in the table | 491 | non-@code{nil} and the character inserted is in the table |
| 495 | @code{auto-fill-chars} (@pxref{Auto Filling}). | 492 | @code{auto-fill-chars} (@pxref{Auto Filling}). |
| @@ -911,6 +911,8 @@ character is printable or not. | |||
| 911 | *** The functions `modify-syntax-entry' and `modify-category-entry' now | 911 | *** The functions `modify-syntax-entry' and `modify-category-entry' now |
| 912 | accepts a cons of characters as the first argument, and modify all | 912 | accepts a cons of characters as the first argument, and modify all |
| 913 | entries in that range of characters. | 913 | entries in that range of characters. |
| 914 | +++ | ||
| 915 | *** `translation-table-for-input' is now obsolete. | ||
| 914 | 916 | ||
| 915 | ** Code conversion changes | 917 | ** Code conversion changes |
| 916 | 918 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ddb6b68e9e4..4801ef0ca12 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-04-24 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * subr.el (translation-table-for-input): Mark as obsolete. | ||
| 4 | |||
| 3 | * isearch.el (isearch-search-string): Avoid string-bytes and aset. | 5 | * isearch.el (isearch-search-string): Avoid string-bytes and aset. |
| 4 | 6 | ||
| 5 | * international/quail.el (quail-build-decode-map): Avoid string-bytes. | 7 | * international/quail.el (quail-build-decode-map): Avoid string-bytes. |
diff --git a/lisp/subr.el b/lisp/subr.el index 1f6d5580bff..6629589d5ba 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1041,6 +1041,9 @@ to reread, so it now uses nil to mean `no event', instead of -1." | |||
| 1041 | (defvaralias 'x-sent-selection-hooks 'x-sent-selection-functions) | 1041 | (defvaralias 'x-sent-selection-hooks 'x-sent-selection-functions) |
| 1042 | (make-obsolete-variable 'x-sent-selection-hooks | 1042 | (make-obsolete-variable 'x-sent-selection-hooks |
| 1043 | 'x-sent-selection-functions "22.1") | 1043 | 'x-sent-selection-functions "22.1") |
| 1044 | ;; This was introduced in 21.4 for pre-unicode unification and was rendered | ||
| 1045 | ;; obsolete by the use of Unicode internally in 23.1. | ||
| 1046 | (make-obsolete-variable 'translation-table-for-input nil "23.1") | ||
| 1044 | 1047 | ||
| 1045 | (defvaralias 'messages-buffer-max-lines 'message-log-max) | 1048 | (defvaralias 'messages-buffer-max-lines 'message-log-max) |
| 1046 | 1049 | ||