From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Philip K." Newsgroups: gmane.emacs.bugs Subject: bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers Date: Fri, 26 Jun 2020 21:46:17 +0200 Message-ID: <87k0zttxti.fsf@warpmail.net> References: <87imgpw7k3.fsf@warpmail.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="86432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41438@bugs.debian.org To: juri@linkov.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 26 21:52:11 2020 Return-path: Envelope-to: geb-bug-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 1jouOP-000MLU-NS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jun 2020 21:52:10 +0200 Original-Received: from localhost ([::1]:37732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jouOO-00019X-CU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jun 2020 15:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jouOI-00019N-CH for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2020 15:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59801) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jouOI-00057H-3A for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2020 15:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jouOI-0004nV-1t for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2020 15:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Philip K." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jun 2020 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by submit@debbugs.gnu.org id=B.159320108518399 (code B ref -1); Fri, 26 Jun 2020 19:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jun 2020 19:51:25 +0000 Original-Received: from localhost ([127.0.0.1]:43114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jouNg-0004mh-VF for submit@debbugs.gnu.org; Fri, 26 Jun 2020 15:51:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jouNe-0004mZ-AF for submit@debbugs.gnu.org; Fri, 26 Jun 2020 15:51:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jouNe-00015j-18 for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2020 15:51:22 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:54233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jouNc-0004vH-DB for bug-gnu-emacs@gnu.org; Fri, 26 Jun 2020 15:51:21 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 30001413 for ; Fri, 26 Jun 2020 15:51:19 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 26 Jun 2020 15:51:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warpmail.net; h= resent-from:resent-date:resent-to:from:to:cc:subject:in-reply-to :date:message-id:mime-version:content-type:resent-message-id; s= fm3; bh=NATBS4WouEuaBFjo/TDrcgUiAXbz2hhtC9XBRgu3YiU=; b=qVR8UEJ8 0JZi17zDq64lwue+Hyv4ogwKRk7eKrckgiEPCm5DyRUgWS5D0K/zblzhOCHOxquW xgg+K9cUyToNoxEgS9gqJ2KG5+xv3sCSYmcZPfrQwFo6tG0x4bsIDQC3dbRZeEel dGwqX5v6uz5bZ2+wsp+sKTnGucxonW9F8bhGVzpprEQtS7R1TKUKotEcS7NnIqV5 hlG3CPYhrTLy8d0Qq2zceDrZkcfA7YFD8Ne4cXhCMoa7axaZ+4dKRZHv9fQj9vbE v7eBo6414UbG68nNUwIMZhohxumTCw8sCH8Ts1A2I7FOPcm+vI4BgVoww7YPqnKW zbDH49OosVAceA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:resent-date:resent-from :resent-message-id:resent-to:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=NATBS4WouEuaBFjo/ TDrcgUiAXbz2hhtC9XBRgu3YiU=; b=kphT5X61JZZA4ZkLidZ4eoCiN5E3koG+G GYpm+Qm4eKmax3iV96MqGQqvQFB8PjF0XOCv97uWdprI7iLLSRV6CjzsuNez9oWg watEvNRYkmQggJne7nytGVJlCRVTr4DAHTZyUywgwnrcWXieaMt68SPoPZ1cdbmX zA5xOhduJWsne3PUaTqlVvFcVLzUa7h7WKnM29Hfeyu1GlP9M+B6NnX3ugf+5SU/ u5wtwArS+/vP+mvcjn9+sOtA3hYw43Yi0wEaEnGRmj8XL7baR9Oq8bSqPbafnHOk GJ+3lfIln/K9fyXzuetKLHKMabubPN9OBzJ/Q6nuaUlRcm9sHiotg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeluddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfffkgggtsehttdertd dttddtnecuhfhrohhmpedfrfhhihhlihhpucfmrddfuceophhhihhlihhpseifrghrphhm rghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepheeuieffveevkeetffeufeekfeejke ekkeefjeelueeftdduffdugfeuieegfffhnecukfhppeekjedrudeghedrudehrdeluden ucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilh hiphesfigrrhhpmhgrihhlrdhnvght X-ME-Proxy: Original-Received: from localhost (p57910f5b.dip0.t-ipconnect.de [87.145.15.91]) by mail.messagingengine.com (Postfix) with ESMTPA id 32E8F3067954 for ; Fri, 26 Jun 2020 15:51:18 -0400 (EDT) Resent-From: philip@warpmail.net Resent-Date: 26 Jun 2020 21:51:16 +0200 Resent-To: bug-gnu-emacs@gnu.org In-Reply-To: 87blmewc7p.fsf@mail.linkov.net X-RMAIL-ATTRIBUTES: -------r Resent-Message-Id: <20200626195118.32E8F3067954@mailuser.nyi.internal> Received-SPF: pass client-ip=64.147.123.19; envelope-from=philip@warpmail.net; helo=wout3-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/26 14:44:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182420 Archived-At: > Recently we had a similar problem in char-fold.el that was solved > using defconst for the default value and a :set function, this might > help here. I've been trying to understand what was changed there (I presume you're referring to 376f5df), but I don't think I can quite follow. What difference does adding the defconst forms to the eval-and-compile block do? -- Philip K.