Your message dated Sun, 04 Dec 2005 14:02:08 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#340741: fixed in calc 2.02f-26
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Nov 2005 15:01:21 +0000
>From [EMAIL PROTECTED] Fri Nov 25 07:01:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp05.web.de ([217.72.192.209])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Eff2O-0002pq-DA
        for [EMAIL PROTECTED]; Fri, 25 Nov 2005 06:58:56 -0800
Received: from [217.251.232.123] (helo=[127.0.0.1])
        by smtp05.web.de with asmtp (WEB.DE 4.105 #333)
        id 1Eff1s-00024G-00
        for [EMAIL PROTECTED]; Fri, 25 Nov 2005 15:58:24 +0100
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 25 Nov 2005 15:51:56 +0100
From: Sven Joachim <[EMAIL PROTECTED]>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Installing calc breaks the emacs-snapshot calc package
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: calc
Version: 2.02f-24
Severity: important
Tags: patch

After I installed calc, the version bundled with emacs-snapshot stopped
working, pressing M-# signals the error:

Symbol's function definition is void: calc-record-compilation-date-macro

Enabling debug-on-error gave me the following backtrace:

Debugger entered--Lisp error: (void-function calc-record-compilation-date-macro)
   (calc-record-compilation-date-macro)
   calc-record-compilation-date()
   eval-buffer(#<buffer  *load*> nil "/usr/share/emacs/site-lisp/calc/calc.el" 
nil t)  ; Reading at buffer position 2875
   load-with-code-conversion("/usr/share/emacs/site-lisp/calc/calc.el" 
"calc/calc" nil nil)

Interpretation: Although /usr/share/emacs/site-lisp/calc is not the load-path
of emacs-snapshot, /usr/share/emacs/site-lisp is there and comes before
/usr/share/emacs/22.0.50/lisp.  That alone would not be a problem, but
/etc/emacs/site-start.d/50calc.el has

(autoload 'calc-dispatch           "calc/calc" "Calculator Options" t)

in it, and so Emacs loads the (uncompiled) version from the wrong place. :-(

I suggest to replace all instances of "calc/calc" in 50calc.el with "calc",
i.e. the following patch:

--------------------------------<-8--------------------------------------
diff -u 50calc.el~ 50calc.el
--- 50calc.el~  2002-04-11 01:13:39.000000000 +0200
+++ 50calc.el   2005-11-25 14:45:27.000000000 +0100
@@ -18,16 +18,16 @@
                              "/site-lisp/calc") load-path))


-(autoload 'calc-dispatch          "calc/calc" "Calculator Options" t)
-(autoload 'full-calc              "calc/calc" "Full-screen Calculator" t)
-(autoload 'full-calc-keypad       "calc/calc" "Full-screen X Calculator" t)
-(autoload 'calc-eval              "calc/calc" "Use Calculator from Lisp")
-(autoload 'defmath                "calc/calc" nil t t)
-(autoload 'calc                           "calc/calc" "Calculator Mode" t)
-(autoload 'quick-calc             "calc/calc" "Quick Calculator" t)
-(autoload 'calc-keypad            "calc/calc" "X windows Calculator" t)
-(autoload 'calc-embedded          "calc/calc" "Use Calc inside any buffer" t)
-(autoload 'calc-embedded-activate  "calc/calc" "Activate =>'s in buffer" t)
-(autoload 'calc-grab-region       "calc/calc" "Grab region of Calc data" t)
-(autoload 'calc-grab-rectangle    "calc/calc" "Grab rectangle of data" t)
+(autoload 'calc-dispatch          "calc" "Calculator Options" t)
+(autoload 'full-calc              "calc" "Full-screen Calculator" t)
+(autoload 'full-calc-keypad       "calc" "Full-screen X Calculator" t)
+(autoload 'calc-eval              "calc" "Use Calculator from Lisp")
+(autoload 'defmath                "calc" nil t t)
+(autoload 'calc                           "calc" "Calculator Mode" t)
+(autoload 'quick-calc             "calc" "Quick Calculator" t)
+(autoload 'calc-keypad            "calc" "X windows Calculator" t)
+(autoload 'calc-embedded          "calc" "Use Calc inside any buffer" t)
+(autoload 'calc-embedded-activate  "calc" "Activate =>'s in buffer" t)
+(autoload 'calc-grab-region       "calc" "Grab region of Calc data" t)
+(autoload 'calc-grab-rectangle    "calc" "Grab rectangle of data" t)
  (global-set-key "\e#" 'calc-dispatch)
--------------------------------<-8--------------------------------------

That's what I did, and it solves the problem for emacs-snapshot while keeping
Calc working with emacs21.


-- System Information:
Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable'), (3, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages calc depends on:
ii  emacs21                       21.4a-3    The GNU Emacs editor
ii  ucf                           2.003      Update Configuration File: preserv

calc recommends no packages.

-- no debconf information



---------------------------------------
Received: (at 340741-close) by bugs.debian.org; 4 Dec 2005 22:11:37 +0000
>From [EMAIL PROTECTED] Sun Dec 04 14:11:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1Ej1vs-0005eV-TG; Sun, 04 Dec 2005 14:02:08 -0800
From: Manoj Srivastava <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.60 $
Subject: Bug#340741: fixed in calc 2.02f-26
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 04 Dec 2005 14:02:08 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: calc
Source-Version: 2.02f-26

We believe that the bug you reported is fixed in the latest version of
calc, which is due to be installed in the Debian FTP archive:

calc_2.02f-26.diff.gz
  to pool/main/c/calc/calc_2.02f-26.diff.gz
calc_2.02f-26.dsc
  to pool/main/c/calc/calc_2.02f-26.dsc
calc_2.02f-26_all.deb
  to pool/main/c/calc/calc_2.02f-26_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[EMAIL PROTECTED]> (supplier of updated calc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  4 Dec 2005 15:41:34 -0600
Source: calc
Binary: calc
Architecture: source all
Version: 2.02f-26
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[EMAIL PROTECTED]>
Changed-By: Manoj Srivastava <[EMAIL PROTECTED]>
Description: 
 calc       - An advanced calculator and mathematical tool for Emacs.
Closes: 340741
Changes: 
 calc (2.02f-26) unstable; urgency=low
 .
   *
   * Bug fix: "calc: spurious old configuration file breaks emacs-snapshot
     calc package", thanks to Sven Joachim. We now move it out of the way
     (we don't delete it, since the user may have customization they wish
     to preserve, and reoving is so ... final)               (Closes: #340741).
Files: 
 79586d39241b55e275c29d6e8844d35e 584 math optional calc_2.02f-26.dsc
 6bf7cf6309b036d17da90bba59901da0 42335 math optional calc_2.02f-26.diff.gz
 fa0b007988210047a07d0c5257baff96 1403756 math optional calc_2.02f-26_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDk2WFIbrau78kQkwRAg8yAKCcGvjqx80I+KUVf75DImka4HgJawCdHHzH
CVtqc/tRR1gYnPquVsIWhsM=
=ic/h
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to