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: Wed, 3 Sep 2014 17:59:45 -0400 Message-ID: <20140903175945.726025a0@jabberwock.cb.piermont.com> References: <20140829101804.4c904346@jabberwock.cb.piermont.com> <20140830184844.797d7340@jabberwock.cb.piermont.com> <20140831100035.6487ff7f@jabberwock.cb.piermont.com> <20140831172949.7ba54d1a@jabberwock.cb.piermont.com> <20140903074355.2a7cd6e2@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 1409781619 26606 80.91.229.3 (3 Sep 2014 22:00:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2014 22:00:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 04 00:00:13 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 1XPIb5-0002f2-Da for ged-emacs-devel@m.gmane.org; Thu, 04 Sep 2014 00:00:11 +0200 Original-Received: from localhost ([::1]:47815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPIb4-00036T-Vh for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2014 18:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPIam-00036I-DM for emacs-devel@gnu.org; Wed, 03 Sep 2014 17:59:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPIah-0008Af-JO for emacs-devel@gnu.org; Wed, 03 Sep 2014 17:59:52 -0400 Original-Received: from hacklheber.piermont.com ([166.84.7.14]:54706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPIah-00089m-Fz for emacs-devel@gnu.org; Wed, 03 Sep 2014 17:59:47 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id CD0FA15AC; Wed, 3 Sep 2014 17:59:46 -0400 (EDT) Original-Received: from jabberwock.cb.piermont.com (unknown [10.160.23.6]) by snark.cb.piermont.com (Postfix) with ESMTP id 5EC672DEC31; Wed, 3 Sep 2014 17:59:46 -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: 166.84.7.14 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:173997 Archived-At: On Wed, 03 Sep 2014 09:19:18 -0400 Stefan Monnier wrote: > > I am not sure what the intent here of the restriction was, but a > > more general solution for the entire line of the test might be > > CHAR_PRINTABLE_P depending on what that intent actually is. (I > > don't entirely understand the intent, so I can't say.) > > The intent is to make sure that `c' is something we can insert in > the buffer (since that's what quail does). It would seem that CHAR_PRINTABLE_P is the right thing, then, since other characters can't be inserted (at least not validly). Given that, it would seem like this would be a nice patch to get applied. > We could also remove this check completely and allow using any > event to trigger input-method-function, but that does break the > current quail.el, so it's clearly more "backward incompatible". Yah, that seems like The Wrong Thing. Perry -- Perry E. Metzger perry@piermont.com