From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 26 22:22:45 2022 Received: (at submit) by debbugs.gnu.org; 27 Apr 2022 02:22:45 +0000 Received: from localhost ([127.0.0.1]:40836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njXKH-0000N1-0R for submit@debbugs.gnu.org; Tue, 26 Apr 2022 22:22:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:48926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njXKF-0000Ms-21 for submit@debbugs.gnu.org; Tue, 26 Apr 2022 22:22:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njXKE-0004z4-Sz for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 22:22:42 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:40758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njXKD-00056S-Cb for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 22:22:42 -0400 Received: by mail-wr1-x429.google.com with SMTP id e2so527337wrh.7 for ; Tue, 26 Apr 2022 19:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=He53VoGNgv0DhBwyvPTCps8jKmeOJDHGtkPSdmFq9CY=; b=Qni0xKtPKXtnYJ+OCFjAeCG2THNMgCH9lZeujPlZCZN9jZFpWR9IsXcEAsIHgvsLaU YQzM+oJG5JPjiP09Op+NQ2q+1ylUm4dcWvxkygV3VrHMR/5WpIYUn8xxQhy8XF5kAnYq HxeBWTd4GhgLAOwepyyPxFYq4VJINHIvEy942h8eYhv8R0fhSy76TJ6MnwUG3tpxZsJf l2g2NvuTXHWjjuypOcsC/ldhJNnkebQb5QMoFXj38kWyMdMojKnaoj7u/0eROYU/gUgY JTBh8hzop8hR5kt3lWRiX0jIvM5rGKAZRhjFV8WoPY0sOQ/tb2oyaYVnBw+WrQv0I4W9 yEmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=He53VoGNgv0DhBwyvPTCps8jKmeOJDHGtkPSdmFq9CY=; b=CDAJW8ECnzz+G+D7tyVbqZELAlWvExPZTSRazYZudCs/BVC3KjEMRppUcKVLrLkdpb nFRhUeedgTxNcT43/AhsK8GXcVzfjsvWNoLSoGA8O32buYX4yarlTkHWfdrS5ZYOIvnW qYdlCpuz3TCpuy4/lL4OZ3AxmbU2tr7M5womI/ZApaYiUOcAzM40GSnlqOBwKZCpQlP+ 2K34FtbA3N3uLEV62FPGq6lScdyJ0NltCUEmOdJqjoh//VUI7weX/kHvhQIY4VKYr5Y4 bmnSRZcBBpD/76b6PmEwbOdKxMVl0pBUDxknAQxMbLFkwY1kOei2JI/i+koxtrRwRMwI aCoA== X-Gm-Message-State: AOAM531YHCi955gz0qq9cIDDjqX6xmPcs/7J5uAvZbHLMAkKIHDZPywx W+HWe3ma+PEJtJB6/hahvPP81CcqVFRmbEzIK3I9aMZeJkQ= X-Google-Smtp-Source: ABdhPJwzXlrFdtFyIET25CgoAIQiFl6L+L1s4FI355cVuBkka/rQRsUABP03kg8LcqqCzr2/k+gGIOrK5Glz69qjSLE= X-Received: by 2002:adf:d230:0:b0:20a:da1f:aaaf with SMTP id k16-20020adfd230000000b0020ada1faaafmr10535071wrh.616.1651026159144; Tue, 26 Apr 2022 19:22:39 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?Sm9zw6kgSsO6bmlvcg==?= Date: Tue, 26 Apr 2022 23:22:02 -0300 Message-ID: Subject: 27.1; Feature request: allow customize holidays list To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000bb127805dd997ba0" Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=jjnilton@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --000000000000bb127805dd997ba0 Content-Type: text/plain; charset="UTF-8" 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. --000000000000bb127805dd997ba0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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/cg= it/emacs.git/tree/lisp/calendar/holidays.el#n437 and seems that the onl= y 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 rel= igions, or anything, not only the ones that comes with emacs.

--000000000000bb127805dd997ba0-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 08:58:49 2022 Received: (at 55140) by debbugs.gnu.org; 27 Apr 2022 12:58:49 +0000 Received: from localhost ([127.0.0.1]:41520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njhFo-0000Nb-VR for submit@debbugs.gnu.org; Wed, 27 Apr 2022 08:58:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njhFn-0000NL-04 for 55140@debbugs.gnu.org; Wed, 27 Apr 2022 08:58:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=31AHfoTnBWl6bPwmvcjoLNAblPqBjHdP49GoYeg8p88=; b=JezFdsc+bsq6XI41VLaxfsHM0E Kp76sEjPguEMpyf2dfL48KJMGJMDpG1j+y/FfxwaP4misjx+5yXfBtjoanC35zP1zqKmXarPOMB9X wj3cgN7/IFKnGELPO2gUViclEIXRwfFVMmXggHlq4kptS1/ir7leX6IBl7lSnJknzyV0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njhFd-0005O2-Ba; Wed, 27 Apr 2022 14:58:40 +0200 From: Lars Ingebrigtsen To: =?utf-8?B?Sm9zw6kgSsO6bmlvcg==?= Subject: Re: bug#55140: 27.1; Feature request: allow customize holidays list References: X-Now-Playing: Kate Bush's _This Woman's Work I_: "December Will Be Magic Again" Date: Wed, 27 Apr 2022 14:58:35 +0200 In-Reply-To: (=?utf-8?Q?=22Jos=C3=A9_J=C3=BAnior=22's?= message of "Tue, 26 Apr 2022 23:22:02 -0300") Message-ID: <87y1zqbs3o.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: José Júnior 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55140 Cc: 55140@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Jos=C3=A9 J=C3=BAnior 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.e= l#n437 and > seems that the only way to customize would be overriding/wrapping the fun= ction. > > 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 08:58:52 2022 Received: (at control) by debbugs.gnu.org; 27 Apr 2022 12:58:52 +0000 Received: from localhost ([127.0.0.1]:41523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njhFs-0000Nt-71 for submit@debbugs.gnu.org; Wed, 27 Apr 2022 08:58:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njhFr-0000NS-0H for control@debbugs.gnu.org; Wed, 27 Apr 2022 08:58:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xJfNBUR7H7dLOr7Ez/RSkKHrBfcu/CXRvuDcTKSfgnE=; b=lYA8ktwxHZRDLbOHYMoyIu5VGb Uvcd6VPmazFdXaxYLxRbLi61lLwEBuviHUQfynqo1zUlmHgIlByqZoPavVETxZ0BI5MmbIF0xdmes uhUJLO8v+0SKmYvEeSIqzMpVZjKhcgZ1yfn5bo2E44Z/7MVHf50O67Fl0pKFnzuNwCKw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njhFj-0005OA-6Q for control@debbugs.gnu.org; Wed, 27 Apr 2022 14:58:45 +0200 Date: Wed, 27 Apr 2022 14:58:42 +0200 Message-Id: <87wnfabs3h.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55140 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55140 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 55140 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 12:30:54 2022 Received: (at 55140) by debbugs.gnu.org; 27 Apr 2022 16:30:54 +0000 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 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 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==; 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 From: Glenn Morris To: Lars Ingebrigtsen Subject: Re: bug#55140: 27.1; Feature request: allow customize holidays list References: <87y1zqbs3o.fsf@gnus.org> 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 Date: Wed, 27 Apr 2022 12:30:39 -0400 In-Reply-To: <87y1zqbs3o.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 27 Apr 2022 14:58:35 +0200") Message-ID: <18k0ba8p5c.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55140 Cc: 55140@debbugs.gnu.org, =?utf-8?B?Sm9zw6kgSsO6bmlvcg==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 27 12:51:11 2022 Received: (at 55140) by debbugs.gnu.org; 27 Apr 2022 16:51:11 +0000 Received: from localhost ([127.0.0.1]:44077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njksh-0003ec-4T for submit@debbugs.gnu.org; Wed, 27 Apr 2022 12:51:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njkse-0003eL-Sz for 55140@debbugs.gnu.org; Wed, 27 Apr 2022 12:51:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ET2TiRlBV3+9hcyf+DAS+4g4xuhNZPnABqwAIoCq6T0=; b=tsadeiRKHcLbzePnfYa8sxOx7Q qnPeRJv20UBYLKFtACLfu5fDDD8wzlDUPKa3czJTX8R4w2oqwtTU6gdq5/UnoFbd2RlKW+e3h5j6L /MrvGuccQql0qgFn5SrOMbK3aI8DQQj4ngy3Vj/8yGQBh29TN+DCSwY/jFwnwbQzG0nI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njksV-0007U9-U5; Wed, 27 Apr 2022 18:51:02 +0200 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#55140: 27.1; Feature request: allow customize holidays list References: <87y1zqbs3o.fsf@gnus.org> <18k0ba8p5c.fsf@fencepost.gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWjk22fUTtbOiwv GxcEAwLJwZ7u6ND9/fr///8cykeDAAAAAWJLR0QIht6VegAAAAd0SU1FB+YEGxAwFknlBLMAAAGo SURBVDjLldNBU6MwFAfwgIBXkk71SgL1rEnWs0uee86qtNcdncJ1R8fm6+9Lim0oOrP+hwOT3yS8 lwRCCKVMjKmVhjGkw1iyTyLEf0LXjTIHSyxJCGER9P2eUt5UJBWNqVWt9hDEghSy8qC0+gAvmcRi bxLRABjQH7DtbPtb8KZFMELJw4x+/Xj7l5cLQ/yMw8d90qLvRQoz2C7Wfc5SU7EYdmmVyJ5Qm7XX aQS7M6XkavlQ5Q2/i2B4VghLbstEsZ/xjAbBLBec1CptyRFesSNlSkFrMCyGDMcVCM6gBpARaAQA 3G+jPWQHAPB7JtGRru1ZBKDC4zfvrnuMAdcK5yOhnQKWG95zo04hBFqti5cYQPvmh60GfTWFkPXw BHD7CZTkD8LbFLB5Q+lan4DhtEwYp0UG9zHg+D7lC/x6PQKO423H8YJbvolAMuGr5XTIC+ci4HVo T5bO5TG0Ymy8crsJ4F9kAvxw7xcTGCeoK+eGGGp/u30unc8R1LjSjZtBqIlsZhD2nDs3A7+SXH0C PuJiDqEmcTmHUJM4/zYU/Zjn+Zmf5Ev4B36NHPr9BKGLAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy LTA0LTI3VDE2OjQ4OjIyKzAwOjAwqT/RqwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNC0yN1Qx Njo0ODoyMiswMDowMNhiaRcAAAAASUVORK5CYII= X-Now-Playing: Heidi Berry's _Below the Waves_: "Firefly" Date: Wed, 27 Apr 2022 18:50:56 +0200 In-Reply-To: <18k0ba8p5c.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 27 Apr 2022 12:30:39 -0400") Message-ID: <874k2esc5r.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Glenn Morris 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55140 Cc: 55140@debbugs.gnu.org, =?utf-8?B?Sm9zw6kgSsO6bmlvcg==?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Glenn Morris 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 From unknown Sat Aug 16 16:13:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 May 2022 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator