unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Roger Mason <rmason@esd.mun.ca>
Subject: calc-embedded-activate
Date: Tue, 13 Jan 2004 13:03:26 -0330	[thread overview]
Message-ID: <y65isjflsfd.fsf@minnie.esd.mun.ca> (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.

             reply	other threads:[~2004-01-13 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13 16:33 Roger Mason [this message]
     [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

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=y65isjflsfd.fsf@minnie.esd.mun.ca \
    --to=rmason@esd.mun.ca \
    /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.
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).