From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Preventing accidental prefix match in input-method Date: Fri, 23 Nov 2018 11:40:17 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542991139 13843 195.159.176.226 (23 Nov 2018 16:38:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 16:38:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "K. Handa" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 17:38:54 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gQETm-0003Wa-LQ for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 17:38:54 +0100 Original-Received: from localhost ([::1]:53389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQEVt-0002hT-2U for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 11:41:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQEVJ-0002h7-Su for emacs-devel@gnu.org; Fri, 23 Nov 2018 11:40:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQEVI-0003g7-S4 for emacs-devel@gnu.org; Fri, 23 Nov 2018 11:40:29 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:42927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQEVA-0003Na-Ti; Fri, 23 Nov 2018 11:40:21 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wANGeHhS004338; Fri, 23 Nov 2018 11:40:17 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 436F96A75F; Fri, 23 Nov 2018 11:40:17 -0500 (EST) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6425=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6425> : inlines <6970> : streams <1805115> : uri <2754454> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:231318 Archived-At: I'd like to setup an input method where I have a mapping \b =3D> =CE=B2 but where I'd like it that when the user enters `\beta` the result is `\beta` rather than `=CE=B2eta`. I know I can do it by adding mappings \ba =3D> \ba \bb =3D> \bb \bc =3D> \bc \bd =3D> \bd \be =3D> \be ... but that would blow up my input method by a factor 50. Is there a better solution? Stefan