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


I don't understand this request, nor the solution.

list-holidays allows the list of holidays to be passed as third argument.
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?

The solution splits the completion list used by the interactive
prompting into a separate function. Is the misspelling "holydays"
intentional?

"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.
And you can redefine any function in Emacs, so does this really need stating?

But how is this any better than defining your own interactive wrapper
function that just calls list-holidays non-interactively with the
desired list?

Was this report actually about the interactive behaviour?
It started with "the feature request is an option in customize to allow
adding/hiding holiday-lists". I thought that already existed.






  reply	other threads:[~2022-04-27 16:30 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
2022-04-27 16:30   ` Glenn Morris [this message]
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=18k0ba8p5c.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=55140@debbugs.gnu.org \
    --cc=jjnilton@gmail.com \
    --cc=larsi@gnus.org \
    /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.