From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: Non-ASCII chars in quail rules Date: Sat, 30 Aug 2014 18:48:44 -0400 Message-ID: <20140830184844.797d7340@jabberwock.cb.piermont.com> References: <20140829101804.4c904346@jabberwock.cb.piermont.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1409438957 10632 80.91.229.3 (30 Aug 2014 22:49:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2014 22:49:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 31 00:49:11 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNrSI-0003lT-Jt for ged-emacs-devel@m.gmane.org; Sun, 31 Aug 2014 00:49:10 +0200 Original-Received: from localhost ([::1]:47972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNrSH-0002iK-SW for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2014 18:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNrS3-0002iF-Fe for emacs-devel@gnu.org; Sat, 30 Aug 2014 18:48:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNrS2-0007BW-9k for emacs-devel@gnu.org; Sat, 30 Aug 2014 18:48:55 -0400 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:55301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNrS2-0007BC-4n for emacs-devel@gnu.org; Sat, 30 Aug 2014 18:48:54 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id CD1B11539; Sat, 30 Aug 2014 18:48:51 -0400 (EDT) Original-Received: from jabberwock.cb.piermont.com (unknown [10.160.23.6]) by snark.cb.piermont.com (Postfix) with ESMTP id 75B782DEB60; Sat, 30 Aug 2014 18:48:50 -0400 (EDT) In-Reply-To: X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-apple-darwin13.3.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:470:30:84:e276:63ff:fe62:3400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173915 Archived-At: On Fri, 29 Aug 2014 21:13:39 -0400 Stefan Monnier wrote: > > 1) Is there any easy way to fix that? Simply removing the < 127 > > test in the code that builds the maps doesn't work. (I'm afraid I > > don't fully understand where the maps are used, which is probably > > a problem.) > > AFAIK there is no technical reason for the <127 limit. So I think > the best way forward is to remove the <127 test and then see what > breaks next, fix that part, lather, rinse, repeat. > > If you have trouble with the "fix that part", feel free to send us > a recipe to reproduce the problem (probably includes your > work-in-progress-patch) so we can help along. I've been digging in to this and it isn't nearly as simple as I thought. As I suspected, it isn't just the test. Part of the issue is that the whole of quail seems to be driven off of things arriving via the set input-method-function, and function key inputs and the like don't end up flowing through input-method-function at all. (Indeed, input-method-function seems to be restricted to passing along information about printable ASCII (or at least, it documents itself as only dealing with octal 040 to 0176), and directly via read-char/read-event.) I think I'll dig at it for a while longer. What I want might require adding an alternative path to start invoking quail's substitution behavior, or it might be better if I ignore the input method machinery entirely. Perry -- Perry E. Metzger perry@piermont.com