From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Narendra Joshi 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:58:06 +0100 Message-ID: References: <482B219E-3D29-439D-8A04-0C2D1BCA84E0@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40155-done@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 28 14:59:11 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 1jIBzT-000Vni-9T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 14:59:11 +0100 Original-Received: from localhost ([::1]:53366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBzS-0007X8-1O for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 09:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59571) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBzK-0007Wq-Ry for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:59:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIBzJ-0008Gg-Ub for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIBzJ-0008GE-NT for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIBzJ-00064K-MU for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 09:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Narendra Joshi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2020 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40155 X-GNU-PR-Package: emacs Original-Received: via spool by 40155-done@debbugs.gnu.org id=D40155.158540390623264 (code D ref 40155); Sat, 28 Mar 2020 13:59:01 +0000 Original-Received: (at 40155-done) by debbugs.gnu.org; 28 Mar 2020 13:58:26 +0000 Original-Received: from localhost ([127.0.0.1]:34897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIByj-00063A-S7 for submit@debbugs.gnu.org; Sat, 28 Mar 2020 09:58:26 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:35217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIByi-00062u-2b for 40155-done@debbugs.gnu.org; Sat, 28 Mar 2020 09:58:24 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id d5so15235047wrn.2 for <40155-done@debbugs.gnu.org>; Sat, 28 Mar 2020 06:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Uxe3bY+yyo1bShM/TM0prTysV6bCy7dOzu0XYWhP9o8=; b=tolRy8PxEUH451M+GAKt5NnFafl6GJX9izzf0b04b1e5nE0gen9oC1cIfGwsYyijeM 1pDLQxQkqnS0Ze8OW3Z/OovzoFQNqi+8vT+9spkJqVZ7+k1z6q/mWSqX3hNtnXjI5w9Z aGG2RvMIg+DkW+qolckHm0j6GWiAXbDInjRb6+JMYpC+o/2r1kCZvKmNg7Zm2BxeBJrU uhdQvvJPynBghZnmK8+JAoOfx1hFhrvw5cBSFf8yC4vfIFIfPBqHLz1fmcxIw4dJdAtF 9W5zQx7iCl3un+itqFKwDyVWjroGvGKnGDYMZFzunUE3B65NGmrZ2oM/8qrTFHqTmYMa cPMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Uxe3bY+yyo1bShM/TM0prTysV6bCy7dOzu0XYWhP9o8=; b=QVSi9CXGk3ZBjqI4FNHBmrDdiPoKY1JnUW6gIw+7g3OYPYRKTDPnZpAq/ClPO4qIJr ROiz88K11xq4udq032AlWQ/rQyk0OtfnTzMCFEct6EmtqMX79JxD2MxSnGNgOTVoJ2Ou WeKECkw539PmsDN7aIFD/YsQbQTlw+kkZovQOHrlb1wu10r1sxLzobbriAPLFPorksrm zCB0ZvnHnANYWfQm/SW+n3e41ljpYH4LoGDYe0l9wROE5Vn6EVYPaMqyAGi8wmqEC+k2 IjQzjxBb4+R16ffe3Hf5Jgc+V4LYdyIE7MpMAmrO15q3eKGthB+WJV2CNSylCy0zfUks jktQ== X-Gm-Message-State: ANhLgQ3Vrl1uITGwSF6JThCbSYkeshvrqHdEveItWoyE2iShzStxEiaN zHqpcrHMQWMq6kKF8N+F93jsTvx9Hh28IFZvNg== X-Google-Smtp-Source: ADFU+vtjlZDN3O6mtQciKOkndcJcJC6copQb+uu0g3HhNq7DTfCOUSm7cJ/TVyyOgQM4UCATeHcdyzB7kmyFpZgKucU= X-Received: by 2002:a5d:51cf:: with SMTP id n15mr4690625wrv.195.1585403897964; Sat, 28 Mar 2020 06:58:17 -0700 (PDT) In-Reply-To: <482B219E-3D29-439D-8A04-0C2D1BCA84E0@acm.org> 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:177816 Archived-At: Thanks Mattias. I think it never worked because the code is supposed to add "ls w= rote: > > 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-g= raph-set-styles) seems to parse a plot command in order to modify it. Has t= his 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. Yo= u can open a separate bug for the LineStyles and PointStyles problems, and = describe what it's all about. >