From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: adam--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46883: 28.0.50; calendar-holidays var setup errors Date: Fri, 05 Mar 2021 20:10:03 +0000 Message-ID: <3e088e1783512d70d80e48accf52a722@faryna.io> References: <87zgzkwach.fsf@gnus.org> <871rcvw3nl.fsf@gnus.org> <8d30f943a2bcefa4c00c821a4a6dd8d2@faryna.io> <875z25rag8.fsf@gnus.org> <8735x97h2a.fsf@rub.de> Reply-To: adam@faryna.io Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.3.16 Cc: Lars Ingebrigtsen , 46883@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 05 21:11:11 2021 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 1lIGn0-0007sr-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Mar 2021 21:11:10 +0100 Original-Received: from localhost ([::1]:56098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIGmz-0003K3-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Mar 2021 15:11:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIGms-0003Ja-KK for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 15:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIGms-0006Cx-DN for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 15:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIGms-00037q-8y for bug-gnu-emacs@gnu.org; Fri, 05 Mar 2021 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: adam@faryna.io Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Mar 2021 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46883 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 46883-submit@debbugs.gnu.org id=B46883.161497501511952 (code B ref 46883); Fri, 05 Mar 2021 20:11:02 +0000 Original-Received: (at 46883) by debbugs.gnu.org; 5 Mar 2021 20:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:35519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIGm7-00036i-4J for submit@debbugs.gnu.org; Fri, 05 Mar 2021 15:10:15 -0500 Original-Received: from dedicated-ahk208.rev.nazwa.pl ([77.55.192.208]:49524 helo=mail.faryna.io) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIGm4-00036N-Uy for 46883@debbugs.gnu.org; Fri, 05 Mar 2021 15:10:13 -0500 Original-Received: by mail.faryna.io (Postfix, from userid 1001) id DC4D5E3051; Fri, 5 Mar 2021 20:10:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=faryna.io; s=mail; t=1614975005; bh=BwRXo1lUHGpvNG0jU/z9+uz0RjHLvWeNZ2LtImXqNdc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EImzXyO0yZAwAOkw0pI7rvu70TGP24vqPCalNGET3ckgYDchBQ7scARiFCqZLi4LT wJwPAlm+5CqWiTrxnSWuiGUgsayqDbe+po3Xsi8aqBRuJfikOdjhCf8GDpThCi88N2 P4lj2Zu7uwpksdrRjbOWw69F8wJlKc20tQGokr/55HnI6tPol7n6Mmav8OoCscyApv sXwuswcp1LaG+6SO8nVZhloCffS1vYs1KeaIJ/fsA9t8d931qQhpvOm/wpEaAkGlLi XBiXqg5aBPLB94baRaDSwi/RM0svP2JBYkiBt9gR/f5OfXd1m/hHtbBxqSy5rQlgwn mGpbiJMEhjj2Q== Original-Received: from rc.appdy.co.uk (localhost [127.0.0.1]) by mail.faryna.io (Postfix) with ESMTP id 4E0EEE2799; Fri, 5 Mar 2021 20:10:03 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=faryna.io; s=mail; t=1614975003; bh=BwRXo1lUHGpvNG0jU/z9+uz0RjHLvWeNZ2LtImXqNdc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VBiFy9kXP5Y5Utr0dhdjPZryD+ZEf7xfdQB/tToLkkxgSLKU03YlAkXWvBtwBy0pU 4jdZDNR8RdeckKyj+E/6m4/QR3QgAf0fEDrD6oARVV3tWJvLeJ25B084NAA0UuNyCR UjC4kYVWDCJEfYOxpGo7UwbTZ2q+DUV2NKgdFLgAvgL6Xfrts2PbECyYFjc+PMPYmM 6fdONUM1YqxIlFtUlw2MZcbaP0fhPX8BT6yEaxzQDBRM2+H+R5q8V6GPM/outNtQ5c dGrRfqGT3uFzijfmLnUbv5zgIrHUimHLaVkgc1E48gqUSUbVpW4lj2b5yWZ+q0CwNr k8Zj6TDnGjeUA== In-Reply-To: <8735x97h2a.fsf@rub.de> X-Sender: adam@faryna.io 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:201576 Archived-At: Thanks Steven, that was it. I ended up setting calendar-holidays this way: (setq calendar-holidays (append calendar-holidays japanese-holidays polish-holidays english-holidays general-holidays holiday-christian-holidays holiday-solar-holidays)) Thanks a lot for your support guys! On 2021-03-05 15:31, Stephen Berman wrote: > On Fri, 05 Mar 2021 14:34:15 +0100 Lars Ingebrigtsen > wrote: > >> adam@faryna.io writes: >> >>> I did but nothing new shows up. >>> >>> Also while Emacs is running it brings to the front the *Warning* >>> buffer with this calendar errors, as it probably continue try to >>> initialize it. >> >> Very odd. Does anybody else have any suggestions for debugging this? > > You can put this in your init file: > > (setq calendar-debug-sexp t) > > I made an init file consisting of the sexps in the OP (except for the > ones involving japanese-holidays, since I don't have that package), > added the above for debugging, started Emacs, did `M-x calendar', typed > `h' on a date in the Calendar buffer, and got this backtrace: > > > > The problem seems to be this sexp from the OP's post: > > (setq > holiday-local-holidays nil > calendar-christian-all-holidays-flag t > calendar-holidays (list > japanese-holidays > polish-holidays > english-holidays > ;; holiday-local-holidays > general-holidays > holiday-christian-holidays > holiday-solar-holidays) > ;; calendar-mark-holidays-flag t > calendar-week-start-day 1 > calendar-date-style 'european) > > Using `list' results in an unsuitable list structure. I replaced it by > `append' (again omitting japanese-holidays), restarted Emacs, did `M-x > calendar', typed `h' on March 10 in the Calendar buffer, and the echo > area displayed this message: > > Wednesday, 10 March 2021: Dzień Mężczyzn > > So I guess that should fix the OP's problem. > > Steve