From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#41438: [PATCH] Allow windmove keys to be bound without prefix or modifiers Date: Sun, 23 May 2021 12:36:43 +0000 Message-ID: <87im39y6ck.fsf@posteo.net> References: <87imgpw7k3.fsf@warpmail.net> <87mu36enhl.fsf@posteo.net> <8735uru1py.fsf@gnus.org> <871r9yjyv5.fsf@posteo.net> <87cztizdar.fsf@posteo.net> <83eedyj66h.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="7770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41438@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 23 14:37:25 2021 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 1lknMC-0001sX-Sb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 May 2021 14:37:24 +0200 Original-Received: from localhost ([::1]:34714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lknMB-0001Ts-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 May 2021 08:37:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lknLp-0001TS-Tk for bug-gnu-emacs@gnu.org; Sun, 23 May 2021 08:37:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lknLp-0007xp-Lt for bug-gnu-emacs@gnu.org; Sun, 23 May 2021 08:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lknLp-0005fn-JS for bug-gnu-emacs@gnu.org; Sun, 23 May 2021 08:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 May 2021 12:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41438 X-GNU-PR-Package: emacs Original-Received: via spool by 41438-submit@debbugs.gnu.org id=B41438.162177341421794 (code B ref 41438); Sun, 23 May 2021 12:37:01 +0000 Original-Received: (at 41438) by debbugs.gnu.org; 23 May 2021 12:36:54 +0000 Original-Received: from localhost ([127.0.0.1]:40799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lknLh-0005fR-Sn for submit@debbugs.gnu.org; Sun, 23 May 2021 08:36:54 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lknLf-0005fC-6F for 41438@debbugs.gnu.org; Sun, 23 May 2021 08:36:52 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id DD58F2400FD for <41438@debbugs.gnu.org>; Sun, 23 May 2021 14:36:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1621773404; bh=VcnGaiIqicbJ8TQQwTvf7iv9jA8OoSx2js/xFA7oe/4=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=JBu7K6hgzcG8icKakBCpuPxGbynbAegcSOkbRaeupj78MRohlk02O4Q12ieCwjOD7 Ia6fJyDN6Ce5LBZlAUq9hdhlJsQhQDZX9qndlXqTTT8fLmkO6h9oCnx1SuQMQAq+It CaExdEGbLUcYJoQwhgChVikUHUzBq7xbkQ90iHEHT25Y71cP07dxMq1Fh0AekJ8WSS Nd6aWV39ugXmzLQ2+LZU8HXRVkjsAzaUf9L+Y+0tho+3+vXYqMFgzy5YslIO5M4uM4 L5qdV6c4qmUljzQCxKgl5J19H27id3+SeNdEgLqyU7HDfrKEmtv1W0tyrV/jzm7Agk Px45wzLNfV4MQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fp0G36k6Hz6tm9; Sun, 23 May 2021 14:36:43 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <83eedyj66h.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 May 2021 09:49:26 +0300") 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:207089 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Date: Sat, 22 May 2021 21:09:00 +0000 >> Cc: 41438@debbugs.gnu.org, Juri Linkov >> >> Philip Kaludercic writes: >> >> > The code should probably be refactored, moving more of the common >> > functionality into it's own function, but I am primarily wondering if >> > using emulation-mode-map-alists the way I am proposing it here is ok. Or >> > should I prefer minor-mode-map-alist? >> >> Here is a slightly cleaner version. > > Thanks. Should this be in NEWS? I think so. IIRC the plan was to add a few additional user options to make it easier to configure. -- Philip K.