From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: inputting characters by hexadigit Date: Tue, 29 Jul 2008 14:00:46 -0400 Message-ID: References: <868ww3vydn.fsf@lifelogs.com> <87myki6fqp.fsf@jurta.org> <87mykhz6tf.fsf@jurta.org> <87tzeokrku.fsf@jurta.org> <87tzeogih6.fsf@catnip.gol.com> <488020A4.4060601@harpegolden.net> <87vdz3p3om.fsf@uwakimon.sk.tsukuba.ac.jp> <4880D3E4.7050400@harpegolden.net> <87mykfow76.fsf@uwakimon.sk.tsukuba.ac.jp> <87mykeohbf.fsf@jurta.org> <87iquok6lr.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217354486 9810 80.91.229.12 (29 Jul 2008 18:01:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2008 18:01:26 +0000 (UTC) Cc: James Cloos , Kenichi Handa , tzz@lifelogs.com, emacs-devel@gnu.org, "Stephen J. Turnbull" , Miles Bader To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 29 20:02:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNtWK-0000WP-Kg for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2008 20:02:00 +0200 Original-Received: from localhost ([127.0.0.1]:35737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNtVQ-0006MS-IA for ged-emacs-devel@m.gmane.org; Tue, 29 Jul 2008 14:01:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNtVM-0006Le-J2 for emacs-devel@gnu.org; Tue, 29 Jul 2008 14:01:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNtVM-0006LK-8C for emacs-devel@gnu.org; Tue, 29 Jul 2008 14:01:00 -0400 Original-Received: from [199.232.76.173] (port=39874 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNtVL-0006LG-U6 for emacs-devel@gnu.org; Tue, 29 Jul 2008 14:00:59 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:49340) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNtVD-0003qL-9U; Tue, 29 Jul 2008 14:00:51 -0400 Original-Received: from alfajor.home (vpn-132-204-232-151.acd.umontreal.ca [132.204.232.151]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m6TI0kLX029583; Tue, 29 Jul 2008 14:00:46 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id AA8831C139; Tue, 29 Jul 2008 14:00:46 -0400 (EDT) In-Reply-To: <87iquok6lr.fsf@jurta.org> (Juri Linkov's message of "Tue, 29 Jul 2008 19:07:28 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3070=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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 Xref: news.gmane.org gmane.emacs.devel:101708 Archived-At: >> Indeed, it's not valid any more. >> It should probably try something like >> >> (aref (decode-coding-string (unibyte-string char) locale-coding-system) 0) >> >> instead, tho I'd argue that we should drop this feature and insert the >> corresponding Unicode char instead (which would give the latin-1 >> equivalent as well). > So is it ok to remove this code or it's better to comment it out? You can comment it out. > BTW, there are also warnings in the same function (and few other > places): > In quoted-insert: > simple.el:685:22:Warning: `translation-table-for-input' is an obsolete > variable (as of Emacs 23.1). > Could you tell what changes this requires? None. This is part of the code that provides the translation-table-for-input feature, so the obsolescence of that feature is not directly relevant (except for the fact that that code should hopefully never be used and will disappear in the future). Stefan