From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#15661: 24.3.50; calendar.el broken Date: Mon, 21 Oct 2013 14:15:17 +0200 Organization: Emacs Helm Message-ID: <87r4beu8fe.fsf@gmail.com> References: <526409D4.20903@easy-emacs.de> <8xtxgb4xpb.fsf@fencepost.gnu.org> <5264C261.1060201@easy-emacs.de> <87ob6j12wd.fsf@gmail.com> <5264EC4B.5010209@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1382357862 21042 80.91.229.3 (21 Oct 2013 12:17:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 12:17:42 +0000 (UTC) To: 15661@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 14:17:45 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYEQC-0004iY-5r for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 14:17:20 +0200 Original-Received: from localhost ([::1]:39795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEQB-0001XM-NN for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 08:17:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEQ2-0001XE-2z for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:17:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYEPu-0008Ai-SQ for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:17:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEPu-0008Ae-On for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VYEPu-0003Io-8D for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:17:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <526409D4.20903@easy-emacs.de> Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2013 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15661 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138235777112596 (code B ref -1); Mon, 21 Oct 2013 12:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2013 12:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:60248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYEP4-0003H6-Tt for submit@debbugs.gnu.org; Mon, 21 Oct 2013 08:16:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35567) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYEP2-0003Gl-9D for submit@debbugs.gnu.org; Mon, 21 Oct 2013 08:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYEOq-0007yv-52 for submit@debbugs.gnu.org; Mon, 21 Oct 2013 08:16:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEOq-0007ym-2s for submit@debbugs.gnu.org; Mon, 21 Oct 2013 08:15:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEOj-00016W-SX for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:15:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYEOd-0007wb-NY for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:15:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYEOd-0007wQ-A0 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 08:15:43 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYEOP-0003KX-9p for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 14:15:29 +0200 Original-Received: from 37.160.172.107 ([37.160.172.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Oct 2013 14:15:29 +0200 Original-Received: from thierry.volpiatto by 37.160.172.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Oct 2013 14:15:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 64 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 37.160.172.107 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:AZyKOaCvODSqltixWH8bZSRe+KQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79448 Archived-At: Andreas Röhler writes: > Am 21.10.2013 09:47, schrieb Thierry Volpiatto: >> Andreas Röhler writes: >> >>> Am 20.10.2013 20:13, schrieb Glenn Morris: >>>> Andreas Röhler wrote: >>>> >>>>> M-x diary-view-entries RET >>>>> >>>>> fails saying: >>>>> >>>>> Symbol's value as variable is void: displayed-month >>>> >>>> Works fine here. Recipe from emacs -Q? >>>> >>> >>> Yes, started from emacs -Q >>> Also got it from openSuse 12.3 >> >> displayed-month among others is make local-var in calendar buffer, > > By the mode itself, which looks wrong, Sure it is. > as libraries outside like diary seem to make use of it also. > > so if >> you call the function from there (d), it will work as expected, >> otherwise the var(s) is/are unknown(s). >> > > Get this error also from > > M-x diary-view-other-diary-entries RET > > while > > M-x diary-show-all-entries RET > > works > > ;;;;;;;; > > Seeing inside calendar.el > > (unless (boundp 'displayed-month) (setq displayed-month 1)) > > which doesn't look recommended. > > IIUC > > (defvar displayed-month 1) > > should DTRT. The right thing should be to remove all these vars and reimplement the code properly. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997