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.devel Subject: Re: 29.0.60; keymap-local-set and keymap-global-set became less strict Date: Tue, 31 Jan 2023 17:06:21 +0200 Message-ID: <831qna3frm.fsf@gnu.org> References: <5876987d-2479-f512-5767-218c8c16a909@daniel-mendler.de> <875ycngyji.fsf@gnus.org> <87zg9zvzuc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31727"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, mail@daniel-mendler.de, emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 31 16:07:01 2023 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 1pMsDt-00082i-Cy for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Jan 2023 16:07:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMsDh-0003hB-2l; Tue, 31 Jan 2023 10:06:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMsDL-0003Uw-RE for emacs-devel@gnu.org; Tue, 31 Jan 2023 10:06:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMsDK-0002bM-DD; Tue, 31 Jan 2023 10:06:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=oKeK5ITdHOvraII1N/WZ9DRvzMxsTIbqoWIbqTXJC0k=; b=AkEyTWKP8qpY8+PNxI8p ktCbo35v13aLFZzt52AizhniUtC5TIqD7OeRjn4dqjoRQD4o4q2H+/anVtKaHkgPBKmSUZythcTMj b3bEhTMNoUkQK0VaauqKVrCbRsg4CAlBzya6XAhxEBRQMvLlGVluBMriU0GZPoW30GlgfSIDVWvm3 /9PhZC3wF4x0YCC5OMBh66VKmL8prTr/fG1wrHT6Okon0HeibgsJEmgSrrPN6U7jmtkf7maSDiMFz d4Y1Tn1Bcyrg/KcRYGrKY6ziNDIgohYzpVkY30SNF10kTJo3SyIwshRWETzMgdZxQFssfKJRVXnMO J5JWnuBaqFtrog==; Original-Received: from [87.69.77.57] (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 1pMsDJ-00088s-Of; Tue, 31 Jan 2023 10:06:26 -0500 In-Reply-To: <87zg9zvzuc.fsf@gmail.com> (message from Robert Pluim on Tue, 31 Jan 2023 10:05:15 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302835 Archived-At: > From: Robert Pluim > Cc: Daniel Mendler , emacs-devel@gnu.org, Stefan > Monnier , Eli Zaretskii > Date: Tue, 31 Jan 2023 10:05:15 +0100 > > Lars> So keymap-local-set and keymap-global-set should be fixed to be strict > Lars> again, otherwise there's not much point to the entire `keymap-*' > Lars> exercise. > > OK. How about this then (why are the `cursor-in-echo-area' shenanigans > necessary? I wonder if thatʼs a bug, since without them we either get > the cursor not showing in the minibuffer for > `read-key-sequence-vector', or we get an extra space displayed by > `read-command') Why does it have to be so complicated, though? If the problem is not to call key-description in non-interactive invocations, can't we call key-description inside the interactive form? Or use some other trick to invoke key-description only in interactive calls?