From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: <tomas@tuxteam.de>
Newsgroups: gmane.emacs.help
Subject: Re: Bad holiday with (calendar-mark-holidays)
Date: Thu, 19 Nov 2020 14:46:11 +0100
Message-ID: <20201119134611.GC29352@tuxteam.de>
References: <trinity-9f4cbd11-3dc8-41a1-b8ee-7e2a327baff0-1605792140648@3c-app-mailcom-bs05>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy"
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="26098"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Mutt/1.5.21 (2010-09-15)
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 14:46:45 2020
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kfkGr-0006g8-7j
	for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 14:46:45 +0100
Original-Received: from localhost ([::1]:45664 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kfkGq-0002YZ-A4
	for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 08:46:44 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37806)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tomas@tuxteam.de>) id 1kfkGT-0002YL-PE
 for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 08:46:23 -0500
Original-Received: from mail.tuxteam.de ([5.199.139.25]:38135)
 by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
 (Exim 4.90_1) (envelope-from <tomas@tuxteam.de>) id 1kfkGR-00082b-2J
 for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 08:46:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de;
 s=mail; 
 h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date;
 bh=pzPBrES0r9sXIb6sKSI64gL5PELMvUNvABEaMB1LBgg=; 
 b=NgPVV8xdyrZ+yKkgdyHit4FpPs12aycun5pppEJpAmzVEyJxfLpFBZO/DJMMl++gnxEdaD+x/9XxpLYUhTWZJd+t43S7+lR/gMOi3288NRMdu5u71T7Pj8z9PhZpXJNaFEu516fOvguqEU2t6BniXmQxxguyDfTznN64T7+6+k419rC+JVTkhDIdDFxeQ/RWySianNcXJnbPbFxC86PdL43+9sBAg46XJnOaUbRvXXZvwxiIA1CiFM1rLCdJTz4On1zKFVulZhl+ChEUY0jXFgh/5G2biDTiJ7XRD/zwVvBdGByY94/teLYfvVXHEED/JHpeCDJGVHZcX1BWpyxaCA==;
Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80)
 (envelope-from <tomas@tuxteam.de>) id 1kfkGJ-0002F2-Du
 for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 14:46:11 +0100
Content-Disposition: inline
In-Reply-To: <trinity-9f4cbd11-3dc8-41a1-b8ee-7e2a327baff0-1605792140648@3c-app-mailcom-bs05>
Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de;
 helo=mail.tuxteam.de
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/19 08:46:17
X-ACL-Warn: Detected OS   = Linux 3.1-3.10 [fuzzy]
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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.help:125371
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/125371>


--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 19, 2020 at 02:22:20PM +0100, Christopher Dimech wrote:
> I am getting many warnings about "Bad holiday list item:"
> when I call
>=20
> (require 'calendar)
> ;;(require 'holidays)
> (setq holiday-solar-holidays
>    '((holiday-fixed 11 22 "First Quarter Moon")) )
> (calendar-mark-holidays)
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Error (holidays): Bad holiday list item: (holiday-fixed 1 1 New Year's Da=
y)
> Error: (void-variable displayed-month)

The variable `displayed-month' is local to a calendar
buffer. Try to evaluate this thing in the context of a
calendar buffer.

Whether things are working as intended or this is to be
considered as a bug... I don't know.

Cheers
 - t=20

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAl+2dyMACgkQBcgs9XrR2ka/DgCfXDvmVS4M4ghj/yKyLsoG78sR
cW0AnR+zt/xmIVcLw6AiyOXsEmpg8sPg
=P6bQ
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--