Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What has it been of calc?

0 views
Skip to first unread message

Massimo D'Antoni

unread,
Dec 10, 2000, 7:54:59 AM12/10/00
to
What has it been of the package calc by Dave Gillespie? Is it still
supported?
I can't find trace of it in the emacs ftp site (while it is still
available as a pkg for xemacs).
Moreover, in the GNU official site a program calc is mentioned, but it
appears to be something different (even if the presentation page still
describes it as a GNU Emacs package!).
I found this "poor man's mathematica" application very very useful, so
I'm missing it...


--
--------------------------------------------------------------------
Dipartimento di Economia Politica - Universita' di Siena
p.zza S. Francesco, 7 - 53100 Siena
tel. (+39) 0577 232616 / fax (+39) 0577 232661
E-Mail: DAN...@unisi.it http://www.econ-pol.unisi.it/~dantoni
--------------------------------------------------------------------

Colin Walters

unread,
Dec 10, 2000, 12:13:57 PM12/10/00
to
Massimo D'Antoni <dan...@unisi.it> writes:

> What has it been of the package calc by Dave Gillespie? Is it still
> supported? I can't find trace of it in the emacs ftp site (while it
> is still available as a pkg for xemacs). Moreover, in the GNU
> official site a program calc is mentioned, but it appears to be
> something different (even if the presentation page still describes
> it as a GNU Emacs package!).

I think there is a copy at:

<URL:ftp://ftp.gnu.org/gnu/calc/calc-2.02f.tar.gz>

Is this what you were looking for?

Eli Zaretskii

unread,
Dec 10, 2000, 12:43:50 PM12/10/00
to
Massimo D'Antoni wrote:
>
> What has it been of the package calc by Dave Gillespie? Is it still
> supported?

I have no idea; the last version is 2.02f, released in early 1997.

> I can't find trace of it in the emacs ftp site

??? Did you try ftp://ftp.gnu.org/gnu/calc/calc-2.02f.tar.gz ?

> Moreover, in the GNU official site a program calc is mentioned, but it
> appears to be something different (even if the presentation page still
> describes it as a GNU Emacs package!).
> I found this "poor man's mathematica" application very very useful, so
> I'm missing it...

I have been using version 2.02e (never bothered to upgrade to 2.02f) with
all versions of Emacs up t and including v21.1.

Roland Winkler

unread,
Dec 11, 2000, 3:36:45 AM12/11/00
to
Eli Zaretskii <el...@is.elta.co.il> writes:

> I have been using version 2.02e (never bothered to upgrade to
> 2.02f) with all versions of Emacs up t and including v21.1.

With gnu emacs 20.4.1 I have observed two problems with calc 2.02f:

- I couldn't use the mouse to copy numbers from some other buffer
into the calc buffer. As far as I can remember I got an error
message. But anyway, this problem I could solve by defining a
simple function calc-mouse-yank-at-click and putting this into
calc-mode-hook.

- If the frame is split into several windows (more than one apart
from the calc windows) calc-quit gives an error message with a
backtrace like the following

