From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Start keybinding combination Date: Sun, 30 Jan 2022 20:15:39 +0100 Message-ID: <20220130191539.mkbq77zpn7ugizfi@Ergus> References: <20220130191539.mkbq77zpn7ugizfi.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35339"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 30 20:18:21 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 1nEFiP-00094T-Lv for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 20:18:21 +0100 Original-Received: from localhost ([::1]:58482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEFiO-00060t-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 14:18:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEFgX-0005z0-0W for help-gnu-emacs@gnu.org; Sun, 30 Jan 2022 14:16:26 -0500 Original-Received: from sonic301-3.consmr.mail.bf2.yahoo.com ([74.6.129.42]:38542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEFgS-0008BJ-Fx for help-gnu-emacs@gnu.org; Sun, 30 Jan 2022 14:16:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1643570178; bh=diXLhfE1ekloKHx5aQQQPVYfnpfXlY6APHOKe/4nZQs=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=G6qwiCcdAUWS34zaelRiiK6DUa/1rS7a04L9XI8DPlNOzasmvRWHe7EBfWZMf+ZwsDR4qlmYFzPzI8ISc9w9qd5kMpnZN3nmA76T7y+FYE0YBuOZZQTOgS0+mTQqE1/Vw2p9NKDRC3O9VpBvhxVw+nRACOFrTGghw04Cn50Jf3ImixlROOCydFtYGtaQLYJDdkLWI0NWOIMcF39IVBNeDmXBjcYoBhYQv63RpK+SSFiw9uAfikldE0gNIykosMJG8ds4q114ZtuB+PB6rxIbaz5zQPqDN3kP4pFpieAXirJyNde7aBdXA3zsdYPX+Atf0rtrNSyfXlpaqnPp36gN2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643570178; bh=0hWKcHKTqlqmBE9AN6lWSny8HrcPFyfHS6MPk6Y4zfh=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=W3a7ahyBS4JbeCSe4GOFq5jiFwkA4KoWZbuvPofgyiNDWOdkb6gMSv41z6/yg9eC+doH2S2vx47ZHfBfigxz9RzTRzbq4ivrESmTyrvEg+fkAbwEo9IjzpHDQkWkK+KjOKXn6VydytFJ79c6jhz2ztRSxSbnTpyRWbKIKTs/xg1YcKStSIwEyHhjKR4QuRSA36YGFDZzdNX7UxiZYd6zVsF/HHWCKHFHwd44gHiGz/CwFI0aAw0/tpxlpClnj9qUz5SknqHyIPqPdGXD9RA6c9Dx7c1ubRNnRjvINu8LqJ/TNTCgE7y1HA+t36IOmp/qxkvzuvLl6gm3Ftv4Hgm+VA== X-YMail-OSG: d9dUqQQVM1nu6p9Y4RupyaR9UDwVw6EqQOK38cgO.wlF1lufZgmQks9Po78NacK iA4lAyVMOnKfKzyK4PsWv9ziQ1afWp8YTmCrt9IxLZNwzQiK1krc5jmN6jSs1kGZmVnPijgZ4elR eIB9tCb58llKaHurxfdsLA5TRue1FBefB7lx5L_JUMR9Jx2unY_IdF4sPRFcozERic3FuTi5CeCI SxyqsScQoI2Ks01ZiAbYHyq467QN8aHlsvl0VELHkpT3Z3lvVDAFZ0ijH8rK4m9VzJDLEE5AqkDT 0.ZYKnzsHD5audxv38zqnTPw7HaBHi_xcEv7C4y5j3zWIZ61XL5K3ByDKObITEpX5BsbNApT43vr 0FyY1PhJ7Y1_P.8F4yllNMXcUDh_Q2TUIN0m30hAxn4_MiSZJWY.6rudO1GHVVSoqBtxJzJWdWzv 2beFJt8J5lCmsOTTetNy63L2RXGwP5lbSvF.8iWa8rvL8xETAWk9FWF3tRG5clqM.sZf2l.hG1Ik lRdkrRiMD6zZCi0yIPJqt6PHyNncpLNdNcMCloVVY4xXcajSqVFZOS2bsAf0SevWKzZY4qV3U8vE ytnh5SdqBlIwmvJhCuyl8MQm9gaXnNX9DgQoxldUijXvQ8HEPg40E52fMTIQgZ2CzgG1h9Cqg3EJ ffl_9kuEt7tixaWojhHyNIK8qedTlAIfuJYzUS_x1fqKPsVr5Wcls7uWo7SSdNqiBzfgdNN7RHGD .cKHIewaHw9J_H3btBw71St9.QuUA9XvKTrDv.j3cawuyNligGN5xXvvAzpxERivs78z9XBBxPbN 8bsb6Ex9Gia5u6ObqH8Nhm5tBLFSQMYsJW2kZ9k.OI X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sun, 30 Jan 2022 19:16:18 +0000 Original-Received: by kubenode510.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c47e471cc294f4d491a542009811eba4; Sun, 30 Jan 2022 19:16:15 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.42; envelope-from=spacibba@aol.com; helo=sonic301-3.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:135607 Archived-At: Hi: I have been wondering if there is a hook or advise I could use to give some more explicit visual feedback when the user starts a long keybinding. I mean: 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. I saw that packages like which-key needs to do a pooling timer to emulate that, so maybe this needs a feature request or is there a reason to not implement this? Best, Ergus