From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.help Subject: Re: Bug in Calc? (was Re: Non-commutative symbolic multiplication in Calc) Date: Wed, 07 Sep 2005 14:36:01 -0500 Message-ID: <87vf1cpt5q.fsf@vh213602.truman.edu> References: <87hdcydkvh.fsf@vh213602.truman.edu> Reply-To: belanger@truman.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126122218 8880 80.91.229.2 (7 Sep 2005 19:43:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2005 19:43:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 07 21:43:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ED5mO-0007HJ-09 for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2005 21:40:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ED5mN-0004Vw-2x for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2005 15:40:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp.newsfirst.net!newshub.more.net!news.more.net!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Uo39DZmFGInmR/VDBH6L1w5DKAw= Original-Lines: 15 Original-NNTP-Posting-Host: 150.243.64.31 Original-X-Trace: news.more.net 1126121760 150.243.64.31 (Wed, 07 Sep 2005 14:36:00 CDT) Original-NNTP-Posting-Date: Wed, 07 Sep 2005 14:36:00 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:133755 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29301 Archived-At: Neon Absentius writes: ... > Alas, there seems to be a bug: After I give 'm v' if I ask calc to > simplify the expression 'a b - b a' it leaves it as is which is as > expected. However when I ask it to expand '(a+b)^2' it returns > 'a^2 + 2 b a + b^2' which is of course wrong if a and b don't commute. > This happens both with emacs-multi-tty (22.0.50) and whith emacs > 21.4.1 on a Debian testing/unstable. The bug manifsts itself also > for the expansion of '(a+b)^3' however calc expands '(x+y)(x-y)' > into 'x^2 + y x - x y + y^2'. Strange! This should be fixed in CVS. Jay