From unknown Tue Aug 19 10:09:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4031: calc simplification problem Reply-To: Colin Williams , 4031@debbugs.gnu.org Resent-From: Colin Williams Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 04 Aug 2009 14:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4031 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124939614514070 (code B ref -1); Tue, 04 Aug 2009 14:35:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 4 Aug 2009 14:29:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n74ET1S5014065 for ; Tue, 4 Aug 2009 07:29:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYL0f-0006j9-0L for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:29:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYL0d-0006im-C3 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: from [199.232.76.173] (port=45626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYL0d-0006ij-6o for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:12839) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYL0c-0003lc-Qu for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1140055fgb.7 for ; Tue, 04 Aug 2009 07:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=bKHgcRfJ0g77KvQ0T+AxnModpW9Ki1HAmufRlCjv74g=; b=X6VJvzBYDqSLhgHmavlJB/oJaie9zPfuR1cwIdcSYtL0YNFOQU+vqgBAb1xLxShH+g DnXp+c/oJdhJ+oaqBmS25w2e/OVK+VLw9hjNbqchHNOf7Xe5KhabB0Gveb5oWjhDKbFg c5EI4lW+FpL03H4UQ4E5dCGMUr9vDnMw6cGrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PeaEqglcYeZk9zW7UtK65zdXvMxAfru0zkXsB005iPtQgpOadQlLBVEWWazmWcf8GR G5MG16Tunkb9+V/xpdRzX1tGcPeUWyiTb7qhljxlB218Ip09LAV+oDH8TvAaM0G5VhCW ywjaW3srSvM5xkYx7YCPHCzadHXiRx0piv6kI= MIME-Version: 1.0 Received: by 10.239.163.136 with SMTP id p8mr840307hbd.141.1249396138114; Tue, 04 Aug 2009 07:28:58 -0700 (PDT) Date: Tue, 4 Aug 2009 10:28:58 -0400 Message-ID: <1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com> From: Colin Williams To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to "cos(x)^2 sec(x)", which contradicts an example in the tutorial on rewrite rules. Colin From unknown Tue Aug 19 10:09:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4031: calc simplification problem Reply-To: jay.p.belanger@gmail.com, 4031@debbugs.gnu.org Resent-From: Jay Belanger Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 05 Aug 2009 00:50:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4031 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12494331496721 (code B ref -1); Wed, 05 Aug 2009 00:50:11 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Aug 2009 00:45:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n750jjeb006716 for ; Tue, 4 Aug 2009 17:45:46 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYUdV-0005ID-8l for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 20:45:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYUdQ-0005I0-Ov for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 20:45:44 -0400 Received: from [199.232.76.173] (port=53193 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYUdQ-0005Hx-Je for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 20:45:40 -0400 Received: from s1.cableone.net ([24.116.0.227]:56884) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYUdQ-0004rw-3j for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 20:45:40 -0400 Received: from belanger (unverified [24.116.73.151]) by s1.cableone.net (CableOne SMTP Service s1) with ESMTP id 19983383-1872270 for multiple; Tue, 04 Aug 2009 17:44:53 -0700 From: Jay Belanger To: Colin Williams Cc: 4031@debbugs.gnu.org, bug-gnu-emacs@gnu.org References: <1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com> CC: jay.p.belanger@gmail.com Date: Tue, 04 Aug 2009 19:44:52 -0500 In-Reply-To: <1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com> (Colin Williams's message of "Tue, 4 Aug 2009 10:28:58 -0400") Message-ID: <87d47b2inv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 2, First 380, in=103, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Colin Williams writes: > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on > rewrite rules. So it does. Calc needs to simplify expressions with secant (and cosecant and cotangent) better. I'll be out of town for the next week; I'll fix it as soon as I get back. Jay From unknown Tue Aug 19 10:09:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4031: calc simplification problem Reply-To: Chong Yidong , 4031@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 24 Oct 2009 19:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4031 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4031-submit@emacsbugs.donarmstrong.com id=B4031.125641248229261 (code B ref 4031); Sat, 24 Oct 2009 19:35:05 +0000 Received: (at 4031) by emacsbugs.donarmstrong.com; 24 Oct 2009 19:28:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po39.its.yale.edu (pantheon-po39.its.yale.edu [130.132.50.100]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OJS1p2029258 for <4031@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 12:28:02 -0700 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9OJRt2u002916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 24 Oct 2009 15:27:55 -0400 Received: by furry (Postfix, from userid 1000) id AC716C070; Sat, 24 Oct 2009 15:27:55 -0400 (EDT) From: Chong Yidong To: Jay Belanger Cc: Colin Williams , 4031@debbugs.gnu.org Date: Sat, 24 Oct 2009 15:27:55 -0400 Message-ID: <87hbtoegn8.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) Jay Belanger wrote: > > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to > > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on > > rewrite rules. > So it does. Calc needs to simplify expressions with secant (and > cosecant and cotangent) better. I'll be out of town for the next week; > I'll fix it as soon as I get back. Hi Jay, Did you get around to fixing this? If so, this bug should be closed. From unknown Tue Aug 19 10:09:03 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4031: calc simplification problem Reply-To: jay.p.belanger@gmail.com, 4031@debbugs.gnu.org Resent-From: Jay Belanger Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 24 Oct 2009 20:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4031 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4031-submit@emacsbugs.donarmstrong.com id=B4031.12564172449205 (code B ref 4031); Sat, 24 Oct 2009 20:55:06 +0000 Received: (at 4031) by emacsbugs.donarmstrong.com; 24 Oct 2009 20:47:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from S4.cableone.net (s4.cableone.net [24.116.0.230]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OKlMiE009202 for <4031@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 13:47:23 -0700 Received: from belanger (unverified [24.116.73.151]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 23448978-1872270 for multiple; Sat, 24 Oct 2009 13:47:12 -0700 From: Jay Belanger To: Chong Yidong Cc: Colin Williams , 4031@debbugs.gnu.org References: <87hbtoegn8.fsf@stupidchicken.com> CC: jay.p.belanger@gmail.com Date: Sat, 24 Oct 2009 15:47:11 -0500 In-Reply-To: <87hbtoegn8.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 24 Oct 2009 15:27:55 -0400") Message-ID: <87skd8msds.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 1, First 379, in=272, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Chong Yidong writes: ... >> > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to >> > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on >> > rewrite rules. ... > Hi Jay, > > Did you get around to fixing this? Yes. > If so, this bug should be closed. Sorry; I'll take care of it now. Jay From unknown Tue Aug 19 10:09:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Colin Williams Subject: bug#4031 closed by Jay Belanger (reply to jay.p.belanger@gmail.com) (Re: calc simplification problem) Message-ID: References: <87k4ykmrvh.fsf@gmail.com> <1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com> X-Emacs-PR-Message: they-closed 4031 X-Emacs-PR-Package: emacs Reply-To: 4031@debbugs.gnu.org Date: Sat, 24 Oct 2009 21:05:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1256418306-11314-1" This is a multi-part message in MIME format... ------------=_1256418306-11314-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4031: calc simplification problem It has been closed by Jay Belanger (reply to jay= .p.belanger@gmail.com). Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Jay Belanger (reply to jay.p.belanger@gmail.com) by replying to this email. --=20 4031: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4031 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1256418306-11314-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4031-done) by emacsbugs.donarmstrong.com; 24 Oct 2009 20:58:13 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.7 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from s2.cableone.net (s2.cableone.net [24.116.0.228]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OKwBSK010513 for <4031-done@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 13:58:12 -0700 Received: from belanger (unverified [24.116.73.151]) by s2.cableone.net (CableOne SMTP Service s2) with ESMTP id 26701337-1872270 for multiple; Sat, 24 Oct 2009 13:58:11 -0700 From: Jay Belanger To: 4031-done@debbugs.gnu.org Subject: Re: calc simplification problem Reply-To: jay.p.belanger@gmail.com CC: jay.p.belanger@gmail.com Date: Sat, 24 Oct 2009 15:58:10 -0500 Message-ID: <87k4ykmrvh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 0, First 383, in=253, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on > rewrite rules. The simplification rules were adjusted, and the example was changed to match the rules. ------------=_1256418306-11314-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 4 Aug 2009 14:29:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n74ET1S5014065 for ; Tue, 4 Aug 2009 07:29:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYL0f-0006j9-0L for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:29:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYL0d-0006im-C3 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: from [199.232.76.173] (port=45626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYL0d-0006ij-6o for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:12839) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYL0c-0003lc-Qu for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2009 10:28:59 -0400 Received: by fg-out-1718.google.com with SMTP id l26so1140055fgb.7 for ; Tue, 04 Aug 2009 07:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=bKHgcRfJ0g77KvQ0T+AxnModpW9Ki1HAmufRlCjv74g=; b=X6VJvzBYDqSLhgHmavlJB/oJaie9zPfuR1cwIdcSYtL0YNFOQU+vqgBAb1xLxShH+g DnXp+c/oJdhJ+oaqBmS25w2e/OVK+VLw9hjNbqchHNOf7Xe5KhabB0Gveb5oWjhDKbFg c5EI4lW+FpL03H4UQ4E5dCGMUr9vDnMw6cGrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PeaEqglcYeZk9zW7UtK65zdXvMxAfru0zkXsB005iPtQgpOadQlLBVEWWazmWcf8GR G5MG16Tunkb9+V/xpdRzX1tGcPeUWyiTb7qhljxlB218Ip09LAV+oDH8TvAaM0G5VhCW ywjaW3srSvM5xkYx7YCPHCzadHXiRx0piv6kI= MIME-Version: 1.0 Received: by 10.239.163.136 with SMTP id p8mr840307hbd.141.1249396138114; Tue, 04 Aug 2009 07:28:58 -0700 (PDT) Date: Tue, 4 Aug 2009 10:28:58 -0400 Message-ID: <1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com> Subject: calc simplification problem From: Colin Williams To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to "cos(x)^2 sec(x)", which contradicts an example in the tutorial on rewrite rules. Colin ------------=_1256418306-11314-1--