From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#13580: 24.2.92; regression in calc-convert-units Date: Thu, 7 Feb 2013 11:38:13 -0600 Message-ID: <20755.59013.344289.873545@gargle.gargle.HOWL> References: <87y5fdq72z.fsf@lukas.physics.niu.edu> <87y5fau50b.fsf@truman.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360258730 6873 80.91.229.3 (7 Feb 2013 17:38:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2013 17:38:50 +0000 (UTC) Cc: 13580@debbugs.gnu.org To: belanger@truman.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 07 18:39:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U3VRG-0002sD-Di for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2013 18:39:10 +0100 Original-Received: from localhost ([::1]:50317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3VQx-0007O3-DN for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2013 12:38:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3VQs-0007J0-7H for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 12:38:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3VQm-0005Wd-Uo for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 12:38:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3VQm-0005WI-Ra for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 12:38:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U3VS7-0005B1-7B for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2013 12:40:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Feb 2013 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13580-submit@debbugs.gnu.org id=B13580.136025878619851 (code B ref 13580); Thu, 07 Feb 2013 17:40:02 +0000 Original-Received: (at 13580) by debbugs.gnu.org; 7 Feb 2013 17:39:46 +0000 Original-Received: from localhost ([127.0.0.1]:42285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3VRo-0005A6-Qj for submit@debbugs.gnu.org; Thu, 07 Feb 2013 12:39:46 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:44566) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U3VRk-00059u-AP for 13580@debbugs.gnu.org; Thu, 07 Feb 2013 12:39:41 -0500 Original-Received: from adsl-68-77-17-140.dsl.emhril.ameritech.net ([68.77.17.140]:43132 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1U3VQN-0005P5-Jn; Thu, 07 Feb 2013 12:38:16 -0500 In-Reply-To: <87y5fau50b.fsf@truman.edu> X-Mailer: VM 8.2 trial under 24.2.92.1 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70824 Archived-At: On Wed Jan 30 2013 Jay Belanger wrote: > > > start emacs -Q > > start Calc > > type 'k K / eV RET u c > > > > expected result: either Emacs will ask me 'New units:' (as with > > Emacs 23) or something else meaningful, > > This has been fixed in bzr. I am sorry, I do not understand the new behavior: Why does calc-convert-units ask now (The expression is unitless when simplified) Old Units: if the expression is dimensionless? In physics "unitless" is different from "dimensionless", it is quite common to use dimensionless units. In other words, I do not quite understand what the change in calc-convert-units was supposed to fix or improve here. calc-convert-units should take such dimensionless expressions from the stack as it used to with any such expressions (expressions with dimensions or dimensionless expressions). The old behavior was fine in that respect. >From a different perspective: calc-convert-units in the pretest branch is still broken, I just installed 24.2.93.1 which still shows the bug. The current behavior is a regression as compared with previous emacs versions and rather annoying for me. Roland