From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: [External] : Making a key binding work in minibuffer editing. Date: Thu, 2 Sep 2021 14:15:10 -0400 Message-ID: References: <69a4241f-05cc-45d1-ab65-42f443b397bd@piermont.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10170"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Thunderbird/92.0 To: Drew Adams , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 02 20:18:44 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mLrIR-0002OB-Gy for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Sep 2021 20:18:43 +0200 Original-Received: from localhost ([::1]:44300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLrIP-000536-QB for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Sep 2021 14:18:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLrF3-0002Ev-Fr for emacs-devel@gnu.org; Thu, 02 Sep 2021 14:15:13 -0400 Original-Received: from hacklheber.piermont.com ([166.84.7.14]:60530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLrF1-00052B-OF for emacs-devel@gnu.org; Thu, 02 Sep 2021 14:15:13 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id C976510D; Thu, 2 Sep 2021 14:15:10 -0400 (EDT) Original-Received: from [10.160.2.107] (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 91F7F2DECE6; Thu, 2 Sep 2021 14:15:10 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=166.84.7.14; envelope-from=perry@piermont.com; helo=hacklheber.piermont.com X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-2.225, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273721 Archived-At: On 9/2/21 11:48, Drew Adams wrote: >> Is there a keymap I can add this to which will also cover editing in >> minibuffers, so I can use my weird input method in isearch and that sort >> of thing as well? > Caveat: I'm not following this thread. > > In general, you can bind keys in the minibuffer > keymaps. The most basic is `minibuffer-local-map'. > > See the Elisp manual, nodes `Text from Minibuffer' > and `Completion Commands': > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Text-from-Minibuffer.html > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Completion-Commands.html So I have to explicitly bind that, there's no common map that will be inherited both by the global map and the minibuffer maps? Perry