From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing Date: Sat, 24 Aug 2024 07:49:53 +0200 Message-ID: <87ikvqv5a6.fsf@web.de> Reply-To: Michael Heerdegen Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27425"; mail-complaints-to="usenet@ciao.gmane.io" To: 72778@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 24 07:50:32 2024 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 1shjfT-0006wq-H7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Aug 2024 07:50:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shjfF-0002P1-TO; Sat, 24 Aug 2024 01:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shjfD-0002Ob-FD for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 01:50:15 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shjfD-00018w-01 for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 01:50:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=i+y1C4XSJc1OLNKYv6VLwOvtL5/o1k2q+wCeyOus+n0=; b=fRhch9bpWt4vsSiLaWFljyHvf65akTWcwsNq++JNWholsUoOrtprCDO9aEe1FNL87VNS0OXBBWJxN0dKJrSKm+6tt6mIaK9mcX2TnXWMh0Vt/CUn7C/zkhXAZW+2ieQ5Mti70CVjhj/fylh/mbplRxj3Be9mqNG/pLFG3cISpHiT0FYPHUpjrHjM0mwNzhTC57rvbCzkH3ydiuptR640QEK6vsHShgHP9Xl/I/0poLs6FaqixPAGMvRHinGZsP1lKKTnDb+bYnrWFK4/idzXPHfkQsKyGbYOPeYnNIRp3SrWKiTdN2v9LBhKGTjD9yBX65MWD94ZZpe9tAFh1veNoA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shjfy-0002Nc-OY for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Aug 2024 05:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72778 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17244786029058 (code B ref -1); Sat, 24 Aug 2024 05:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Aug 2024 05:50:02 +0000 Original-Received: from localhost ([127.0.0.1]:40261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shjez-0002Lr-L5 for submit@debbugs.gnu.org; Sat, 24 Aug 2024 01:50:02 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shjex-0002LX-Ci for submit@debbugs.gnu.org; Sat, 24 Aug 2024 01:50:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shjeA-00028I-TC for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 01:49:11 -0400 Original-Received: from mout.web.de ([217.72.192.78]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shje6-0000mr-SI for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 01:49:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1724478542; x=1725083342; i=michael_heerdegen@web.de; bh=i+y1C4XSJc1OLNKYv6VLwOvtL5/o1k2q+wCeyOus+n0=; h=X-UI-Sender-Class:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=kwKd0JI2UMWJ1UQ6GB0Kva/0Kclzsvr0N9oQ1yGH7y0sWSzMCJooJpiYXynw5DB7 X1NYKysc3McQg6x9uFjOyP4tHvFGwv8+YJl8rNy8VKP+ta1hF42i6We2387IGeGrk euRDq7h0dh/bJ4BVs4Kth1m/N05DWksbSICpKbBITabLdDPDwHHLfSUGEor8XO14+ AzD11QHgbXymhbqF3KagkthmdLa/EP418+OFUhCYpw2g+0mxjV+BogbB3LlYkwzSy I6wuSaPkwedX38fe4tT1gBxwcX4ZwjDbwlPcDUu73K0fevxJMpVwqp8mdJFhKCnB6 gdyQgers5xo4OwtZ4w== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.59.210.176]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MRk0W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xH0nQYKFwyHv15hctt10HxQmrcLIY0sk3YEWLgggW1dqIC/Vv5SCzamx98iPcgZh Received-SPF: pass client-ip=217.72.192.78; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290616 Archived-At: Hello, I'm using a graphical version of Gnuplot in Debian Gnu/Linux. In Calc, whenever I have displayed a graph view using g f, and then have been closing the Gnuplot X window, the next g f or g p will always not display the Gnuplot view. Hitting the keys again displays it, however. When I don't close the Gnuplot window, the graph view is updated as expected. I found nothing obvious in the Calc code. In the scenario where the window doesn't pop up, the Gnuplot process is alive. I edebugged `calc-gnuplot-command' and the relevant line (process-send-string calc-gnuplot-process cmd) seems to be the correct call. When edebugging, simply executing this very same call makes the Gnuplot window appear! For some reason, Gnuplot only displays the window for the second process-send-string call. Could be a Gnuplot bug, I dunno. And...when I redefine `calc-gnuplot-alive' to always fail, the problem is fixed, in a very inelegant way of course. So there is something wrong when talking with Gnuplot, or with Gnuplot itself. I'm on Debian, I tried several different graphical Gnuplot versions, but it's the same for all of them. I'm thankful for all insights. Michael.