From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: override a few keymappings in the emacs input-mode "greek-babel; " Date: Sat, 16 May 2020 10:04:55 +0300 Message-ID: <83y2pstl60.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="67619"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 16 09:05:29 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZqsz-000HVL-9Z for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 09:05:29 +0200 Original-Received: from localhost ([::1]:37800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqsy-0006QG-A3 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 03:05:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZqsf-0006OR-A7 for help-gnu-emacs@gnu.org; Sat, 16 May 2020 03:05:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60205) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqsf-00007s-1e for help-gnu-emacs@gnu.org; Sat, 16 May 2020 03:05:09 -0400 Original-Received: from [176.228.60.248] (port=2454 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZqse-0005aI-FM for help-gnu-emacs@gnu.org; Sat, 16 May 2020 03:05:08 -0400 In-Reply-To: (message from Peter Hodgson on Fri, 15 May 2020 18:20:08 -0500) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123095 Archived-At: > From: Peter Hodgson > Date: Fri, 15 May 2020 18:20:08 -0500 > > ;;here's part of my proposed hook for greek-babel > > (add hook 'input-method-hook > (lambda () > (define-key input-method-greek-babel-map "q" > 'θ) > (define-key input-method-greek-babel-map "Q" > 'Θ))) I think you need to use quail-defrule instead.