From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#40155: 27.0.90; `math-truc' called with `nil' during `calc-graph-fast' call Date: Sat, 28 Mar 2020 14:35:03 +0100 Message-ID: <482B219E-3D29-439D-8A04-0C2D1BCA84E0@acm.org> References: Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28239"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40155-done@debbugs.gnu.org To: Narendra Joshi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 28 14:36:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIBdE-0007Gq-TS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 14:36:12 +0100 Original-Received: from localhost ([::1]:53196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBdD-00019r-Gc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 09:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBd5-00019f-Jr for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIBd4-0005UJ-Kk for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIBd4-0005TU-8m for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIBd4-0005Bf-4X for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:36:02 -0400 Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2020 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40155 X-GNU-PR-Package: emacs Mail-Followup-To: 40155@debbugs.gnu.org, mattiase@acm.org, narendraj9@gmail.com Original-Received: via spool by 40155-done@debbugs.gnu.org id=D40155.158540251219842 (code D ref 40155); Sat, 28 Mar 2020 13:36:01 +0000 Original-Received: (at 40155-done) by debbugs.gnu.org; 28 Mar 2020 13:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:33767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIBcF-00059y-Tq for submit@debbugs.gnu.org; Sat, 28 Mar 2020 09:35:12 -0400 Original-Received: from mail71c50.megamailservers.eu ([91.136.10.81]:38246 helo=mail92c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIBcD-00059i-FV for 40155-done@debbugs.gnu.org; Sat, 28 Mar 2020 09:35:10 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1585402507; bh=Ve4MxgBunJWkmiR+9VTpZPTg7LwPgv1TZrVQjOPvD2s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=JTDd0cEPpjBFmlo95047orTzeCDMbaUvBROHyv9yB/pv5EjJwFj7C4B0wf2ww8Xax q/IrKs2NNvCVbO6qmNor2hQoRCqc/BaLDYsttTM9afUx1TkQ34g8AWYEMBR9Io/FNh FR9BdCG9K4UhU+qCVadrMMTwP6DNNQcPIwOqRuCA= Feedback-ID: mattiase@acm.or Original-Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 02SDZ5cI021534; Sat, 28 Mar 2020 13:35:06 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3445.104.14) X-CTCH-RefID: str=0001.0A782F19.5E7F5268.002B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=aY8fYigt c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=pGLkceISAAAA:8 a=tRCiFHHZCOi1QKVcKe8A:9 a=CjuIK1q_8ugA:10 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177812 Archived-At: 27 mars 2020 kl. 21.54 skrev Narendra Joshi : > Thanks for the explanation. The patch fixes the original issue and > other calculations I tried didn't seem to be affected. Much appreciated -- pushed to emacs-27. > I found out that `calc` doesn't set the LineStyles (and maybe > PointStyles as well but I am not sure how to hand those over to > gnuplot command) properly for the gnuplot command. I think it should > do something similar to the patch I have attached. Thank you, but I'm not sure if it's quite that easy. The function = (calc-graph-set-styles) seems to parse a plot command in order to modify = it. Has this code never worked, or is it just Gnuplot's syntax that has = changed? In any case, I'm closing this bug since the math-trunc error is fixed. = You can open a separate bug for the LineStyles and PointStyles problems, = and describe what it's all about.