From unknown Fri Aug 15 19:33:45 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#72778 <72778@debbugs.gnu.org> To: bug#72778 <72778@debbugs.gnu.org> Subject: Status: 31.0.50; Calc: g f doesn't display gnuplot window after closing Reply-To: bug#72778 <72778@debbugs.gnu.org> Date: Sat, 16 Aug 2025 02:33:45 +0000 retitle 72778 31.0.50; Calc: g f doesn't display gnuplot window after closi= ng reassign 72778 emacs submitter 72778 Michael Heerdegen severity 72778 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 01:50:02 2024 Received: (at submit) by debbugs.gnu.org; 24 Aug 2024 05:50:02 +0000 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 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 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 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 Received: from drachen.dragon ([84.59.210.176]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MRk0W-1sXC32139u-00Ibp3 for ; Sat, 24 Aug 2024 07:49:02 +0200 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Calc: g f doesn't display gnuplot window after closing X-Debbugs-Cc: Date: Sat, 24 Aug 2024 07:49:53 +0200 Message-ID: <87ikvqv5a6.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:8DcSML9kGhoBH44o+k2NagFm9DMZb5TOH7yt8/n8kdBsC2/wtaO 1nemAESoxyzmjGLMEy/mD2ql5ppMvSHVLQTvM8PZotl80MamG5/oq2PHHMsSkaOeLHXKnQj TlNciyM97djhgviBbWHZ5Rjv4eqpI8ai9/xepGDRDN4tJ8IgYNJgFNSZ+JP3LpBvbH4SH73 kMw9lb8jqgRtZoJ9OiwjA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ys2OEE334Nc=;TRgeO+tzkaguFqdiXqqaDiMuiJ6 iQq8gx7+4RSBjaUtQaz5Ukc57lCn5yW1bl8pn9u3XkUpKkKfMKBJPas/p6cr/FNg/LXg74ZuV lGJA2A6jOH60EdLoeYUwfMyr3aKbU5UXG4dh0lqbpnmNySb3pQzq8hFD96j2F5BLvQUCjtbeg 5DnV8VMxtIMHEhFOPELbGLQ1FPivI8qYKCcNaIhyu4LQ81KYuTMKqOzoqcS8JRUrJhHStXdTK kYsuzOIpErJIOxBHS8lbmwi5jYw4CydoLRB8apKv0e7gO90wKWZGYkTL2tfGFhT1whqyQn6YM 54T3I/njG3frGrCo874b20Rdr5ov+Wg4OfAt9D4wBoYD81P/gfHuz5iQPhsDYNkE9cvV4XPVs su7e6sENSVY/CvLKiVBKfZhaocgCjPR0SbPSAcQujlW+lB2PFNmgErRHfPa9T3Q3rUsura2MU gVt3On2bKE55DanD3tlWxg9m9xJa6EkBXzC7r/4jLl75nc3+4LiYleN757Fd0PKNVNVu+M772 PJtFZquBrsb4/E2Gkz5mBYO+EoXCnEmaxKDg1ihNBiPbQmCUSd/9lzrucysbqK8tUecwalWaH E0/wf9kVJMqrPETtNC1XCn2EnudlM3lfcT9RGgu+abSHdf+DjnVvKKThndjMPhwIfvM4ZLV+3 BWBpYcO0SFDhwvRhywNTvXCr7eFqUipK36woxjKex6GeA+RUFLkUzv07rLzCz7gXPecny7ySN LSESPLjHxH0nQYKFwyHv15hctt10HxQmrcLIY0sk3YEWLgggW1dqIC/Vv5SCzamx98iPcgZhM mjwCr72lqeJtX9m565EsMCBw== 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 02:26:16 2024 Received: (at 72778) by debbugs.gnu.org; 24 Aug 2024 06:26:16 +0000 Received: from localhost ([127.0.0.1]:40300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shkE3-0003M5-P1 for submit@debbugs.gnu.org; Sat, 24 Aug 2024 02:26:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shkDz-0003Lj-67 for 72778@debbugs.gnu.org; Sat, 24 Aug 2024 02:26:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shkD7-0005xB-4D; Sat, 24 Aug 2024 02:25:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=b/4qpSD0cIIGb4DdGuQ3eVGu2PTN+ih/loLDUjhW7b4=; b=qlWRvNftQTHx wD1qVM/PSgtiv3x14KIaNupVdmD4a7hC3qc68R+po1fKM/PP9fvwEz3/x89LfLzrCctvkNX+IJreA Sq/zjyIwN0WGSGUZL2Jv8KzIFWEimLn//6nPMxk8OSCpjoGVkKc8bPZfmi7nq7tHKHbUvIpmNnBYK zdERXsTpf4NrzUKHeXymuVW9ulrvugbuEqVqwmjYLLo62QGKzsZU0Ev0AXcGVZwSoTry57LMbovYX uB3Ec679Rv2nsUR2oU2/E3COhTJX5ukIOzo+UZWNAL0IS0sV9H3NBEa52YTR4pLb3PtuG2VdchjEY MmmT497bReDHtUdVWuf/7A==; Date: Sat, 24 Aug 2024 09:25:04 +0300 Message-Id: <8634muphdr.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87ikvqv5a6.fsf@web.de> (bug-gnu-emacs@gnu.org) Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing References: <87ikvqv5a6.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72778 Cc: 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 24 Aug 2024 07:49:53 +0200 > From: Michael Heerdegen via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > 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. Buffering issue? Is gnuplot run via a pipe or a PTY? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 03:02:09 2024 Received: (at 72778) by debbugs.gnu.org; 24 Aug 2024 07:02:09 +0000 Received: from localhost ([127.0.0.1]:40326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shkmm-0004Pp-O3 for submit@debbugs.gnu.org; Sat, 24 Aug 2024 03:02:09 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shkmk-0004PI-9q for 72778@debbugs.gnu.org; Sat, 24 Aug 2024 03:02:06 -0400 Received: by mail-pg1-f194.google.com with SMTP id 41be03b00d2f7-7cd8afc9ff3so2628799a12.0 for <72778@debbugs.gnu.org>; Sat, 24 Aug 2024 00:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724482812; x=1725087612; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3pSlvXYcYM0eMGobE67J+sOSmk5rSzxyo5jmRp0Y/1s=; b=OaatQwChFAoHJwpe364YFzUpXgz5/tn5VMcMBVJVNmDzHuaV6ej9J1BNQeI3TslAXt MUk1CCE8NFGGuwt8fLBJ82x5FHJ9v2VDAYbvWjY6wmtK9ig/2MwEu+QETeeGffndY/Pc ZebBc1eGJhk+pxVVjCNIVPXAsnaYNNKKjDykc1fqZW/Pxo2T91Rbl81U2LP4sXIIYAwe +Zt9t6553A55IqC+iFRQBTo/flY+f39ZHLF7YFBzeWq6BInmeTLVf7mx/6nxqraThaHb nkya7TvSW+xR5pjRwrSVEjEC9VVxMGJ182nRlYBwhuMVhW9lQ09l5dliz/qv+UKN7wki dWYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724482812; x=1725087612; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3pSlvXYcYM0eMGobE67J+sOSmk5rSzxyo5jmRp0Y/1s=; b=q6aDzEf5eXGZ2gVCChTq9zGCXLX1f3PDq2MEhh+f0/jE75vy8vFiJ79IhGHrmskVqi YPhPw+Ol9N/mtz/T2gxg/kYO2F60abPxklERCsWjhqxEkwab8vdpTVMKaFVtCcZwNRKE OMwChVtsQSqI4RPrxT4Aq6JyhCVOpnphEWxdOz6Bbx6bA8eBLzdZAMd+f59rdWD7g+W+ hlY7DuYH5nq264QldsBk5Ki3Z46csNUVwvePxZ3qFsLUFEGg1smOvXR3R5fc3ggiOPLZ xcAcN8s2Pw7X8DgGnlK9uuqk2yo+e7ScMoxYKF1YBA8v8vp2ZRyQAWb1JvfaeouM0KCf wviA== X-Gm-Message-State: AOJu0Yzkt2D737qsgpv04sRE7ja6SB90ASehRlULGZgRJeZf0RhbqQra 6/KWKKLA5ASOODWzuFS7H4e2A7RJ0LALfMpcBvrbRWvexLyTS7Zn X-Google-Smtp-Source: AGHT+IGyHmN1DSwUya42hCA9SSMXwANWvFZXdkCALwUMlgaADtfsP0IIlfKVjVHfBnswmMjt+Z01Xw== X-Received: by 2002:a17:903:280f:b0:202:3158:ebdb with SMTP id d9443c01a7336-2037f9c317bmr93625685ad.19.1724482811971; Sat, 24 Aug 2024 00:00:11 -0700 (PDT) Received: from localhost ([1.7.159.70]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-203855dd28esm37511595ad.142.2024.08.24.00.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2024 00:00:11 -0700 (PDT) From: Visuwesh To: Michael Heerdegen Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing In-Reply-To: <87ikvqv5a6.fsf@web.de> (Michael Heerdegen via's message of "Sat, 24 Aug 2024 07:49:53 +0200") References: <87ikvqv5a6.fsf@web.de> Date: Sat, 24 Aug 2024 12:30:09 +0530 Message-ID: <87jzg676di.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 4.8 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [சனி ஆகஸ்ட் 24, 2024] Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > 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 [...] Content analysis details: (4.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.215.194 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [1.7.159.70 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.194 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.194 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 72778 Cc: 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.8 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [சனி ஆகஸ்ட் 24, 2024] Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: > 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 [...] Content analysis details: (3.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.215.194 listed in bl.score.senderscore.com] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.194 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [1.7.159.70 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.194 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=86=E0=AE=95=E0=AE=B8=E0=AF=8D=E0=AE=9F= =E0=AF=8D 24, 2024] Michael Heerdegen via "Bug reports for GNU Emacs, the S= wiss army knife of text editors" wrote: > 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 don't use Calc's interface to gnuplot but I will note that I face a similar issue with gnuplot package's comint interface to gnuplot as well. I need to send the same command twice sometimes to make gnuplot actually interpret the command. This might be a related issue. > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 24 03:32:02 2024 Received: (at 72778) by debbugs.gnu.org; 24 Aug 2024 07:32:02 +0000 Received: from localhost ([127.0.0.1]:40346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shlFh-0005Df-KQ for submit@debbugs.gnu.org; Sat, 24 Aug 2024 03:32:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shlFd-0005DK-VV for 72778@debbugs.gnu.org; Sat, 24 Aug 2024 03:32:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shlEm-0006ix-Ej; Sat, 24 Aug 2024 03:31:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Ps0VZH1kwhLVFO4tya5nR6yes+17aan00sXeWOA6xGY=; b=ULYlGXjzpIp5 u6+brgr6n6zlUlo84HpSNhhTb8UGPvXrkRpKuWFJP7kVqp8S54i1be1g8gwhytsk9sXzucokNPlnH Awxl71UUFzVPdcssyC2+qQ8TXLwCrTwUWTg/a75LmXBP0dV+SkdnpecqxlvJ/CWpbvospwQittT15 Ska1aKmdaNtWEqZuzUi/H77tLRaEThz44k8bTjpiISGsgkStzsfhIXnxB/9xw2QNsqYVdwqhDX7+S SRFVbKHt/WLwkAeBKqaifB6ZjVAyRcmI0DVz0DcqguqOk57VG7UdGTCWSq4htevv7OqkNtYZE0tgA HkK74g8QOx91l3zFX0+syQ==; Date: Sat, 24 Aug 2024 10:31:02 +0300 Message-Id: <86wmk6nzrd.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87jzg676di.fsf@gmail.com> (message from Visuwesh on Sat, 24 Aug 2024 12:30:09 +0530) Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing References: <87ikvqv5a6.fsf@web.de> <87jzg676di.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72778 Cc: michael_heerdegen@web.de, 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 72778@debbugs.gnu.org > From: Visuwesh > Date: Sat, 24 Aug 2024 12:30:09 +0530 > > I don't use Calc's interface to gnuplot but I will note that I face a > similar issue with gnuplot package's comint interface to gnuplot as > well. I need to send the same command twice sometimes to make gnuplot > actually interpret the command. This might be a related issue. IME, gnuplot is notorious in changing its non-interactive behavior from time to time, which might break the assumptions that Calc makes. Suggest to look in the gnuplot's change log to see if they made some change in the recent years, maybe this will give some ideas. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 25 01:51:17 2024 Received: (at 72778) by debbugs.gnu.org; 25 Aug 2024 05:51:17 +0000 Received: from localhost ([127.0.0.1]:42130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si69l-0001Xh-Ac for submit@debbugs.gnu.org; Sun, 25 Aug 2024 01:51:17 -0400 Received: from mout.web.de ([212.227.15.14]:52151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si69g-0001XJ-8i for 72778@debbugs.gnu.org; Sun, 25 Aug 2024 01:51:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1724565013; x=1725169813; i=michael_heerdegen@web.de; bh=r2GLmJVY4e/D69phrCYPvOVFLgj6shf5PP3f/5aNcn4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=sKESB3W26Qn+PBcHePbA/jVhteju+1tzfVWL5iFfegeqFbIklH1Jd9B/flrRFSV/ U2/Se4X8SrA07AHyqG99r/E3iorTKAhzoZIr66s0l789bsWE/otYmqYZp3SV1j2Yu ihUmti9534mrdgXupdBLlOYBKGrVsUM+eZ7B/8CaG+cz3MsFfgQbhoPu7o9PHmcal h1TvaG36O0/saHeVLoTZq3yl7PS//9tOjE9weRt2b8vkTv7Dw03TCXIE/iysClrjH DikWc4P8aFlwyIs3unnqkiywrvii48ZbZ0ELy8HVI1QNUgB3mzTXeGyJX9tiSC4DN fI4T0b30X+OMk1cw+A== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.176]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MiMAE-1sDivi3eGk-00oFwH; Sun, 25 Aug 2024 07:50:12 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing In-Reply-To: <86wmk6nzrd.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Aug 2024 10:31:02 +0300") References: <87ikvqv5a6.fsf@web.de> <87jzg676di.fsf@gmail.com> <86wmk6nzrd.fsf@gnu.org> Date: Sun, 25 Aug 2024 07:51:02 +0200 Message-ID: <87cylxywu1.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:d9a0m/h1426seOi5k9Gb0ajJ/sebxj1mEvKXdw4LybjYh04q2z9 uK63lSaKdNTyG4rJFwHGobVg3z/CD1SBa6nh3MgcrzvseoRuM0fwXXlyCfLavNSX1BXgAqR dx6zvkaGg2baUBofJXFnAbZvoquYImCtZaXOQZ+2X1lLrRQg6C4lXvWU46mq3W/Uxqe3+vg 0SXdKwRWg3NuXKAaicC5g== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:p7kKa19RzzM=;Jh/ZnoY8BD6rqHuT8/AidA/wiPZ x81ByMQEHaLvfK/kNVyRvalNxW1V73kZrBLzJOfIbWkHVG1hgidk+ln+onuahzophSn55Bfc/ Tb1wcMvkLLqkE1nB3Sc4MpJA1jYLwm+w7U2QZtAUojYMup67zR9JlwyCf/9edWZdcIUUGQotV XvHTxdL8mAUcuuLBvJVCsCIgloD9MmKLOGI6xHka1xX7kHrOznOA8J/Uw1rnjuj5lJU4syV0f pHTwu369WS5V2X8nORhkHUNjLJvxiq4kGrmvEnvxpVNxfwnLTVWB0zJmbGKVtlx7mya64gErQ E15nm3eYmazTkMCued2/6moEFOrSOlKVorc/4qAmBlU8yNWTBhFx0+T4XvGgbsDacCzI2j6N9 0mx0k2YuPvBIZg/Cr+8keaEwijQWcpjcjC0VmjSZSn+pF5JoU/pbhCNDbUIpA2OVexWgSsv7K Q1e+Ivt7aUKhYwkVPgGUTTgeU6KgNx0w74WdiDObQ9/NyCiMLJBL5HbHbxfQlEVrjj8lqTXFa 6urZuElB1+yCTdsu3ds2AuRIiWbizDprix13yfDKujAr080keCLskqdaKLNzsShVWkDclNDKY xbOTYqLq1H6DGVqyH/Phk5n35dUddBURPZuBHnnYmi5SdPs86ORZBZ6/3hDaXSq7tuwbhT+Xx DKoOufZ1NLLx6mrmVK9wsjnEytoEvIl8V27gOKzqvetXlZmfTqLGexMn74Jt+sjpquXz8AQtp P3Z5tzYmRZPaWxSy/6YjuCvS+bld9/SddKeQHQhFzZWw0d2LRpYRfpLbiWFwDdttvKhYIRWQY mp9slVBhMisEoexBw3tka5Ny6IdZaWFf33U25MfPvKy2s= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72778 Cc: 72778@debbugs.gnu.org, Visuwesh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > IME, gnuplot is notorious in changing its non-interactive behavior > from time to time, which might break the assumptions that Calc makes. > Suggest to look in the gnuplot's change log to see if they made some > change in the recent years, maybe this will give some ideas. I'm too ignorant to know what to look for. Some more data points, though: - In *Gnuplot Trail* I see that gnuplot receives the command and emits a new prompt even when the command is ignored. - Executing (calc-gnuplot-command "set term wxt") (be sure that it is not ignored!) fixes the problem for me. I guess we don't want to do that. - I can't reproduce the issue with a terminal emulator even when changing the gnuplot terminal to x11 (this is what Emacs uses for its gnuplot process). I don't know much about process communication, excuse me if this is all irrelevant. Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 26 02:04:22 2024 Received: (at 72778) by debbugs.gnu.org; 26 Aug 2024 06:04:22 +0000 Received: from localhost ([127.0.0.1]:43560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siSpy-0000np-7j for submit@debbugs.gnu.org; Mon, 26 Aug 2024 02:04:22 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:58737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siSpw-0000nY-IQ for 72778@debbugs.gnu.org; Mon, 26 Aug 2024 02:04:21 -0400 Received: by mail-pf1-f194.google.com with SMTP id d2e1a72fcca58-71431524f33so3323732b3a.1 for <72778@debbugs.gnu.org>; Sun, 25 Aug 2024 23:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724652144; x=1725256944; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=73YfKCPgd+DlcyAvIF3Oi1zGEB/fijwLDpjgGeu8hn4=; b=Nglc2ek9ud2pbD/Osgo16sVfG6bK9K0QXtcLzIvcNKUS0F5CqdPej/LQk07KXmMHv1 ZxBkkpSOgxNpHcUJQJL2oKQxFAnTZnGc36HCq5nnAJiEXKq7YVjkuUmFCchbjn7XID2O JzVPZxCv4QuadSQhvfdrGWDQ5eSlVh15072RAwXS0SmE3wHCOIZ9MFC9AH1la/N31Scm ykcGdKlIZ9dCSKsMpZtqAG+U2I9jz6xJxbb9yYimeA8xXyP/2MWNI0xSfvXYf2Fijff2 U119sTM9uMgGBRFb4Saux9LKqdM1bT5sNINqXI/a4uvzUIK0oVVnQZM8QSAraseq+J2p VFSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724652144; x=1725256944; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=73YfKCPgd+DlcyAvIF3Oi1zGEB/fijwLDpjgGeu8hn4=; b=IgEYfzwzqs1WdGFzJeQXnucPA3CrelJrpuMbU29dJPpwhh9jOPV0tMfR2uURhYf6I1 LS4xLaFLn72Bi1qbvgUYYLFHoT1r8NHVw4iLg/PqYZcdxHT2O9UZg4Q6P5HEVymLYoFy 7OQkJWk+u5KxnjVJZFFj/WcpcIut8jRUHwEtZex5IClWJ1y/0U1uLeezl5dCJioNiofw md+4TSymx7oCJYavtAMKCPZcPwC262/ypXTAlh4grIxXaU9Yo/5sLb5cgqI55vceu++e eGUnd8OC5WS/bA2RD993a4gzmr8wOoMRvrF56kuehsMZeV4cnoxo9TOtfalO7NywID/t uIKw== X-Forwarded-Encrypted: i=1; AJvYcCWrC0B4Nz9ngVR9OL6XivrD0qQOI3iFA6Dkq3nChUM/kqiXGMaDobXr1hLvSEj8v/60Dmcakg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxDBZ6nvbKOT5RBwz5ru7yCCwAGFQqE3DU49gi6+73fLue8yX/l wTmK1KTAqBRWfoefcjZj2B0ifKHdDawmar6xs+UCp+1SDh8NXxG0 X-Google-Smtp-Source: AGHT+IEAei47wErsV1ajIJG4AzZlCYpaigfXXohqmMwTFn+gjjYm4fhjCwDVJAmwO/fCiTd3w5XdWQ== X-Received: by 2002:a05:6a21:e8a:b0:1be:c6f8:c530 with SMTP id adf61e73a8af0-1cc89d7faadmr12227033637.26.1724652143467; Sun, 25 Aug 2024 23:02:23 -0700 (PDT) Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-714342732b5sm6594744b3a.92.2024.08.25.23.02.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Aug 2024 23:02:22 -0700 (PDT) From: Visuwesh To: Michael Heerdegen Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing In-Reply-To: <87cylxywu1.fsf@web.de> (Michael Heerdegen's message of "Sun, 25 Aug 2024 07:51:02 +0200") References: <87ikvqv5a6.fsf@web.de> <87jzg676di.fsf@gmail.com> <86wmk6nzrd.fsf@gnu.org> <87cylxywu1.fsf@web.de> Date: Mon, 26 Aug 2024 11:32:19 +0530 Message-ID: <87bk1fx1n8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [ஞாயிறு ஆகஸ்ட் 25, 2024] Michael Heerdegen wrote: > Eli Zaretskii writes: > >> IME, gnuplot is notorious in changing its non-interactive behavior >> from time to time, which might break the assumptions that Calc makes. >> Suggest to look in the gnu [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.210.194 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (visuweshm[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.194 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.194 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 72778 Cc: Eli Zaretskii , 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=86=E0=AE=95= =E0=AE=B8=E0=AF=8D=E0=AE=9F=E0=AF=8D 25, 2024] Michael Heerdegen wrote: > Eli Zaretskii writes: > >> IME, gnuplot is notorious in changing its non-interactive behavior >> from time to time, which might break the assumptions that Calc makes. >> Suggest to look in the gnuplot's change log to see if they made some >> change in the recent years, maybe this will give some ideas. > > I'm too ignorant to know what to look for. > > Some more data points, though: > > - In *Gnuplot Trail* I see that gnuplot receives the command and emits > a new prompt even when the command is ignored. > > - Executing (calc-gnuplot-command "set term wxt") (be sure that it is > not ignored!) fixes the problem for me. I guess we don't want to do > that. > > - I can't reproduce the issue with a terminal emulator even when > changing the gnuplot terminal to x11 (this is what Emacs uses for its > gnuplot process). > > I don't know much about process communication, excuse me if this is all > irrelevant. I am ignorant about process communication but I was able to reliably make gnuplot open the terminal window every time by sending an extra newline before the plot command. Try M-: (process-send-string (get-buffer-process (current-buffer)) "\nplot = sin(x)\n") RET in the *Gnuplot Trail* buffer. If you kill the gnuplot terminal window, and reeval the same sexp, it opens again. A na=C3=AFve fix employing this method would be diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index fb817b1bc3d..7b1ebc9f603 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el @@ -1417,7 +1417,7 @@ calc-gnuplot-command "Send ARGS to Gnuplot. Returns nil if Gnuplot signaled an error." (calc-graph-init) - (let ((cmd (concat (mapconcat 'identity args " ") "\n"))) + (let ((cmd (concat "\n" (mapconcat 'identity args " ") "\n"))) (or (calc-graph-w32-p) (accept-process-output)) (with-current-buffer calc-gnuplot-buffer But it would be better if someone can explain why we require this newline before CMD too. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 26 15:33:19 2024 Received: (at 72778) by debbugs.gnu.org; 26 Aug 2024 19:33:19 +0000 Received: from localhost ([127.0.0.1]:45238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sifSp-0007UD-9x for submit@debbugs.gnu.org; Mon, 26 Aug 2024 15:33:19 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:39261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sifSm-0007Tw-TO for 72778@debbugs.gnu.org; Mon, 26 Aug 2024 15:33:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1724700728; x=1724959928; bh=11Yc9ym9IdgyEuISJdx2sxf7YwQMRSsIB+sSGPcoxzw=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ygu0u+S9yqLqiq9+b0Vgn8HPyo9SJIQLV/7MBOM/kwe71J1unpB9pCcyCBGZyXfo2 VtkO9PCMrrOY24srKikoxFL3zA68KivQCyT/Us/kGbAvkwPufEgD/uaTqHzqxANgnv nCYg+mceQ7NrmmXHwMRStqIceIgNTtuM8SZ+AM9CQFmOzllz7EwTmPQWGyvUq3E4Sz +/S319Ovd6GzKoxrIhLPxXisWHalF3tFiMYFYEzJgPfmrgKAqp6AHWvQlY7mD3/uVL v5HcUotZT2zinhf24AKu7F5x6orM5OR1HfU409QzIYwq4cv3lAlwxKdR0c4h8mM4wU yQSS3t7cmtavQ== Date: Mon, 26 Aug 2024 19:32:02 +0000 To: 72778@debbugs.gnu.org, Michael Heerdegen From: Pip Cet Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing Message-ID: <87ikvn13o0.fsf@protonmail.com> In-Reply-To: <87ikvqv5a6.fsf@web.de> References: <87ikvqv5a6.fsf@web.de> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: b123274bbc7f2894cc79c9470cdd56e4efdbe948 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72778 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Michael Heerdegen via \"Bug reports for GNU Emacs, the Swiss army knife of= text editors\"" writes: > 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. I've investigated this. This is a gnuplot bug that shows up only under these conditions: - qtterm is in use - the BSD (not GNU) readline library is used (this is true in Debian) - a window is closed at the wrong time - a specific call to select() is NOT interrupted by a signal (GDB, unfortunately, causes an interrupt at the wrong moment, turning this into a Heisenbug) - gnuplot talks to Emacs using a pty (and, I think, TERM=3Ddumb is also required) I've submitted a patch to gnuplot to fix these issues, but a workaround is required for, at least, existing gnuplot versions. Sending an extra newline character preceding each gnuplot command, as Visuwesh's patch does, should be both safe and effective, even in the case of several windows being closed prior to the command that would otherwise be swallowed. HTH Pip From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 28 05:02:09 2024 Received: (at 72778) by debbugs.gnu.org; 28 Aug 2024 09:02:09 +0000 Received: from localhost ([127.0.0.1]:48202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjEZ6-0004mc-Rr for submit@debbugs.gnu.org; Wed, 28 Aug 2024 05:02:09 -0400 Received: from mout.web.de ([212.227.15.14]:42007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjEZ3-0004lt-PJ for 72778@debbugs.gnu.org; Wed, 28 Aug 2024 05:02:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1724835663; x=1725440463; i=michael_heerdegen@web.de; bh=qOVJySyO2lvX8yRZ/Rx44GSNi+ak+P2Je/66gxuFBFA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=aCiCZ/lxLm/syvv4rz9HIQ6I5x10xVlXkD04viM+fxTCq5DiajAqFz/DVG25FRqv 4qdjyA8HTVSzTFK6MVhYB8QtgPb3Jj34QrghbGb7r6ZzNVEFFK99MeJi4NW0Hwolh Jyd8pLgqU4j7aPGOpv9YLYJ63N9PYmwTGng8hYiz7fhKo0f4W2QfHYjQr13QxJlkQ dml42Etm8pUIpZY2xyQUfNoDurAlFEtAr1pTGZTrswCPeG0+IVz3tIttmblcvRkPR aetj/ejOh3/d+npH/TwLTFeNX7LdIncJg3OSRHtxx0HPBJLKlDu9/FCzDUHeTgltr +FdQKO7jTq6raWlvtA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.176]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MoNVE-1sKtEN0gP2-00g3NB; Wed, 28 Aug 2024 11:01:03 +0200 From: Michael Heerdegen To: Pip Cet Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing In-Reply-To: <87ikvn13o0.fsf@protonmail.com> (Pip Cet's message of "Mon, 26 Aug 2024 19:32:02 +0000") References: <87ikvqv5a6.fsf@web.de> <87ikvn13o0.fsf@protonmail.com> Date: Wed, 28 Aug 2024 11:01:48 +0200 Message-ID: <871q29kolf.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:11EIq9FtlHiJBcmT+7bzWhTplvo75xfMiqs3Rk6bd+Dyhlv/emo 4PTH52woCC6u2vJg4bWcwtJD6376fM9DN0KX9wsdVf4a4JNw3bMlZzZuy6WTHeNDLrS7Coo hlOGnLT4sq4Ie7gBFTYYmGLzxG5Pzr0Rm0CvdyDNmWtJ0huAhu9A8V/Ab/HLgySS1fUYl/r kYUOJt6mDMFwhImZC7M4g== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EGJgsXQtKb0=;ziKFB6gMY/8+Nd7uDuSFX7nUEu+ c9WTWlccnKYRdgYa81pIqnsTjGB//MkoHfxrBtWrw/6Oxdr4V7kmiN68SeauXdi6v+KRo73Fc My9hCckLCZijeGzE85Sz95KcdGqaC2bi8zapCIdOJ9yP9WtTGNHX5jScj4j9UBU/mOX4BmbWN B6+INvPaGbBQY8RhXT9/QhNVev83cFPtx2lRZ2R9xuoU99uNZ0fhU7SSNaz+oTw+qKWB10JUv oQQgIBxb/FCTx29Qjm8tUkSchJISbeZff3XIdUYyLt0Ar6jOrVoUh2NAZ/ny5WhGAvEA8oZfO ELaJW0btW3SUZVbc2HSSOhGHLqxA25S5t1PaPL2G7LqBz2s4hcPu0qwCuvXadgmTCEYjikDGx iQHA3Wi//p+ivogjXqx6roQ+5rqfSAbVEk+3BqnbS+mLTXUhdEjGQM1/zaiqiKujlYv6i7Ncn VMJvTmGohGzYP8h1ThRWjd5Dkix7ugGLSNFDvq+30Weqm0FpWX5KBjGkW2V4mROZ2clqgckN7 wMNvmRKjkycXK0DC2l9bR3GK5eoSE0H7Pg3HdPyX/yBz7ehjmTqu5yq/Na7h2wiQZdZ08uJkd Vv5dizXc71BYoqxGeqFQgHNEhgSb+PMDyhnNi+6XrBqWj5uvs8GiQtLFtXvhyMuw0Wc6lYxKn W6c58WyM1tiJHtJHd+K7FiTMTig0S2h1DszYfzRvW9X2wwBUw7VJtp6KjUjZ0edm7CxLFdHo7 UsR6w1cBK6PLmQsBY4FJtRcpm0LZZTpEgaVwZxxUD9huNHdkQ41swo2CebNGoaB51W9C+/wKQ FzCiKW008WYsLdsBHgwWd6BwDE7W1alFRBl9o7tnDSIUs= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72778 Cc: 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Pip Cet writes: > [...] > I've submitted a patch to gnuplot to fix these issues, but a workaround > is required for, at least, existing gnuplot versions. Sending an extra > newline character preceding each gnuplot command, as Visuwesh's patch > does, should be both safe and effective, even in the case of several > windows being closed prior to the command that would otherwise be > swallowed. Ok - thank you both, Pip and Visuwesh for investigating. Eli, should we install that patch (rather master I guess)? It fixes the problem for me. Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 28 08:40:28 2024 Received: (at 72778) by debbugs.gnu.org; 28 Aug 2024 12:40:28 +0000 Received: from localhost ([127.0.0.1]:48407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjHyO-0002qi-FN for submit@debbugs.gnu.org; Wed, 28 Aug 2024 08:40:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjHyL-0002qV-N2 for 72778@debbugs.gnu.org; Wed, 28 Aug 2024 08:40:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjHxM-0003e7-Ms; Wed, 28 Aug 2024 08:39:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=onPxiJhk4oJoJAKNOcde82wpez9k8cOpzWWkzppxzAM=; b=ZFsWfNAEyfHp FttVZ3vmzxPFNfFZAp3IyIB6Z68mg9d3x7wseHSeDp/kylCyIzPDwFRZh0DBh1QpfRTsdnvCXOUe+ yIKyjGEamfMes/ME/6Uuin9wuru4Gck77mEfk3Ywqw7VG5Au828rj7P2a5aIXVryYb7s2o9pzRCCI jdINZNMnwJn/WGHXFj+XJZVLRcNu/M8GXw5H5AKDhu55siIl6DaY/eSB0VZ8bz8Oe0BFr6YabQhLF In9g8F28wsFLcF8M2Fr9EuOn0qX/Ov+bTbW0X+xsJiU7TcEUvCpVyaw5v/B7XkEhivpN/SnFHJ85J fDURokNLJtvs4VSd+TybnQ==; Date: Wed, 28 Aug 2024 15:39:21 +0300 Message-Id: <86ttf4hldy.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <871q29kolf.fsf@web.de> (bug-gnu-emacs@gnu.org) Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing References: <87ikvqv5a6.fsf@web.de> <87ikvn13o0.fsf@protonmail.com> <871q29kolf.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72778 Cc: pipcet@protonmail.com, 72778@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 72778@debbugs.gnu.org > Date: Wed, 28 Aug 2024 11:01:48 +0200 > From: Michael Heerdegen via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Pip Cet writes: > > > [...] > > I've submitted a patch to gnuplot to fix these issues, but a workaround > > is required for, at least, existing gnuplot versions. Sending an extra > > newline character preceding each gnuplot command, as Visuwesh's patch > > does, should be both safe and effective, even in the case of several > > windows being closed prior to the command that would otherwise be > > swallowed. > > Ok - thank you both, Pip and Visuwesh for investigating. > > Eli, should we install that patch (rather master I guess)? It fixes the > problem for me. I think we should install on emacs-30, unless someone can thing of any potential problem with it. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 31 06:01:59 2024 Received: (at 72778-done) by debbugs.gnu.org; 31 Aug 2024 10:01:59 +0000 Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skKvf-0001Hc-1L for submit@debbugs.gnu.org; Sat, 31 Aug 2024 06:01:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1skKvc-0001HK-Uk for 72778-done@debbugs.gnu.org; Sat, 31 Aug 2024 06:01:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skKub-0000UZ-HI; Sat, 31 Aug 2024 06:00:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=karVsJsrjfhJd6tzNzLhkYL2cDblGdlX6T4J/Cxc7IE=; b=SFZRThsj/pVy 13muJ8Bk2IIX4zgQfQtRfO2WCzKREI0TheiyaeRtLX/4Qafn7zoLqgeuhXSYaA0Mx8Z0Plqr9SpyO PZ5PmXiSkhny5dsRJiSANrW7fHTruZEiEiIGqNbS+Sdchvnd7ggHuFfAtoa/B7z3QHPEG78SSB415 0H+eBKnZojAxgsk1Ln5IGh1aptJpunffRxHf6VOx89Op0HWk4/klj6dtRlsNzZu0G03GQzFm8kWqM UX/tQrgimD0SAzPVYm/At5u51rRLpeuSDPMtQ1glxNJgKluE1xJ6Gk1pWBr43yc7WKMzhJx9+3kUE ufy7Vi3wBQ10jcxWoOVy/w==; Date: Sat, 31 Aug 2024 13:00:50 +0300 Message-Id: <86wmjxau5p.fsf@gnu.org> From: Eli Zaretskii To: michael_heerdegen@web.de, pipcet@protonmail.com, Visuwesh In-Reply-To: <86ttf4hldy.fsf@gnu.org> (message from Eli Zaretskii on Wed, 28 Aug 2024 15:39:21 +0300) Subject: Re: bug#72778: 31.0.50; Calc: g f doesn't display gnuplot window after closing References: <87ikvqv5a6.fsf@web.de> <87ikvn13o0.fsf@protonmail.com> <871q29kolf.fsf@web.de> <86ttf4hldy.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 72778-done Cc: 72778-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: pipcet@protonmail.com, 72778@debbugs.gnu.org > Date: Wed, 28 Aug 2024 15:39:21 +0300 > From: Eli Zaretskii > > > Cc: 72778@debbugs.gnu.org > > Date: Wed, 28 Aug 2024 11:01:48 +0200 > > From: Michael Heerdegen via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > Pip Cet writes: > > > > > [...] > > > I've submitted a patch to gnuplot to fix these issues, but a workaround > > > is required for, at least, existing gnuplot versions. Sending an extra > > > newline character preceding each gnuplot command, as Visuwesh's patch > > > does, should be both safe and effective, even in the case of several > > > windows being closed prior to the command that would otherwise be > > > swallowed. > > > > Ok - thank you both, Pip and Visuwesh for investigating. > > > > Eli, should we install that patch (rather master I guess)? It fixes the > > problem for me. > > I think we should install on emacs-30, unless someone can thing of any > potential problem with it. No objections, so I've now installed the workaround on the emacs-30 branch, and I'm therefore closing this bug. From unknown Fri Aug 15 19:33:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Sep 2024 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator