From: Eli Zaretskii <eliz@gnu.org>
To: jay.p.belanger@gmail.com
Cc: 13580@debbugs.gnu.org, Roland Winkler <winkler@gnu.org>
Subject: bug#13580: 24.2.92; regression in calc-convert-units
Date: Fri, 08 Feb 2013 16:49:34 +0200 [thread overview]
Message-ID: <834nhm97y9.fsf@gnu.org> (raw)
In-Reply-To: <87k3qi514c.fsf@gmail.com>
> From: Jay Belanger <jay.p.belanger@gmail.com>
> Cc: 13580@debbugs.gnu.org
> CC: jay.p.belanger@gmail.com
> Date: Fri, 08 Feb 2013 08:30:43 -0600
>
> > He is talking about this (see
> > http://en.wikipedia.org/wiki/Dimensionless_quantity):
>
> I've indicated that I know what dimensionless means
Sorry about that. I wanted to make sure everyone is on the same page
in this regard.
> Sure, but if a user asks Calc to work with m/m, the classic Calc
> behavior was for Calc to ask for a new unit, then basically ignore it
> and cancel the units. If the user put in "3 m/m", "New units: rad", the
> result would not be "3", not "3 rad". (Behind the scenes the new unit
> would be introduced but then disappear.) It ended up just simplifying
> the units. Asking for unused information seems like a bug. This was
> changed so that it wouldn't ask for the essentially unused information.
> Since Calc then acts without informing the user, I added information and
> allowed the user to treat the expression as unitless. That is the way I
> would like to use it. But it seems like there are two reasonable
> behaviors when the units cancel:
> (1) Simplify the expression. (The 24 branch behavior.)
> (2) Treat it like a unitless expression. (The trunk behavior.)
> Changing from the classic behavior to (1) was fixing a bug; when I heard
> a complaint about the lack of information that (1) provided, I changed
> to (2).
> Perhaps Calc should stick to (1), and let the user deal with the
> simplified expression.
>
> Or: What do you suggest?
I'd rather hope that Roland will suggest the alternative behavior he
would like to see instead.
next prev parent reply other threads:[~2013-02-08 14:49 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 22:24 bug#13580: 24.2.92; regression in calc-convert-units Roland Winkler
2013-01-29 1:10 ` Jay Belanger
2013-01-29 2:55 ` Jay Belanger
2013-01-30 14:20 ` Jay Belanger
2013-02-07 17:38 ` Roland Winkler
2013-02-07 19:53 ` Jay Belanger
2013-02-07 20:11 ` Roland Winkler
2013-02-07 20:18 ` Jay Belanger
2013-02-07 20:23 ` Roland Winkler
2013-02-07 20:33 ` Jay Belanger
2013-02-07 20:33 ` Jay Belanger
2013-02-07 20:40 ` Glenn Morris
2013-02-08 1:29 ` Jay Belanger
2013-02-08 1:51 ` Glenn Morris
2013-02-07 20:24 ` Roland Winkler
2013-02-07 20:39 ` Jay Belanger
2013-02-07 20:55 ` Roland Winkler
2013-02-07 21:11 ` Jay Belanger
2013-02-08 8:33 ` Eli Zaretskii
2013-02-08 14:30 ` Jay Belanger
2013-02-08 14:49 ` Eli Zaretskii [this message]
2013-02-08 14:56 ` Jay Belanger
2013-02-09 4:57 ` Roland Winkler
2013-02-09 15:08 ` Jay Belanger
2013-02-09 16:14 ` Roland Winkler
2013-02-09 23:49 ` Jay Belanger
2013-02-10 0:19 ` Roland Winkler
2013-02-10 0:41 ` Jay Belanger
2013-02-08 15:41 ` Jay Belanger
[not found] ` <87d2wb3k4e.fsf@gmail.com>
2013-02-07 21:19 ` Roland Winkler
2013-02-08 8:21 ` Eli Zaretskii
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=834nhm97y9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13580@debbugs.gnu.org \
--cc=jay.p.belanger@gmail.com \
--cc=winkler@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.