From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#54878: 29.0.50; diary-fancy-display - with-current-buffer nil Date: Tue, 12 Apr 2022 21:13:43 +0200 Message-ID: References: <28d81cf8-6e8c-dcbf-61fc-c7f928a2a3da@easy-emacs.de> <87bkx6haej.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------sMY5Gvm3VeZ6bKvsuYC7uVcp" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11607"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Cc: 54878@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 12 21:14:11 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 1neLxr-0002pJ-3X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Apr 2022 21:14:11 +0200 Original-Received: from localhost ([::1]:44490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neLxp-0006b4-Vh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Apr 2022 15:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neLxi-0006ar-PK for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 15:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neLxi-0002NX-Fo for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 15:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neLxi-0007kp-AA for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Apr 2022 19:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54878 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54878-submit@debbugs.gnu.org id=B54878.164979083229782 (code B ref 54878); Tue, 12 Apr 2022 19:14:02 +0000 Original-Received: (at 54878) by debbugs.gnu.org; 12 Apr 2022 19:13:52 +0000 Original-Received: from localhost ([127.0.0.1]:50025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neLxY-0007kH-5A for submit@debbugs.gnu.org; Tue, 12 Apr 2022 15:13:52 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:50189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neLxW-0007k5-7P for 54878@debbugs.gnu.org; Tue, 12 Apr 2022 15:13:50 -0400 Original-Received: from [192.168.178.54] ([89.247.171.251]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MZCKd-1nQrPN0YC1-00VCRh; Tue, 12 Apr 2022 21:13:44 +0200 Content-Language: en-US In-Reply-To: <87bkx6haej.fsf@gnus.org> X-Provags-ID: V03:K1:hAi79L2MTEBPCYezfAiZvKQqnIDPHq7g9+kj26CmKuRBmTV6Vdu 9r6WyhTS9mhY8bD8iz3LBk0wJWwuV//2gNTMMIqtuRkPs02ld2mZw2Oyt4s8zKpkF+58QUm bUum4yHyk8oKTqyRiBtyqShvakJFqpsHOUhmMQpX8Edtdq13dJKvYSu6JR39Tzc2ryOQGox J3XPfLm4GN4v2O3vOndFQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:vjYwzrDfDfw=:mEG+t7kisaVTnVLszZ5K1g Xmvymd9Z3AglWO12iexF2fX8S9RztHRX4+T3RuOGn2DxnhPAjLfz0oXnUogBPyanoj9lL+0qb 6k7l0/cATe22a1Af9nCTE7KuwpMEmr19dyFuHIgE1Hb03qks/hnGcWdFob/Gi5LirczNDAmOU vg/9Y/2+n3bdMF/8BlOOOp8rYC/5kte2HCipJIcNYhIreDVAoP7sXq63yEVljfO+OeRGWaex2 jd+nmJBiYv6J5UqWEO2ruDhMcIu1QNLxyDCRPtBlmdqp6mH/GFECZmlapfhHkWdidhhixuX2S Kt73xlqmkfz2hB90VCmqYdZWjbe16xyz71SQAaS8qopqgHYmteM43DurzH1hxKJ4hTfU7k97+ YhxvCWJZYjOdB3yd08ZxUqUvtQLdKHEXN6+mcbHZdZtbtDFkUlytzL7i28gynCDzIKbxAgsBO zipX0wyApMbnuHcRSY9y/hO4xPjTzgg8hfv0Df+nFrbDsUJ+4ynoI3+ZicWbyVBORtj5qAPv4 MkXdEIwKJsgUVZiNdwjeXU4bN2C9ZMTK0GevM4IZCEuRciNgMXNFWstepF7DpFZmOZJ9m5oEE FYjofnOeKPJ39dnEohaWPCFAO+nnDwme683zE3GQDkW2zZplV/TD5k/wlj6hyWm2/2OirVzkU 6fLFHMq2pMscyh32uXPWTweYjRLINIRx9FWUmj2baLG2HNcQSdt7flGTzS3LVm8rykKCf+sKL bwNnTlaI7PhWPNYm 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:229773 Archived-At: This is a multi-part message in MIME format. --------------sMY5Gvm3VeZ6bKvsuYC7uVcp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 12.04.22 um 12:19 schrieb Lars Ingebrigtsen: > Andreas Röhler writes: > >> Error from M-x calendar RET, backtrace below. >> >> Caused by custom-file content of >> >> '(calendar-mark-diary-entries-flag t) >> '(calendar-view-diary-initially-flag t) >> >> Error from ‘diary-fancy-display’ >> >> (with-current-buffer (find-buffer-visiting diary-file) >> >> and get ‘nil’ from ‘(find-buffer-visiting diary-file)’. > I'm unable to reproduce this in Emacs 29. > > emacs -Q > M-: (setq calendar-mark-diary-entries-flag t > calendar-view-diary-initially-flag t) > M-x calendar > > I don't get any errors. I guess I need a diary file for today to > reproduce the problem? What do you have? >  In ~/.emacs.d/diary exists an empty foo.org Getting in *Messages*: diary-list-entries: Wrong type argument: stringp, nil --------------sMY5Gvm3VeZ6bKvsuYC7uVcp Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


Am 12.04.22 um 12:19 schrieb Lars Ingebrigtsen:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

Error from M-x calendar RET, backtrace below.

Caused by custom-file content of

 '(calendar-mark-diary-entries-flag t)
 '(calendar-view-diary-initially-flag t)

Error from ‘diary-fancy-display’ 

(with-current-buffer (find-buffer-visiting diary-file)

and get ‘nil’ from ‘(find-buffer-visiting diary-file)’.
I'm unable to reproduce this in Emacs 29.

emacs -Q
M-:  (setq calendar-mark-diary-entries-flag t
       calendar-view-diary-initially-flag t)
M-x calendar

I don't get any errors.  I guess I need a diary file for today to
reproduce the problem?  What do you have?

 In ~/.emacs.d/diary exists an empty foo.org

Getting in *Messages*:

diary-list-entries: Wrong type argument: stringp, nil

--------------sMY5Gvm3VeZ6bKvsuYC7uVcp--