From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.help Subject: Binding keys to echo area mouse events Date: Sun, 03 Jan 2021 11:37:55 -0500 Message-ID: <87h7nyugbg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25457"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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 03 17:38:36 2021 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 1kw6Oq-0006Ux-9R for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 17:38:36 +0100 Original-Received: from localhost ([::1]:55542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw6Op-0000pN-Bl for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 03 Jan 2021 11:38:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kw6OG-0000ou-Ag for help-gnu-emacs@gnu.org; Sun, 03 Jan 2021 11:38:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44723) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kw6OG-0000BP-1X for help-gnu-emacs@gnu.org; Sun, 03 Jan 2021 11:38:00 -0500 Original-Received: from [2607:fea8:3fdf:f688:79d0:a704:3aee:7a59] (port=44442 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kw6OD-0004qk-Js for help-gnu-emacs@gnu.org; Sun, 03 Jan 2021 11:37:58 -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:126975 Archived-At: Hello, Is it possible to capture mouse/scroll events on the echo area? For the mode-line, something like the following works: (global-set-key (kbd " ") #'b/exwm-ws-prev) (global-set-key (kbd " ") #'b/exwm-ws-next) Which allows me to switch to my previous and next EXWM workspace. I'd like to do the same for the echo area, but I'm not quite sure if it's possible as of now.