all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jay Belanger <jay.p.belanger@gmail.com>
To: "Roland Winkler" <winkler@gnu.org>
Cc: 10554@debbugs.gnu.org
Subject: bug#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc)
Date: Thu, 19 Jan 2012 15:45:55 -0600	[thread overview]
Message-ID: <87bopz5pt8.fsf@gmail.com> (raw)
In-Reply-To: <8762g8i7s6.fsf@niu.edu> (Roland Winkler's message of "Wed, 18 Jan 2012 23:24:41 -0600")


> In Calc type
...
> Convert this to SI units with u c si RET
> - That's perfect. We get a dimensionless number.
...
> Now when we type again u c, Calc remembers what we did before.
> So as a unit it offers "default 1".

Calc should probably offer "si" as the default in this case.

> Let's take this default.
> So just type RET
>
> Error: No units specified
>
> In other words: if an expression with units simplifies to a
> dimensionless number, Calc does not accept the unit "1", though it
> even offers this unit as a default for calc-convert-units.

Calc shouldn't offer "1" as a default; I'll fix it so that it doesn't
do that anymore.

I'll also change it so that Calc can offer unit systems and composite
units as default units, but that should probably wait until after 24.1
comes out.

Jay





  reply	other threads:[~2012-01-19 21:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19  5:24 bug#10554: 24.0.92; No units specified (dimensionless quantities in Emacs Calc) Roland Winkler
2012-01-19 21:45 ` Jay Belanger [this message]
2012-01-19 22:33   ` Roland Winkler
2012-01-20  4:53     ` Jay Belanger
2012-01-20  8:34       ` Roland Winkler
2012-01-20 16:48         ` Jay Belanger
2012-01-20 17:55           ` Roland Winkler
2012-01-20 19:10             ` Jay Belanger
2012-01-20 20:30               ` Roland Winkler
2012-01-20 20:54                 ` Jay Belanger
2012-01-20 22:10                   ` Roland Winkler
2012-01-21  0:00                     ` Jay Belanger
2012-01-21  9:24                       ` Roland Winkler
2012-01-21 14:45                         ` Jay Belanger
2012-01-21 15:12                           ` Roland Winkler
2012-01-21 15:28                             ` Jay Belanger
2012-01-21 15:42                         ` Jay Belanger
2012-01-21 16:03                           ` Roland Winkler
2012-01-20 20:36               ` Roland Winkler
2012-01-21  4:21 ` 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

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

  git send-email \
    --in-reply-to=87bopz5pt8.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=10554@debbugs.gnu.org \
    --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.