From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome Date: Mon, 3 May 2021 19:35:42 -0500 Message-ID: References: <87fsz4gcrc.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27992"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48191@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 04 02:38:30 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 1ldj54-0007CO-OR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 02:38:30 +0200 Original-Received: from localhost ([::1]:47772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldj53-0007DF-RK for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 May 2021 20:38:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldj2j-00066q-5A for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 20:36:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldj2g-0001ht-D8 for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 20:36:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldj2g-0000xc-8T for bug-gnu-emacs@gnu.org; Mon, 03 May 2021 20:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 May 2021 00:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48191 X-GNU-PR-Package: emacs Original-Received: via spool by 48191-submit@debbugs.gnu.org id=B48191.16200885503666 (code B ref 48191); Tue, 04 May 2021 00:36:02 +0000 Original-Received: (at 48191) by debbugs.gnu.org; 4 May 2021 00:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:49620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldj2T-0000x3-Sp for submit@debbugs.gnu.org; Mon, 03 May 2021 20:35:50 -0400 Original-Received: from mail-pg1-f169.google.com ([209.85.215.169]:36772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldj2S-0000wi-04 for 48191@debbugs.gnu.org; Mon, 03 May 2021 20:35:48 -0400 Original-Received: by mail-pg1-f169.google.com with SMTP id c21so913183pgg.3 for <48191@debbugs.gnu.org>; Mon, 03 May 2021 17:35:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=aYaLTM3Xu7BTxKwLsqLbh6NqdjFErwsypeZzYyT+qfs=; b=YFriiwNY3w0JuWwuZhRnruPZ1ShuO5gNmPIvKhfKB4+MbFUK8olRSSJ5sYlHwaS65X Ld2Gw3pbrRvBX41IzY4TjAPQCytylIf+dfCQkYVDOMmDfQIugcHAE8j8KTZo33LSgUS3 TPczwC6iLdvYqEdBEClSuZ8KoMSx35o/Zds21dfLxAOgiGih+sp0LCXwV+/M/lwrBujr d7ZF6m8YGTn4mw05Llui+HD1EuJyBr9UYRSBWwfKegKdR5dNEqU3/p+l+vcm04B3PfLu zP5lJbUxMrM1j6/aR3HEagbcUYPKs9BW3o/xjpWRXMCNX8DnuW7BwThpk3BT+5Ez2j6Y 1U9A== X-Gm-Message-State: AOAM531cnSYeimj8aKGTEyCTaEwnjl5zPd09wsWVPmwSCp9mUllQ23J7 soJDrFDRKvxZTXxQVT4ZCIbdCilGK99IMd6ksKagjIRC X-Google-Smtp-Source: ABdhPJzt7F85fa/kBx3TEym7Z3kVwdN72Bk/IuZ9XvX0dyVJMWFGpAR2IPYRfph2YyZgMY+hHORbaPNVB58GDMkCTPI= X-Received: by 2002:a62:3344:0:b029:28c:6f0f:cb90 with SMTP id z65-20020a6233440000b029028c6f0fcb90mr19271783pfz.58.1620088542428; Mon, 03 May 2021 17:35:42 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 3 May 2021 19:35:42 -0500 In-Reply-To: (Gregory Heytings's message of "Mon, 03 May 2021 15:10:14 +0000") 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:205568 Archived-At: Gregory Heytings writes: >> >> You know what, >> C-x ` runs the command next-error >> is a lot of work pressing over and over. >> >> Let's think of >> C-s runs the command isearch-repeat-forward >> Now that's like driving a Tesla, vs. some '68 Oldsmobile. >> >> Sure, they are just going to say >> >>> Well then just bind it to your favorite key. Case closed. >> >> But I'm talking about the health of the wrists of future generations. The >> kids. So emacs should add an additional one stroke binding. >> > > You know what, C-h w next-error tells you that "next-error is on C-x `, M-g n, > M-g M-n". That's already three keybindings; the third one should be > particularly easy to type on any keyboard. > > And you know what, if none of them suits the needs of your wrist, you can > (define-key global-map (kbd "") 'next-error). On current master, you can type M-x repeat-mode and then: M-g n n n n n IOW, I don't think there is anything more to do here; just use `repeat-mode'.