unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jay Belanger <jay.p.belanger@gmail.com>
To: Wolfgang Jenkner <wjenkner@inode.at>
Cc: 19582@debbugs.gnu.org
Subject: bug#19582: 25.0.50; [PATCH] Calc: glitches with negation of units
Date: Tue, 13 Jan 2015 15:57:04 -0600	[thread overview]
Message-ID: <87zj9mfiof.fsf@gmail.com> (raw)
In-Reply-To: <858uh6zd0m.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Tue, 13 Jan 2015 20:39:05 +0100")


> So the issue seems to be this:
>
> In emacs -Q, do `M-x calc' then convert, say 1m, to cm, i.e.,
>
> ' 1 m <return> u c c m <return>
>
> This gives `100 cm' on top of the stack (a plain integer scalar).
>
> Next, start another emacs -Q instance, do `M-x calc' and then, before
> anything else, `M-: (load-library "calc-units")'.
>
> Now the same conversion exercise as before gives `100. cm' on the stack
> instead (a calc float).

Huh.
Thanks.
Well, now I see what you need to use math-equal.

As for the float, I'll see if I can fix that before the next release.





  reply	other threads:[~2015-01-13 21:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 14:22 bug#19582: 25.0.50; [PATCH] Calc: glitches with negation of units Wolfgang Jenkner
2015-01-13 15:55 ` Jay Belanger
2015-01-13 16:01   ` Wolfgang Jenkner
2015-01-13 16:06     ` Jay Belanger
2015-01-13 16:25       ` Wolfgang Jenkner
2015-01-13 16:34         ` Jay Belanger
2015-01-13 16:48           ` Jay Belanger
2015-01-15 23:55       ` Wolfgang Jenkner
2015-01-18 16:29         ` Wolfgang Jenkner
2016-02-23 11:23         ` Lars Ingebrigtsen
2015-01-13 19:39     ` Wolfgang Jenkner
2015-01-13 21:57       ` Jay Belanger [this message]
2015-01-28 15:11       ` 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=87zj9mfiof.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=19582@debbugs.gnu.org \
    --cc=wjenkner@inode.at \
    /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 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).