From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#58283: 29.0.50; calendar-goto-day-of-year => wrong-type-argument numberp Date: Tue, 04 Oct 2022 10:54:55 +0200 Message-ID: <875yh0t1cw.fsf@gmx.net> References: <87r0zow7ty.fsf@codeisgreat.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="11580"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58283@debbugs.gnu.org To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 04 11:05:43 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 1ofdry-0002o3-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 11:05:42 +0200 Original-Received: from localhost ([::1]:58032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofdru-00008O-FP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Oct 2022 05:05:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofdid-0001EH-31 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:56:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofdic-0005Mt-Aw for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofdib-00074J-UZ for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2022 04:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2022 08:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58283 X-GNU-PR-Package: emacs Original-Received: via spool by 58283-submit@debbugs.gnu.org id=B58283.166487371127111 (code B ref 58283); Tue, 04 Oct 2022 08:56:01 +0000 Original-Received: (at 58283) by debbugs.gnu.org; 4 Oct 2022 08:55:11 +0000 Original-Received: from localhost ([127.0.0.1]:52447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofdhk-000739-DG for submit@debbugs.gnu.org; Tue, 04 Oct 2022 04:55:10 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofdhf-00072T-M7 for 58283@debbugs.gnu.org; Tue, 04 Oct 2022 04:55:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664873696; bh=C3VQWyvboihpw9Pn1tJ4WA9zkkLLLPgOhML2lQorTHI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=DuA36i2paBVb4Pgsm7qpSZlJAVaybzJ4bkTW1F2r9U9xlxcHV41Bfp95ffhKx7Gr1 7K9FjatG3x+AkjP0lP/7EybX2fXGJInEKDjVlgFYjLniFp31HlvIHkID7BSWfcrTkD MI2qF18Hcf0Q9OcAO8+pAiUHAK5ku7Y8wW44W67A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.38.213]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MTiPv-1omxwL1Cof-00U3h6; Tue, 04 Oct 2022 10:54:56 +0200 In-Reply-To: <87r0zow7ty.fsf@codeisgreat.org> (Pankaj Jangid's message of "Tue, 04 Oct 2022 09:36:49 +0530") X-Provags-ID: V03:K1:FgHX3VV2h0njshzNe3yPvkY9UrpwYl845atOfvGewHEpwRalN5u log4ZhOuma1eTDPDdDAWVTdz9oSCOmvOh4/GDncZZaMlT6YCXpqKjRMFxwG9qyc3BkEvFFd jqY4EzgqYVbEtdvp6hocD9BlBFLVlH8FmapTh4XJXZLLDYStDvIjbj3zQX3VdqVd41IrvDc /uGF4rG+Jyxo1oM3b/ESQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:74Gec3mUmHw=:Zd/v58GyJCnOUHEmjOlXch ow+GuuP7wFqTouaiIVyySWabIkV7FznALblL5/pL/r2J2qhvwxKG6zPmqBpucy2hf+8fTN+Rz RiaHWAoihHoPReAIalmIMWJlMNqCU8KHVVAUBVpQAg5ISFSeFRqeZbhdJtyODCbLpfzlfaEAV DKLo8smLx1bSGrL4hiPKZLbVrOf61+8UoMo3KmoT1T8vF0Wu8+PxdUld3JhTvK6waDSF0kXYE vxuWzFXDaV4gxTNw7Bcs1qlQqboLNBGzbOO5OHpqo9Kdmxo40dd1rm8sgNK6R75CROn4AoFol JOIaTDnOvQyfPunm+A3EzfleTxcInazDk4FCMrfm2INHWBcWO1KO2sf4vthsob+n+qHlg4ikc 0+sorgIQ+lvDQ8YFR1vseuJd6Mu4AvEi3oYwIcyW+Qzvc7t19A9YIidBq2Sf3a4VBiU3Hp1cw 71v5Avkj0J6hlppcpDAU0xCmcCaM8sBkH4ig+6B9RpWB+zMWqTNWvou8wJL390ZbD636nRnOy TZuIBZYrJASv7/pbcu4sCd0Ozj7F+bz4mjPOMrHQyKt14L0V2sokM4CmwtAuenBH7oQBz1hoU LJxGW6VHuc0UDHEdo51/GbmmAw9ae7DSgzVzyVUx210oP952wN9monCf+gVXekmjxftXIEssX zkqR6ezr2TTCMSkrCGVimyb1r9ZwfMGah6hnmPytXuomDgVNlk+D4OyXc743DGSfmVer7OApY /gbzdv0ViBuRyecRSRpaE4WCnd0auifJoUHMFKLsLVwBtOPqpCrtdXsjJ9LaGjEaWbPOEjAS 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:244377 Archived-At: On Tue, 04 Oct 2022 09:36:49 +0530 Pankaj Jangid wrote: > Steps: > > 1. emacs -Q > 2. M-x calendar RET g D RET RET > > => > > Debugger entered--Lisp error: (wrong-type-argument numberp nil) > abs(nil) > #f(compiled-function (x) #)(nil) > calendar-read-sexp("Day number (+/- 1-%d)" #f(compiled-function (x) #) nil 365) > byte-code("\300\301\302\303 \304\18\262\1#\211\211\305W\203\30\0\306\1!S\262\1\211\307\246\305U\205.\0\211\310\246\305U?\206.\0\211\311\246\305U\262\1\2037..." [calendar-read-sexp "Year (>0)" #f(compiled-function (x) #) calendar-current-date 2 0 abs 4 100 400 366 365 "Day number (+/- 1-%d)" make-closure #f(compiled-function (x) #) nil] 7) > call-interactively(calendar-goto-day-of-year nil nil) > command-execute(calendar-goto-day-of-year) The value of the `default' argument in the calendar-read-sexp call here has to be a number instead of nil. But what number? 1, 365, (random 365), ...? Steve Berman