unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: gnu-emacs-bug@moderators.isc.org
Subject: bug#15661: 24.3.50; calendar.el broken
Date: Sun, 20 Oct 2013 17:52:39 +0000 (UTC)	[thread overview]
Message-ID: <l41597$ubg$1@colin.muc.de> (raw)
In-Reply-To: <526409D4.20903@easy-emacs.de>

Andreas R?hler <andreas.roehler@easy-emacs.de> wrote:
> M-x diary-view-entries RET

> fails saying:

> Symbol's value as variable is void: displayed-month

> AFAIU reason is new defvar behavior, which breaks legacy code.

> calendar.el has a

> (defvar displayed-month)

> which doesn't longer intialise to nil.

I'm not sure it ever did.  At least as far back as Emacs 21, not
specifying an initial value leaves the variable unbound.

> There must be a lot of things be broken that way.

I think I agree with this, though, having fallen into this trap several
times.  ;-)

-- 
Alan Mackenzie (Nuremberg, Germany).






  reply	other threads:[~2013-10-20 17:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4352.1382287759.10748.bug-gnu-emacs@gnu.org>
2013-10-20 16:50 ` bug#15661: 24.3.50; calendar.el broken Andreas Röhler
2013-10-20 17:52   ` Alan Mackenzie [this message]
2013-10-21 13:14     ` Stefan Monnier
2013-10-22  9:58       ` Andreas Röhler
2013-10-22 14:32         ` Stefan Monnier
2013-10-20 18:13   ` Glenn Morris
2013-10-21  5:57     ` Andreas Röhler
2013-10-21  7:47       ` Thierry Volpiatto
2013-10-21  8:56         ` Andreas Röhler
2013-10-21 12:15           ` Thierry Volpiatto
2013-10-21 16:27       ` Glenn Morris
2013-10-22 19:38   ` Glenn Morris
2013-10-23  5:51   ` Thierry Volpiatto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='l41597$ubg$1@colin.muc.de' \
    --to=acm@muc.de \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).