unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* broken calc on 21.2.50
@ 2002-02-09  6:59 Tak Ota
  2002-02-09 21:05 ` Pavel Janík
  2002-02-09 22:10 ` Colin Walters
  0 siblings, 2 replies; 9+ messages in thread
From: Tak Ota @ 2002-02-09  6:59 UTC (permalink / raw)


In the latest CVS version (21.2.50) the calc package is broken.

M-x calc

' a x ^ 2 + b x + c = 0 RET a S x RET

fails to solve the equation but produces an error message "Variable is
void: 'while".

-Tak

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-09  6:59 broken calc on 21.2.50 Tak Ota
@ 2002-02-09 21:05 ` Pavel Janík
  2002-02-10  3:41   ` Tak Ota
  2002-02-09 22:10 ` Colin Walters
  1 sibling, 1 reply; 9+ messages in thread
From: Pavel Janík @ 2002-02-09 21:05 UTC (permalink / raw)
  Cc: emacs-devel

   From: Tak Ota <Takaaki.Ota@am.sony.com>
   Date: Fri, 08 Feb 2002 22:59:46 -0800 (PST)

   > In the latest CVS version (21.2.50) the calc package is broken.
   > 
   > M-x calc
   > 
   > ' a x ^ 2 + b x + c = 0 RET a S x RET
   > 
   > fails to solve the equation but produces an error message "Variable is
   > void: 'while".

It works for me. Can you reproduce that with emacs -q? Can you (set
debug-on-error-t) before that error?
-- 
Pavel Janík

I hope to die before I *have* to use Microsoft Word.
                  -- Donald E. Knuth

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-09  6:59 broken calc on 21.2.50 Tak Ota
  2002-02-09 21:05 ` Pavel Janík
@ 2002-02-09 22:10 ` Colin Walters
  1 sibling, 0 replies; 9+ messages in thread
From: Colin Walters @ 2002-02-09 22:10 UTC (permalink / raw)


On Sat, 2002-02-09 at 01:59, Tak Ota wrote:
> In the latest CVS version (21.2.50) the calc package is broken.
> 
> M-x calc
> 
> ' a x ^ 2 + b x + c = 0 RET a S x RET
> 
> fails to solve the equation but produces an error message "Variable is
> void: 'while".

Could you M-x toggle-debug-on-error and send a backtrace, please?  I
can't reproduce this.



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-09 21:05 ` Pavel Janík
@ 2002-02-10  3:41   ` Tak Ota
  2002-02-10  6:51     ` Pavel Janík
  2002-02-10 10:36     ` Harald.Maier.BW
  0 siblings, 2 replies; 9+ messages in thread
From: Tak Ota @ 2002-02-10  3:41 UTC (permalink / raw)
  Cc: emacs-devel

Sat, 09 Feb 2002 22:05:14 +0100: Pavel@Janik.cz (Pavel Janík) wrote:

>    From: Tak Ota <Takaaki.Ota@am.sony.com>
>    Date: Fri, 08 Feb 2002 22:59:46 -0800 (PST)
> 
>    > In the latest CVS version (21.2.50) the calc package is broken.
>    > 
>    > M-x calc
>    > 
>    > ' a x ^ 2 + b x + c = 0 RET a S x RET
>    > 
>    > fails to solve the equation but produces an error message "Variable is
>    > void: 'while".
> 
> It works for me. Can you reproduce that with emacs -q?

That is strange.  Yes emacs -q --no-site-file still shows exactly the
same result.

> Can you (set debug-on-error-t) before that error?

It does not help in this case.  I tried it in vain even before you
asked.  The error is reported from calc package and not from the emacs
lisp interpreter.  I believe the cause of the error is determined by
the following location.

calc.el:2363:		   (calc-record-why "*Variable is void" (nth 1 err)))))

I suppose the issue is in the calc package however the following is
my environment which may not be the majority here.

-Tak

In GNU Emacs 21.2.50.1 (i386-msvc-nt5.0.2195)
 of 2002-02-09 on TAK_4100
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-10  3:41   ` Tak Ota
@ 2002-02-10  6:51     ` Pavel Janík
  2002-02-10 17:38       ` Andreas Schwab
  2002-02-10 10:36     ` Harald.Maier.BW
  1 sibling, 1 reply; 9+ messages in thread
From: Pavel Janík @ 2002-02-10  6:51 UTC (permalink / raw)
  Cc: emacs-devel

   From: Tak Ota <Takaaki.Ota@am.sony.com>
   Date: Sat, 09 Feb 2002 19:41:36 -0800 (PST)

   > > Can you (set debug-on-error-t) before that error?

(set debug-on-error t) of course :-)

   > In GNU Emacs 21.2.50.1 (i386-msvc-nt5.0.2195)
   >  of 2002-02-09 on TAK_4100
   > configured using `configure --with-msvc (12.00)'