Signaling: (wrong-type-argument window-live-p #<window 2169>)
window-point(#<window 2169>)
calc-delete-windows-keep(#<buffer *Calculator*> nil)
calc-quit()
* call-interactively(calc-quit)


Well, I can live with this bug! (I tried to fix it. But the code
was fairly complicated, and I thought this problem is not worth
the effort!)

Roland

Barney Dalton

unread,
Dec 11, 2000, 8:42:50 AM12/11/00
to

I don't know if its related but I use calculator.el

http://www.barzilay.org/misc/calculator.el

It seems to be actively supported at the moment, and does everything I
need from a calculator within emacs. I'm not sure what 'calc' did, but
if you're after and emacs calculator than this fits the bill.

barney

In article <3A337D23...@unisi.it>,


Sent via Deja.com http://www.deja.com/
Before you buy.

Alan Shutko

unread,
Dec 11, 2000, 11:08:27 AM12/11/00
to
Barney Dalton <barney...@my-deja.com> writes:

> It seems to be actively supported at the moment, and does everything I
> need from a calculator within emacs. I'm not sure what 'calc' did, but
> if you're after and emacs calculator than this fits the bill.

calculator.el will be included in Emacs 21. There are some things
that calc does that calculator doesn't:

* RPN

* Symbolic calculus

* Matrix operations

* Date arithmetic

* Graphing

* inline formula manipulation (in say, TeX, C, fortran, etc buffers)

If you find yourself reaching for your HP48 often, calc is a useful
thing to have. I have nothing against calculator, but just the fact
that it isn't RPN messes me up!

--
Alan Shutko <a...@acm.org> - In a variety of flavors!
All men have the right to wait in line.

Bruce Stephens

unread,
Dec 11, 2000, 12:26:53 PM12/11/00
to
Alan Shutko <a...@acm.org> writes:

> Barney Dalton <barney...@my-deja.com> writes:
>
> > It seems to be actively supported at the moment, and does everything I
> > need from a calculator within emacs. I'm not sure what 'calc' did, but
> > if you're after and emacs calculator than this fits the bill.
>
> calculator.el will be included in Emacs 21. There are some things
> that calc does that calculator doesn't:
>
> * RPN
>
> * Symbolic calculus
>
> * Matrix operations
>
> * Date arithmetic
>
> * Graphing
>
> * inline formula manipulation (in say, TeX, C, fortran, etc buffers)

calc does *far* more than that, of course. Complex numbers, units,
intervals, arbitrary precision arithmetic, different number
bases---and much more.

calculator.el appears to be a simple calculator: calc most certainly
isn't.

Benjamin Rutt

unread,
Dec 11, 2000, 12:45:26 PM12/11/00
to
Alan Shutko <a...@acm.org> writes:

> calculator.el will be included in Emacs 21. There are some things
> that calc does that calculator doesn't:

Don't forget bignums, that's a pretty nice feature to have that is
otherwise missing from elisp.

Benjamin

John Hunter

unread,
Dec 11, 2000, 5:50:01 PM12/11/00
to
>>>>> "Alan" == Alan Shutko <a...@acm.org> writes:

Alan> calculator.el will be included in Emacs 21. There are some
Alan> things that calc does that calculator doesn't:

Any thoughts on why calculator and not calc is going to be included in
the standard. Is it because RPN and a 500 page manual are too difficult
for many users?

Roland Winkler

unread,
Dec 12, 2000, 4:06:07 AM12/12/00
to
John Hunter <jdhu...@nitace.bsd.uchicago.edu> writes:

> >>>>> "Alan" == Alan Shutko <a...@acm.org> writes:
>
> Alan> calculator.el will be included in Emacs 21. There are some
> Alan> things that calc does that calculator doesn't:
>
> Any thoughts on why calculator and not calc is going to be
> included in the standard.

In my opinion calc is one of the very best emacs packages. I use it
all the time and I do not want to replace it by some simpler
calculator.

> Is it because RPN and a 500 page manual are too difficult for
> many users?

I think that in order to keep calc fully compatible with Emacs 21
even some minor upgrades of this big package require much more care
than doing the same job for a small package like calculator. So I
guess the question is: Who knows the code of calc sufficiently well
and wants to do the job?

Roland

Eli Zaretskii

unread,
Dec 12, 2000, 5:29:34 AM12/12/00
to
Roland Winkler wrote:
>
> In my opinion calc is one of the very best emacs packages. I use it
> all the time and I do not want to replace it by some simpler
> calculator.

calculator.el is not meant to replace Calc. It is a different package,
with different objectives.

> I think that in order to keep calc fully compatible with Emacs 21
> even some minor upgrades of this big package require much more care
> than doing the same job for a small package like calculator. So I
> guess the question is: Who knows the code of calc sufficiently well
> and wants to do the job?

What job?

Calc cannot be included in Emacs unless its author submits it for
inclusion. Only then will the factors such as the manual size be
considered.

If someone is willing to maintain a set of patches to make Calc work with
latest versions of Emacs, by all means go ahead and set up a site. I have
a few patches myself that I'd gladly submit, if someone would like to
listen. That includes the manual, btw, which cannot be TeX'ed without
going through some trouble (only got that to work yesterday ;-).

Per Abrahamsen

unread,
Dec 12, 2000, 6:15:26 AM12/12/00
to
Eli Zaretskii <el...@is.elta.co.il> writes:

> Calc cannot be included in Emacs unless its author submits it for
> inclusion. Only then will the factors such as the manual size be
> considered.

Calc has been distributed by the FSF before, separately from Emacs
because of size (imagine... something being too big for Emacs :-).

The big problem with Calc is that nobody have taken over maintenance
after DG. It hasn't even been properly ported to Emacs 19 yet...

BTW: I have had good use of Calc also, but most of what it goes go
well over my head.

Eli Zaretskii

unread,
Dec 12, 2000, 6:28:15 AM12/12/00
to
Per Abrahamsen wrote:
>
> Calc has been distributed by the FSF before, separately from Emacs
> because of size (imagine... something being too big for Emacs :-).

It is! The manual alone is about the same size or larger than the Emacs
manual.

> The big problem with Calc is that nobody have taken over maintenance
> after DG.

True. A few patches I sent didn't yield any response at all :-(

> BTW: I have had good use of Calc also, but most of what it goes go
> well over my head.

Ditto.

Damien WYART

unread,
Dec 12, 2000, 6:54:55 AM12/12/00
to
* Eli Zaretskii <el...@is.elta.co.il> in gnu.emacs.help:

> If someone is willing to maintain a set of patches to make Calc work with
> latest versions of Emacs, by all means go ahead and set up a site. I have
> a few patches myself that I'd gladly submit, if someone would like to
> listen. That includes the manual, btw, which cannot be TeX'ed without
> going through some trouble (only got that to work yesterday ;-).

As calc is quite old, it was based on an old texinfo.tex. Grabbing a
texinfo.tex from this time does the job, but it is not so easy to find
it. Only on very dusty FTPs :)
--
Damien WYART / dwy...@noos.fr

Raffael Herzog

unread,
Dec 12, 2000, 9:48:17 AM12/12/00
to
On Sun, 10 Dec 2000, dan...@unisi.it wrote:

> What has it been of the package calc by Dave Gillespie? Is it still
> supported? I can't find trace of it in the emacs ftp site (while it
> is still available as a pkg for xemacs). Moreover, in the GNU
> official site a program calc is mentioned, but it appears to be
> something different (even if the presentation page still describes
> it as a GNU Emacs package!). I found this "poor man's mathematica"
> application very very useful, so I'm missing it...

I recently downloaded the calc package and installed it successfully
on GNU Emacs. But unfortunately, I don't know anymore where I found
it... But I could mail it to you (~800K) or put it temporarily
somewhere on my web server and mail the link.


--
Raffael Herzog her...@raffael.ch

May the penguin be with you!

Kai Großjohann

unread,
Dec 12, 2000, 11:17:02 AM12/12/00
to
On 12 Dec 2000, Raffael Herzog wrote:

> I recently downloaded the calc package and installed it successfully
> on GNU Emacs. But unfortunately, I don't know anymore where I found
> it...

It appears to be available from ftp.gnu.org and its mirrors.

kai
--
The arms should be held in a natural and unaffected way and never
be conspicuous. -- Revised Technique of Latin American Dancing

Stefan Monnier <foo@acm.com>

unread,
Dec 12, 2000, 11:54:31 AM12/12/00
to
>>>>> "Eli" == Eli Zaretskii <el...@is.elta.co.il> writes:
>> Calc has been distributed by the FSF before, separately from Emacs
>> because of size (imagine... something being too big for Emacs :-).
> It is! The manual alone is about the same size or larger than the
> Emacs manual.

Yes, the manual is really big, but the code is about 1.5MB, which isn't
way enormous, when compared to ediff (500KB), viper (400KB),
calendar (600KB) and of course gnus (2.7MB).


Stefan

Per Abrahamsen

unread,
Dec 12, 2000, 12:05:20 PM12/12/00
to
"Stefan Monnier <f...@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:

> Yes, the manual is really big, but the code is about 1.5MB, which isn't
> way enormous, when compared to ediff (500KB), viper (400KB),
> calendar (600KB) and of course gnus (2.7MB).

Well, it was enormous compared to what was available in the Emacs 18
days, before Gnus redefined "enormous".

Eli Zaretskii

unread,
Dec 12, 2000, 12:39:04 PM12/12/00
to
Damien WYART wrote:
>
> As calc is quite old, it was based on an old texinfo.tex.

Each package should include texinfo.tex it is based on. Calc doesn't.

> Grabbing a texinfo.tex from this time does the job

The package doesn't even say what version of texinfo.tex do you need. I
used one from Emacs 19.34, but it left one problem unsolved, which required
a small change to calc.texinfo.

And even after that, "make calcsum" won't work unless you correct a bug in
calc-maint.el. And for Emacs 21, there's a couple more quirks...

0 new messages