From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#55140: 27.1; Feature request: allow customize holidays list Date: Wed, 27 Apr 2022 12:30:39 -0400 Message-ID: <18k0ba8p5c.fsf@fencepost.gnu.org> References: <87y1zqbs3o.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 55140@debbugs.gnu.org, =?UTF-8?Q?Jos=C3=A9_?= =?UTF-8?Q?J=C3=BAnior?= To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 27 18:31:59 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njka6-0007v9-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Apr 2022 18:31:59 +0200 Original-Received: from localhost ([::1]:40154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njka5-0001yJ-EJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Apr 2022 12:31:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njkZC-0001wz-9a for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2022 12:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njkZB-0001Wc-Vr for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2022 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njkZB-000353-Sc for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2022 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2022 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55140 X-GNU-PR-Package: emacs Original-Received: via spool by 55140-submit@debbugs.gnu.org id=B55140.165107705411825 (code B ref 55140); Wed, 27 Apr 2022 16:31:01 +0000 Original-Received: (at 55140) by debbugs.gnu.org; 27 Apr 2022 16:30:54 +0000 Original-Received: from localhost ([127.0.0.1]:44047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njkZ4-00034f-Ij for submit@debbugs.gnu.org; Wed, 27 Apr 2022 12:30:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njkZ2-00034S-5d for 55140@debbugs.gnu.org; Wed, 27 Apr 2022 12:30:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njkYw-0001Va-K4; Wed, 27 Apr 2022 12:30:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=vlmwhTFUDGHfqNRh6nnskOM7hU3xwhE711Yw5UuOJpM=; b=koYYO/qlc950NGsHf29e UnPyjckFe2tCbaloIk+dqvEZoZRAp++5ONnE4elFj7+HbmBe8wGaHyYZaf//qpvKksza7AjClZLdN 0jqfZtIEYjYlmKodlnLvaxeCqygbrMVcco5p7BJRlT+iZMipr1UMY/ZQXpH+YUTE65urDX3+ADAV7 0lhoOlZ86yTyJDVstyRHZNPb1hUMA6wNDXXsurEUPjFdJ2EBcArF/mxXPwabW7JnN+wuboq4uoKuj kHGms7pDBXsfICfLd/OD/jbOTNTvPrTzSGtVON/6CwTrxjk9NmyBQGy3v04lh2m4t3TqQ+M/1eO/z 3OTDDxCK/aMLcQ==; Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1njkYp-0003N0-Sm; Wed, 27 Apr 2022 12:30:43 -0400 X-Spook: KLM Leuken-Baden MITM Watch Adriatic TIE JITEM X-Ran: (`7li[LYXkwQUs#JHxw[lqeHF7>_i4HveR/e&]4%i(h5G/T*S%z.,%)yiSfdv@ci_pX2LX X-Hue: brightcyan X-Attribution: GM In-Reply-To: <87y1zqbs3o.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 27 Apr 2022 14:58:35 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230797 Archived-At: 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.