GNU bug report logs -
#55140
27.1; Feature request: allow customize holidays list
Previous Next
Reported by: José Júnior <jjnilton <at> gmail.com>
Date: Wed, 27 Apr 2022 02:23:02 UTC
Severity: wishlist
Found in version 27.1
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris <rgm <at> gnu.org> writes:
> I don't understand this request, nor the solution.
>
> list-holidays allows the list of holidays to be passed as third argument.
That doesn't really help with the interactive spec, which is what's been
changed.
> This argument defaults to the variable calendar-holidays,
> which is a defcustom. So that seems like two ways you can control
> the list of holidays?
calendar-holidays controls the "All" value.
> The solution splits the completion list used by the interactive
> prompting into a separate function. Is the misspelling "holydays"
> intentional?
Nope; fixed.
>
> "you can alter the results by redefining that function, or use
> `add-function' to all values.". The last part of that doesn't make sense.
Typo.
> And you can redefine any function in Emacs, so does this really need stating?
I think it makes sense to state that this is the intended customisation
point for users.
> But how is this any better than defining your own interactive wrapper
> function that just calls list-holidays non-interactively with the
> desired list?
That's a possibility, of course, but somewhat convoluted.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.