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: Tweaking quail input methods Date: Wed, 08 Mar 2017 12:36:00 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488994582 13632 195.159.176.226 (8 Mar 2017 17:36:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2017 17:36:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 08 18:36:19 2017 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 1clfVQ-0002G8-GF for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2017 18:36:08 +0100 Original-Received: from localhost ([::1]:57618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clfVW-0001e6-AV for ged-emacs-devel@m.gmane.org; Wed, 08 Mar 2017 12:36:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clfVP-0001e0-SX for emacs-devel@gnu.org; Wed, 08 Mar 2017 12:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clfVM-0001lf-Lq for emacs-devel@gnu.org; Wed, 08 Mar 2017 12:36:07 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:48214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clfVM-0001lG-G7 for emacs-devel@gnu.org; Wed, 08 Mar 2017 12:36:04 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id v28Ha0i7023574; Wed, 8 Mar 2017 12:36:01 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id C57E26627C; Wed, 8 Mar 2017 12:36:00 -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, RV5967=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5967> : inlines <5731> : streams <1736070> : uri <2389151> 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:212843 Archived-At: Is there a way for the end-user to tweak a quail input method? I like to use the TeX input method and could almost live with it being always enabled, except for some of its mappings which sometimes get in the way. So I'd like to either define a new input method derived from TeX, or to tweak the TeX input method. The kind of changes I'd like to apply are things like: - eliminate all mappings that start with a particular prefix - add a few mappings - move mapping from prefix to prefix (e.g. move all entries of the form "_" so they use "\\_" instead). I looked at quail.el but can't seem to find anything that would let me do that. Stefan