From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Start keybinding combination Date: Sun, 30 Jan 2022 21:44:58 +0200 Message-ID: <837dah9fet.fsf@gnu.org> References: <20220130191539.mkbq77zpn7ugizfi.ref@Ergus> <20220130191539.mkbq77zpn7ugizfi@Ergus> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20273"; 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 Sun Jan 30 20:49:27 2022 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 1nEGCU-00057N-Hg for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 20:49:26 +0100 Original-Received: from localhost ([::1]:41740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEGCS-00079O-SH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 14:49:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEG96-0004zV-19 for help-gnu-emacs@gnu.org; Sun, 30 Jan 2022 14:45:59 -0500 Original-Received: from [2001:470:142:3::e] (port=53300 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEG90-0003AC-6y for help-gnu-emacs@gnu.org; Sun, 30 Jan 2022 14:45:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Y4VcDKvpgecZ+Jc55RWZxP5cVfUW4ZZBJ5zK4pbPrsc=; b=Z6w+kk9RD+9a BGVNRctRx/2S2o01eX5TlB55YA7UJe49YxeATQp6+fEmwf72XLuQiXvRvbysX2D3xrCwhq57sD2/q pZQBDvYOeTWOVWcxyf+DPdFANVjnSWcyuenUvzIPHKwLUjm8ltJFedTt6OYetFzKHL/ffHRHPE6PF XBmse+IaEEMBxLXaWfeF4yZiwIFhZ6hK7CwSTqXLPJDKTL1ttDAv7Sy5nvazuVBnhGpKkHoKd1mEa 9B2XW+5Y+Wi7Y30tTxg9KBsUE0FxSPnzYUS+gjFf9BxAASV0ciOEDe+ftBXBbL2fwAtr35OWuLYgT azBWmAM1jQEHVwRIk8RRwg==; Original-Received: from [87.69.77.57] (port=4247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEG8F-0007nY-MN for help-gnu-emacs@gnu.org; Sun, 30 Jan 2022 14:45:26 -0500 In-Reply-To: <20220130191539.mkbq77zpn7ugizfi@Ergus> (message from Ergus on Sun, 30 Jan 2022 20:15:39 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:135608 Archived-At: > Date: Sun, 30 Jan 2022 20:15:39 +0100 > From: Ergus > > If a user wants to start a command like `C-x r b` I would like to change > the mode-line color after the `C-x`. I suppose that this may be a call > to a hook in the same place that updates the echo area inserting the > current prefix. What would such a hook do to produce the effect that you want? The mode-line color change will not be visible unless you force redisplay of the mode line.