Can you try another system?
-- 
Pavel Janík

Don't use conditional branches as a substitute for a logical expression.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-10  3:41   ` Tak Ota
  2002-02-10  6:51     ` Pavel Janík
@ 2002-02-10 10:36     ` Harald.Maier.BW
  2002-02-18 20:10       ` Colin Walters
  1 sibling, 1 reply; 9+ messages in thread
From: Harald.Maier.BW @ 2002-02-10 10:36 UTC (permalink / raw)


Tak Ota <Takaaki.Ota@am.sony.com> writes:

> Sat, 09 Feb 2002 22:05:14 +0100: Pavel@Janik.cz (Pavel Janík) wrote:
> 
> >    From: Tak Ota <Takaaki.Ota@am.sony.com>
> >    Date: Fri, 08 Feb 2002 22:59:46 -0800 (PST)
> > 
> >    > In the latest CVS version (21.2.50) the calc package is broken.
> >    > 
> >    > M-x calc
> >    > 
> >    > ' a x ^ 2 + b x + c = 0 RET a S x RET
> >    > 
> >    > fails to solve the equation but produces an error message "Variable is
> >    > void: 'while".
> > 
> > It works for me. Can you reproduce that with emacs -q?
> 
> That is strange.  Yes emacs -q --no-site-file still shows exactly the
> same result.
> 
> > Can you (set debug-on-error-t) before that error?
> 
> It does not help in this case.  I tried it in vain even before you
> asked.  The error is reported from calc package and not from the emacs
> lisp interpreter.  I believe the cause of the error is determined by
> the following location.
> 
> calc.el:2363:		   (calc-record-why "*Variable is void" (nth 1 err)))))
> 
> I suppose the issue is in the calc package however the following is
> my environment which may not be the majority here.
> 
> -Tak
> 
> In GNU Emacs 21.2.50.1 (i386-msvc-nt5.0.2195)
>  of 2002-02-09 on TAK_4100
> configured using `configure --with-msvc (12.00)'

I tried this on a Windows environment compiled with gcc and get the
same error as Tak. On a GNU/Linux system all works fine. This is maybe
the reason why Colin an Pavel could not reproduce the problem.

My system is GNU Emacs 21.2.50.1 (i386-mingw-nt5.0.2195):

Harald


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-10  6:51     ` Pavel Janík
@ 2002-02-10 17:38       ` Andreas Schwab
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Schwab @ 2002-02-10 17:38 UTC (permalink / raw)
  Cc: emacs-devel

Pavel@Janik.cz (Pavel Janík) writes:

|>    From: Tak Ota <Takaaki.Ota@am.sony.com>
|>    Date: Sat, 09 Feb 2002 19:41:36 -0800 (PST)
|> 
|>    > > Can you (set debug-on-error-t) before that error?
|> 
|> (set debug-on-error t) of course :-)

Actually (setq debug-on-error t).

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-10 10:36     ` Harald.Maier.BW
@ 2002-02-18 20:10       ` Colin Walters
  2002-02-19  9:08         ` Tak Ota
  0 siblings, 1 reply; 9+ messages in thread
From: Colin Walters @ 2002-02-18 20:10 UTC (permalink / raw)


On Sun, 2002-02-10 at 05:36, Harald.Maier.BW@t-online.de wrote:

> > calc.el:2363:		   (calc-record-why "*Variable is void" (nth 1 err)))))

I just fixed one issue in CVS which might have caused this, although I
don't know why this particular symptom would have only popped up on
Windows.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: broken calc on 21.2.50
  2002-02-18 20:10       ` Colin Walters
@ 2002-02-19  9:08         ` Tak Ota
  0 siblings, 0 replies; 9+ messages in thread
From: Tak Ota @ 2002-02-19  9:08 UTC (permalink / raw)
  Cc: emacs-devel

18 Feb 2002 15:10:09 -0500: Colin Walters <walters@debian.org> wrote:

> On Sun, 2002-02-10 at 05:36, Harald.Maier.BW@t-online.de wrote:
> 
> > > calc.el:2363:		   (calc-record-why "*Variable is void" (nth 1 err)))))
> 
> I just fixed one issue in CVS which might have caused this, although I
> don't know why this particular symptom would have only popped up on
> Windows.

I confirmed that it fixed the reported problem.  Thanks.  I have no
idea either, why this problem was unique to Windoze.

-Tak

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-02-19  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-09  6:59 broken calc on 21.2.50 Tak Ota
2002-02-09 21:05 ` Pavel Janík
2002-02-10  3:41   ` Tak Ota
2002-02-10  6:51     ` Pavel Janík
2002-02-10 17:38       ` Andreas Schwab
2002-02-10 10:36     ` Harald.Maier.BW
2002-02-18 20:10       ` Colin Walters
2002-02-19  9:08         ` Tak Ota
2002-02-09 22:10 ` Colin Walters

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).