From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51390: 29.0.50; repeat-mode: Fails to repeat keys in global-map(?) Date: Mon, 22 Nov 2021 04:44:37 +0100 (CET) Message-ID: References: <86sfvpxmhn.fsf@mail.linkov.net> Reply-To: Visuwesh Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6600"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51390 <51390@debbugs.gnu.org> To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 22 04:45:11 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 1mp0GV-0001R8-QU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Nov 2021 04:45:11 +0100 Original-Received: from localhost ([::1]:52786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mp0GT-0008Ls-VK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 22:45:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mp0GM-0008LT-Pt for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mp0GM-0003qN-E9 for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mp0GM-0002bp-4R for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Nov 2021 03:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51390 X-GNU-PR-Package: emacs Original-Received: via spool by 51390-submit@debbugs.gnu.org id=B51390.16375526859990 (code B ref 51390); Mon, 22 Nov 2021 03:45:02 +0000 Original-Received: (at 51390) by debbugs.gnu.org; 22 Nov 2021 03:44:45 +0000 Original-Received: from localhost ([127.0.0.1]:46540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mp0G5-0002b3-38 for submit@debbugs.gnu.org; Sun, 21 Nov 2021 22:44:45 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:55584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mp0G3-0002ao-ID for 51390@debbugs.gnu.org; Sun, 21 Nov 2021 22:44:44 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 6CCF8FBF816; Mon, 22 Nov 2021 03:44:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1637552677; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=5HRd+3YXKULHXofGCbSejokwOMGE58mUa5aIUBqM5+s=; b=0s1P38axSdyo2Ppp/GDJyZS660kS6lwWi3OzKcZIbF74gVYNxztjywJylyf5jPBq Ccf5mm1XlOGAD1r2f7nV652lnvM+zfI78NJWzE6+7DK91ywp7L/nfUbF8rg/wKr/D2Q JjaaMTPfW+DczAi5P/UQDwx+vFCoFCVyE+PYxsEjYHnGouBGYycT458asIP2eyZ4TZO Ukb/aOdmXYlM5935cYK09vxhZ94lO8B8iNfB0t1+0n8Ndv31mGlzufy711VnsnNYan7 BfRx5cyb33dfecE8QWF1lTXSheOkiv/pXmuwuh4NVJp5qHxzqrS9qoNT1B9zYLqkC+a iYMDB6xVSQ== In-Reply-To: <86sfvpxmhn.fsf@mail.linkov.net> 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:220603 Archived-At: 22 Nov 2021, 02:19 by juri@linkov.net: >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (defvar teest >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ((map (make-= sparse-keymap))) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (defi= ne-key map "n" #'next-line) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (defi= ne-key map "p" #'previous-line) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 map)) >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (put 'next-line 'repeat-map '= teest) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (put 'previous-line 'repeat-m= ap 'teest) >> > >... > >> 4. Type C-n.=C2=A0 Notice that it does not trigger the repeat map. >> > > I tried to implement what you asked to do, but got horrible results > caused too much damage. Here is the lossage explaining the problem: > > C- ;; tab-next > o ;; tab-next > n ;; gnus-group-next-unread-group > > i.e. I typed C- to switch to the next tab with the text buffer > where I started to type text that begins with the letters "on..." > > But instead of inserting letters to the buffer, the letter "o" > switched to the second next tab. This tab contained the Gnus buffer > where typing the second letter "n" called the bound command > gnus-group-next-unread-group, and I lost all unread messages. > > But I never had such a problem when the repeating sequence was > activated only by 'C-x t o ... o o ...' instead of 'C- o o o ...' > because 'C-' is a single key, there is no need to activate > other keys doing the same. > > This means that by default this behavior should be disabled. > But maybe a new variable should allow to skip this check: > Hi Juri, I am currently in the middle of exams, I will try out the patch in a couple