GNU bug report logs - #78205
[PATCH] Recenter for the calendar

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Fri, 2 May 2025 07:51:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 78205 <at> debbugs.gnu.org
Subject: bug#78205: [PATCH] Recenter for the calendar
Date: Sun, 04 May 2025 11:59:53 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Hello Manuel,
>
> your patch works nicely.
>
>
>> +              (car (or (cdr (member calendar-recenter-last-op positions))
>
> This `member' could be `memq' I think.

Thanks.  I have copy this part from 'recenter-top-bottom'.  I'll try
with memq.

>> +                       positions))
>> +            (car positions)))
>> +    ;; XXX like most functions in calendar, a span of three displayed
>> +    ;; months is implied here.
>
> What does "XXX" mean?

It is kind of a warning/watchout for future readers.  I've seen it use
in other places in the Emacs sources.
-- 
Manuel Giraud




This bug report was last modified 14 days ago.

Previous Next


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