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:45:45 +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="11970"; 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:46:21 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 1mp0Hc-0002wt-R4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Nov 2021 04:46:21 +0100 Original-Received: from localhost ([::1]:53354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mp0Hb-0000Pp-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 22:46:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mp0HK-0000Pb-SK for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mp0HK-0003y1-K7 for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mp0HK-0002eB-J3 for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 22:46: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:46: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.163755275210154 (code B ref 51390); Mon, 22 Nov 2021 03:46:02 +0000 Original-Received: (at 51390) by debbugs.gnu.org; 22 Nov 2021 03:45:52 +0000 Original-Received: from localhost ([127.0.0.1]:46551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mp0H9-0002di-SB for submit@debbugs.gnu.org; Sun, 21 Nov 2021 22:45:52 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:55872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mp0H8-0002dW-QP for 51390@debbugs.gnu.org; Sun, 21 Nov 2021 22:45:51 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 5F755FBF568; Mon, 22 Nov 2021 03:45:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1637552745; 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=VC0+d3xR+U6E1N89FX74BL2WAkzfUepxgi3iAkq33T8=; b=bSIluhangJVJJVhi+JqU3ytuHVN3m7shoGdonuDVigKpot+WFRkI62LzuXO8tnqO r+8sPP/aBgXzYmPLKDQTqlkhJBpZxeY2cXpPa8dV425vuEGp+67YzHj7o6I8DTNPIlQ 8SD6KQg2nqyhwN8lX6GTBRlZyYI41jCBWS7lPrJUGCQB/tGa+Tl85mkjpf2w6BrsTb+ 2Of43AGLfPjWkcLtOlJB0xm3766Bz1bg8GBCteR4KyMgUs4fFv/cnF4M+XfJN9hjpbS +GToIWixtExedXzwGS9OH0AJCgWYrNX3oKW+L1rOxcVtZYfTEkOj919ip3/voe1UMe3 OTkyjPVbuw== In-Reply-To: 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:220604 Archived-At: 22 Nov 2021, 09:14 by visuwesh@tutanota.com: > 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 (def= ine-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 (def= ine-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-= map '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 coup= le > in a couple of days, that is. I pressed the send key too quickly.=C2=A0 Sorry for the noise.