all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Johansson <christian@cvj.se>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: I want to add a package to GNU ELPA: infix-notation-calculator
Date: Tue, 17 Aug 2021 17:27:40 +0200	[thread overview]
Message-ID: <E652C9E7-123B-433B-B55C-17C838FD338C@cvj.se> (raw)
In-Reply-To: <87eeasm70r.fsf@ucl.ac.uk>

No I tried with the example buffer contents, without * and I got those errors. However I got it working in emacs-lisp-mode buffer but it deleted my calculation and replaced it with the answer.. can that feature be turned off?

> 17 aug. 2021 kl. 17:22 skrev Eric S Fraga <e.fraga@ucl.ac.uk>:
> 
> On Tuesday, 17 Aug 2021 at 13:20, Christian Johansson wrote:
>> and it doesn't seem to do the same, it's integrated into calc.el and
>> uses the same stack as calc.el, when running C-x * e on any line in my
>> example buffer I get "Parse Error", pressing C-x * w I get error "Too
>> few elements on stack"
> 
> Make sure the line has only a valid (infix) equation and it will
> work.  Your example had *at the start of each time which means multiply
> but there is no left hand side...
> 
> Embedded Calc allows you to customize how equations are found, in any
> case, but the default is often just blank lines before and after.
> 
> -- 
> Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian 11.0
> 
> 




  reply	other threads:[~2021-08-17 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 21:14 I want to add a package to GNU ELPA: infix-notation-calculator Christian Johansson
2021-08-16 22:01 ` Stefan Monnier
2021-08-17  7:32   ` Christian Johansson
2021-08-17 11:01     ` Eric S Fraga
2021-08-17 11:20       ` Christian Johansson
2021-08-17 15:21         ` Eric S Fraga
2021-08-17 15:27           ` Christian Johansson [this message]
2021-08-17 15:54             ` Eric S Fraga
2021-08-17 16:55               ` Christian Johansson
2021-08-17 23:28     ` Stefan Monnier
2021-08-18  6:40       ` Michael Heerdegen
2021-08-18  9:03       ` Christian Johansson
2021-08-18 10:47         ` Eric S Fraga

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E652C9E7-123B-433B-B55C-17C838FD338C@cvj.se \
    --to=christian@cvj.se \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.