unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* calc-embedded-activate
@ 2004-01-13 16:33 Roger Mason
  0 siblings, 0 replies; 5+ messages in thread
From: Roger Mason @ 2004-01-13 16:33 UTC (permalink / raw)


Hello,

I wish to use calc-embedded in a LaTeX document.  Having read through
the calc-2.02f manual I see that it should be possible to activate all formulae
in a buffer using `M-# a'.  I have the following simple test document:

\documentclass(article)

\begin(document)

%Embed 
% $f := 2$
% $g := 2$
% $foo := 5$
% $f + g => $

\end{document}

The key combination `C-u 1 M-# a' leads to the following
backtrace:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  calc-do-embedded-activate(1 nil)
  calc-embedded-activate(1)
  call-interactively(calc-embedded-activate)
  calc-do-dispatch(1)
  calc-dispatch(1)
* call-interactively(calc-dispatch)

The key combination `C-u -1 M-# a' works correctly, but `M-# a', with
or without any other prefix fails with an error similar to the above.

I am trying to learn lisp, but my skill are not yet sufficient to
debug a complicated set of routines like calc.

Any help will be much appreciated.

Thanks,

Roger Mason

P.S. I'm using emacs 21.1 on a linux box and I applied all the patches
specified in the PROBLEMS file before compiling and installing
calc-2.02f.  The tests in calc-2.02f INSTALL ran without any problem.

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.557.1074026001.928.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2004-01-14 18:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-13 16:33 calc-embedded-activate Roger Mason
     [not found] <mailman.557.1074026001.928.help-gnu-emacs@gnu.org>
2004-01-13 22:22 ` calc-embedded-activate Jay Belanger
2004-01-14 11:20   ` calc-embedded-activate Roger Mason
     [not found]   ` <mailman.618.1074079249.928.help-gnu-emacs@gnu.org>
2004-01-14 18:27     ` calc-embedded-activate Jay Belanger
2004-01-14 18:40   ` calc-embedded-activate Jay Belanger

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