From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh 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 12:30:09 +0530 Message-ID: <87jzg676di.fsf@gmail.com> References: <87ikvqv5a6.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37639"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72778@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 24 09:02:25 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 1shkn3-0009gj-EE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Aug 2024 09:02:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shkmu-0007iV-DQ; Sat, 24 Aug 2024 03:02:16 -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 1shkms-0007iI-AH for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 03:02:14 -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 1shkms-0002Fo-1A for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 03:02:14 -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:References:In-Reply-To:From:To:Subject; bh=3pSlvXYcYM0eMGobE67J+sOSmk5rSzxyo5jmRp0Y/1s=; b=r9Wofw94cuzrmb2SJBqXwkrk5okRuTtV4A3I9U+eCHNJIypKUH07zvt+R3J/hqI90DpvNS4ipdV4q8n5r+iq9g6PDEI98QcfTaWxnbuwzF9BwTrfFJSu5lRBCGGrnAeTeOKpMghfY4BrK/HScBcbOUlWj5Qa9h9DniBCts1PhumWo5LVtpYWk6tq94kBLeEaaORBvKdi7EUfWiUo8dSU+cugmmeWsLyeq0Q/gNatlFZWqKfwCPZJ5kf83IGlXRaIhnrMkjhsMNTBWSGH5D1M0vDDj9KnadoxMqwU/AU//RM7IaP/NIIepcK8OO26/K6n5oArmiCZ3uJcNufCpAWcYw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shkne-0004RB-5p for bug-gnu-emacs@gnu.org; Sat, 24 Aug 2024 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Aug 2024 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72778 X-GNU-PR-Package: emacs Original-Received: via spool by 72778-submit@debbugs.gnu.org id=B72778.172448292916983 (code B ref 72778); Sat, 24 Aug 2024 07:03:02 +0000 Original-Received: (at 72778) by debbugs.gnu.org; 24 Aug 2024 07:02:09 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87ikvqv5a6.fsf@web.de> (Michael Heerdegen via's message of "Sat, 24 Aug 2024 07:49:53 +0200") 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:290627 Archived-At: [=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.