GNU bug report logs -
#80099
Support displaying more months in the calendar
Previous Next
To reply to this bug, email your comments to 80099 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80099; Package
emacs.
(Tue, 30 Dec 2025 10:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Liu Hui <liuhui1610 <at> gmail.com>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Tue, 30 Dec 2025 10:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
This is a feature request. Emacs currently displays three months in
the calendar, and it is useful to show more months when the
window/frame is wide or when users need a larger calendar range.
This patch allows users pressing '+' to display more months at the
right side of calendar if there is enough space, with an upper limit
of 12 months.
All scroll/motion commands should work well. Some commands, such as {
or }, cause the cursor jumping back and forth. This patch changes the
behavior of these commands to match that of calendar-forward-day
(C-f), which feels more natural when there are more months.
If it is acceptable, I'll add holiday support for extra months and
update the documentation later. Feedback is welcome.
[0001-Support-displaying-more-months-in-the-calendar.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#80099; Package
emacs.
(Tue, 30 Dec 2025 13:35:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 80099 <at> debbugs.gnu.org (full text, mbox):
Liu Hui <liuhui1610 <at> gmail.com> writes:
> Hello,
>
> This is a feature request. Emacs currently displays three months in
> the calendar, and it is useful to show more months when the
> window/frame is wide or when users need a larger calendar range.
>
> This patch allows users pressing '+' to display more months at the
> right side of calendar if there is enough space, with an upper limit
> of 12 months.
>
> All scroll/motion commands should work well. Some commands, such as {
> or }, cause the cursor jumping back and forth. This patch changes the
> behavior of these commands to match that of calendar-forward-day
> (C-f), which feels more natural when there are more months.
>
> If it is acceptable, I'll add holiday support for extra months and
> update the documentation later. Feedback is welcome.
Hi Liu,
Here is some feedback from my quick testing of your patch:
- I think that C-v/M-v should scroll of the amount of displayed
months and not just 3.
- After some movements with C-v/M-v, hitting '.' does not move the
cursor to today (maybe this is not related to your patch).
- Regarding the messages about the number of months, I think it
should be "The calendar shows at least 3 months." and "No space
left to display more months." (instead of "There is no space.")
--
Manuel Giraud
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.