From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Evil Boris Newsgroups: gmane.emacs.devel Subject: Re: keyboard-translate-table Date: Tue, 01 Mar 2005 09:31:57 -0500 Message-ID: References: <873bvig3mz.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109693099 16814 80.91.229.2 (1 Mar 2005 16:04:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2005 16:04:59 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 01 17:04:59 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D69rg-0007AI-4A for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2005 17:04:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6AAG-0003zQ-FT for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2005 11:24:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6A8T-0003Ni-P8 for emacs-devel@gnu.org; Tue, 01 Mar 2005 11:22:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6A8J-0003I5-7q for emacs-devel@gnu.org; Tue, 01 Mar 2005 11:22:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6A8H-0003EG-Gj for emacs-devel@gnu.org; Tue, 01 Mar 2005 11:22:01 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D69s6-0002Qd-Bv for emacs-devel@gnu.org; Tue, 01 Mar 2005 11:05:18 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1D69nI-0006Ui-SU for emacs-devel@gnu.org; Tue, 01 Mar 2005 17:00:21 +0100 Original-Received: from 207-38-248-84.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com ([207.38.248.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2005 17:00:20 +0100 Original-Received: from EvilBorisNet by 207-38-248-84.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Mar 2005 17:00:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207-38-248-84.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:E6kdaZS9F8boC8QWXlNt7U7bHCE= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33983 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33983 Stefan Monnier writes: >> The example of keyboard-translate-table relates to terminal flow >> control, which I believe is essentially obsolete. Can anyone think >> of a non-obsolete use for keyboard-translate-table, to put in >> the example? > > It's used in normal-erase-is-backspace-mode (when running on a tty). > >> Or is keyboard-translate-table itself obsolete nowadays? > > It's also used for flow-ctrl.el, which is not in lisp/obsolete. > Are you suggesting we move flow-ctrl.el to lisp/obsolete? I also found it used in term/keyswap.el. Is that obsolete too? I have been meaning to complain about that code, as it seems to unconditionally swap ^h and DEL, and provide no way of undoing it (of course one can just set keyboard-translate-table to nil manually). In addition, it seems to assume that keyboard-translate-table is not used beofre it's loaded---it simply overwrites it. Is this superceded by normal-erase-is-backspace-mode? Should it be declared obsolete? --B