all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "José Júnior" <jjnilton@gmail.com>
Cc: 55140@debbugs.gnu.org
Subject: bug#55140: 27.1; Feature request: allow customize holidays list
Date: Wed, 27 Apr 2022 14:58:35 +0200	[thread overview]
Message-ID: <87y1zqbs3o.fsf@gnus.org> (raw)
In-Reply-To: <CAGD2S5WP2ZC0ANvU-59sdViQ2LURhZBtiD0KQDThikixT0ut8w@mail.gmail.com> ("José Júnior"'s message of "Tue, 26 Apr 2022 23:22:02 -0300")

José Júnior <jjnilton@gmail.com> writes:

> Hi, the feature request is an option in customize to allow adding/hiding holiday-lists.
>
> Currently, the lists are hard coded here:
> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/calendar/holidays.el#n437 and
> seems that the only way to customize would be overriding/wrapping the function.
>
> This change would make it easier to create custom user-defined independent
> holiday lists, like seeing holidays of multiple regions, or religions, or anything, not
> only the ones that comes with emacs.

I've now separated that out into its own function, `holiday-lists', in
Emacs 29, so that you can add/alter the results with `add-function' or
advice.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-04-27 12:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27  2:22 bug#55140: 27.1; Feature request: allow customize holidays list José Júnior
2022-04-27 12:58 ` Lars Ingebrigtsen [this message]
2022-04-27 16:30   ` Glenn Morris
2022-04-27 16:50     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1zqbs3o.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55140@debbugs.gnu.org \
    --cc=jjnilton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.