GNU bug report logs - #78753
[PATCH] Add repeat-map for calendar year navigation commands

Previous Next

Package: emacs;

Reported by: "Paul D. Nelson" <ultrono <at> gmail.com>

Date: Tue, 10 Jun 2025 18:18:06 UTC

Severity: normal

Tags: patch

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

To reply to this bug, email your comments to 78753 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to juri <at> linkov.net, bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Tue, 10 Jun 2025 18:18:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul D. Nelson" <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to juri <at> linkov.net, bug-gnu-emacs <at> gnu.org. (Tue, 10 Jun 2025 18:18:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add repeat-map for calendar year navigation commands
Date: Tue, 10 Jun 2025 20:17:13 +0200
[Message part 1 (text/plain, inline)]
With this patch and with repeat-mode active, one can navigate by year in
calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.

[0001-Add-repeat-map-for-calendar-year-navigation-commands.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Wed, 11 Jun 2025 06:57:02 GMT) Full text and rfc822 format available.

Message #8 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 78753 <at> debbugs.gnu.org
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Wed, 11 Jun 2025 09:52:56 +0300
> With this patch and with repeat-mode active, one can navigate by year in
> calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.

I wanted to suggest the same thing for 'C-x >', but discovered it has
a shorter alternative '>' for the same command 'calendar-scroll-left'.
(I don't remember whether I usually use it or the longer sequence).

Would it be simpler just to add the single key bindings '[' and ']'?
There are currently free in 'calendar-mode-map'.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Wed, 11 Jun 2025 07:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 78753 <at> debbugs.gnu.org
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Wed, 11 Jun 2025 09:15:33 +0200
Juri Linkov <juri <at> linkov.net> writes:

>> With this patch and with repeat-mode active, one can navigate by year in
>> calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.
>
> I wanted to suggest the same thing for 'C-x >', but discovered it has
> a shorter alternative '>' for the same command 'calendar-scroll-left'.
> (I don't remember whether I usually use it or the longer sequence).
>
> Would it be simpler just to add the single key bindings '[' and ']'?
> There are currently free in 'calendar-mode-map'.

Ah, good thinking.  Yes, and along similar lines, how about binding '{'
and '}' to 'calendar-backward-month' and 'calendar-forward-month'?

Let me know if I can help with this or if it's easier for you just to do
it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Wed, 11 Jun 2025 07:39:02 GMT) Full text and rfc822 format available.

Message #14 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 78753 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Wed, 11 Jun 2025 09:38:44 +0200
"Paul D. Nelson" <ultrono <at> gmail.com> writes:

> With this patch and with repeat-mode active, one can navigate by year in
> calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.

Thanks.  It works as expected.  I too was thinking about adding the same
feature to 'M-{' and 'M-}'.
-- 
Manuel Giraud




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Wed, 11 Jun 2025 16:46:04 GMT) Full text and rfc822 format available.

Message #17 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 78753 <at> debbugs.gnu.org
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Wed, 11 Jun 2025 19:40:27 +0300
>>> With this patch and with repeat-mode active, one can navigate by year in
>>> calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.
>>
>> I wanted to suggest the same thing for 'C-x >', but discovered it has
>> a shorter alternative '>' for the same command 'calendar-scroll-left'.
>> (I don't remember whether I usually use it or the longer sequence).
>>
>> Would it be simpler just to add the single key bindings '[' and ']'?
>> There are currently free in 'calendar-mode-map'.
>
> Ah, good thinking.  Yes, and along similar lines, how about binding '{'
> and '}' to 'calendar-backward-month' and 'calendar-forward-month'?

Good idea.

> Let me know if I can help with this or if it's easier for you just to do
> it.

It's not easier for me since it requires also updating the documentation ;-)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Wed, 11 Jun 2025 18:16:04 GMT) Full text and rfc822 format available.

Message #20 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: "Paul D. Nelson" <ultrono <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 78753 <at> debbugs.gnu.org
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Wed, 11 Jun 2025 20:15:37 +0200
[Message part 1 (text/plain, inline)]
Juri Linkov <juri <at> linkov.net> writes:

>>>> With this patch and with repeat-mode active, one can navigate by year in
>>>> calendar using 'C-x ] ]' rather than 'C-x ] C-x ]', for instance.
>>>
>>> I wanted to suggest the same thing for 'C-x >', but discovered it has
>>> a shorter alternative '>' for the same command 'calendar-scroll-left'.
>>> (I don't remember whether I usually use it or the longer sequence).
>>>
>>> Would it be simpler just to add the single key bindings '[' and ']'?
>>> There are currently free in 'calendar-mode-map'.
>>
>> Ah, good thinking.  Yes, and along similar lines, how about binding '{'
>> and '}' to 'calendar-backward-month' and 'calendar-forward-month'?
>
> Good idea.
>
>> Let me know if I can help with this or if it's easier for you just to do
>> it.
>
> It's not easier for me since it requires also updating the documentation ;-)

Very well, please see attached.

[0001-Add-simpler-binds-for-calendar-month-year-navigation.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#78753; Package emacs. (Thu, 12 Jun 2025 06:36:02 GMT) Full text and rfc822 format available.

Message #23 received at 78753 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: "Paul D. Nelson" <ultrono <at> gmail.com>
Cc: 78753 <at> debbugs.gnu.org
Subject: Re: bug#78753: [PATCH] Add repeat-map for calendar year navigation
 commands
Date: Thu, 12 Jun 2025 09:33:56 +0300
close 78753 31.0.50
thanks

> Very well, please see attached.

Thanks, pushed.




bug marked as fixed in version 31.0.50, send any further explanations to 78753 <at> debbugs.gnu.org and "Paul D. Nelson" <ultrono <at> gmail.com> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Thu, 12 Jun 2025 06:36:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.