unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
@ 2021-05-03 13:36 積丹尼 Dan Jacobson
  2021-05-03 15:10 ` Gregory Heytings
  0 siblings, 1 reply; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-05-03 13:36 UTC (permalink / raw)
  To: 48191

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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-03 13:36 bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome 積丹尼 Dan Jacobson
@ 2021-05-03 15:10 ` Gregory Heytings
  2021-05-03 16:44   ` 積丹尼 Dan Jacobson
  2021-05-04  0:35   ` Stefan Kangas
  0 siblings, 2 replies; 7+ messages in thread
From: Gregory Heytings @ 2021-05-03 15:10 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 48191


>
> 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 "<your preferred key>") 'next-error).





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-03 15:10 ` Gregory Heytings
@ 2021-05-03 16:44   ` 積丹尼 Dan Jacobson
  2021-05-03 17:14     ` Gregory Heytings
  2021-05-04  0:35   ` Stefan Kangas
  1 sibling, 1 reply; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-05-03 16:44 UTC (permalink / raw)
  To: Gregory Heytings; +Cc: 48191

GH> `, M-g n, M-g M-n".

OK, testing with
(occur "o" nil)
^so^s^s^s^s beats all the rest.

GH> can (define-key

I am talking about defaults for future users.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-03 16:44   ` 積丹尼 Dan Jacobson
@ 2021-05-03 17:14     ` Gregory Heytings
  0 siblings, 0 replies; 7+ messages in thread
From: Gregory Heytings @ 2021-05-03 17:14 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 48191


>
> OK, testing with
> (occur "o" nil)
> ^so^s^s^s^s beats all the rest.
>

Yes, searching is a more frequent operation than going to the next error.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-03 15:10 ` Gregory Heytings
  2021-05-03 16:44   ` 積丹尼 Dan Jacobson
@ 2021-05-04  0:35   ` Stefan Kangas
  2021-05-04  8:12     ` Lars Ingebrigtsen
  2021-05-04 18:20     ` 積丹尼 Dan Jacobson
  1 sibling, 2 replies; 7+ messages in thread
From: Stefan Kangas @ 2021-05-04  0:35 UTC (permalink / raw)
  To: Gregory Heytings; +Cc: 48191, 積丹尼 Dan Jacobson

Gregory Heytings <gregory@heytings.org> 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 "<your preferred key>") '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'.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-04  0:35   ` Stefan Kangas
@ 2021-05-04  8:12     ` Lars Ingebrigtsen
  2021-05-04 18:20     ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-04  8:12 UTC (permalink / raw)
  To: Stefan Kangas
  Cc: Gregory Heytings, 48191, 積丹尼 Dan Jacobson

Stefan Kangas <stefan@marxist.se> writes:

> IOW, I don't think there is anything more to do here; just use
> `repeat-mode'.

Yup; closing the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome
  2021-05-04  0:35   ` Stefan Kangas
  2021-05-04  8:12     ` Lars Ingebrigtsen
@ 2021-05-04 18:20     ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 7+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-05-04 18:20 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Gregory Heytings, 48191

>>>>> "SK" == Stefan Kangas <stefan@marxist.se> writes:

SK> On current master, you can type M-x repeat-mode and then:

SK>     M-g n n n n n

SK> IOW, I don't think there is anything more to do here; just use
SK> `repeat-mode'.

OK, but please be sure the next-error docstring mentions that fact, else
no one could guess it out of thin air. Thanks.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-04 18:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03 13:36 bug#48191: C-x ` runs the command next-error: carpal tunnel syndrome 積丹尼 Dan Jacobson
2021-05-03 15:10 ` Gregory Heytings
2021-05-03 16:44   ` 積丹尼 Dan Jacobson
2021-05-03 17:14     ` Gregory Heytings
2021-05-04  0:35   ` Stefan Kangas
2021-05-04  8:12     ` Lars Ingebrigtsen
2021-05-04 18:20     ` 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).