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: Juri Linkov <juri <at> linkov.net>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Eli Zaretskii <eliz <at> gnu.org>, 78205 <at> debbugs.gnu.org
Subject: bug#78205: [PATCH] Recenter for the calendar
Date: Sun, 04 May 2025 19:19:54 +0200
Juri Linkov <juri <at> linkov.net> writes:

>>>> +              (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'.
>
> Because the value of 'recenter-top-bottom' can be a float number:
>
> (member 0.2 '(0.1 0.2))
> => (0.2)
>
> (memq 0.2 '(0.1 0.2))
> => nil

Thanks Juri, I'll try to remember this next time.  FWIW, I have used
memq here as suggested by Michael.
-- 
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.