From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Current mode command discovery Date: Sat, 20 Feb 2021 16:10:16 -0500 Message-ID: References: <87v9aubm96.fsf@gnus.org> <87r1laomak.fsf@gnus.org> <83pn0uzubj.fsf@gnu.org> <87im6molnq.fsf@gnus.org> <83o8geztvt.fsf@gnu.org> <871rdar6i3.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eliz@gnu.org, Andreas Schwab , larsi@gnus.org, emacs-devel@gnu.org To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 20 22:11:38 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 1lDZXO-0000HS-9H for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Feb 2021 22:11:38 +0100 Original-Received: from localhost ([::1]:52134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDZXN-0002NA-9p for ged-emacs-devel@m.gmane-mx.org; Sat, 20 Feb 2021 16:11:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDZWD-0001jT-HA for emacs-devel@gnu.org; Sat, 20 Feb 2021 16:10:26 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDZWA-0004F2-SO; Sat, 20 Feb 2021 16:10:24 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E93F2100240; Sat, 20 Feb 2021 16:10:20 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5BFF41000DA; Sat, 20 Feb 2021 16:10:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1613855419; bh=SIyslCFKs5QgLSWOR1Ueu8nEz5TyNuvHRWB7jQheAb8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Zd97tM4uH8Ssq1ac26mE4uML0etcTkbCrsSwYcDjcrGdOxQjz5NSnuwCmZ6HQacDL uQcBustvicC+leEDLwAhvv1b6J/9vdD0MbFVycKjX+zvAG5uMAMVi2EnbooCxov9it PhDsiV+Q0vT5rmJ9urrinypHrpciy2OuvskUBCrDshDygleTRYlTK+4jwYZlM7wA3N /z0QLrfi5d6dj/EMCuYbbQewIunOYocDYGnLbNIdqou4ZEaLMwYCZfX/Ymgip9425i hwnAwSNmtHGCyBx/iIfWx589Ggn/pow5pv+vk88ddbjbcpP8llf1Lk5fh2AnKCjMdU IPrqTL4XFt2qw== Original-Received: from alfajor (unknown [216.154.41.47]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DDC1E12026E; Sat, 20 Feb 2021 16:10:18 -0500 (EST) In-Reply-To: (Alfred M. Szmidt's message of "Sat, 20 Feb 2021 15:17:17 -0500") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:265356 Archived-At: > > Should be noted that M-S-x is tricky to get working on console > M-X works on any terminal. > M-S-x does not work in _any_ terminal, Indeed the treatment of "shift" in input events is surprisingly delicate and messy. We should make sure that both events get mapped to the same command, indeed, regardless of this new keybinding. In the terminals I use hitting "meta + shift + x" sends Emacs "ESC X" which leads Emacs to find the intended command without any trouble. Which terminals have you found which do differently? This said, I don't think it's very important: `M-X` is bound to a new command whose importance has not been demonstrated yet: maybe it'll prove to be super convenient, and maybe it'll be just one more experiment which didn't pan out. So if it's difficult to access its default binding in some setups, I'm not too worried. We have many other default bindings of reasonably important commands which are probably a lot harder to access depending on your keyboard layout (like `M-C-%`) Stefan