GNU bug report logs - #39232
26.3; gnuplot qt mode

Previous Next

Package: emacs;

Reported by: Bart Nielsen <bart.utahman <at> gmail.com>

Date: Wed, 22 Jan 2020 03:05:01 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39232 in the body.
You can then email your comments to 39232 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#39232; Package emacs. (Wed, 22 Jan 2020 03:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bart Nielsen <bart.utahman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 22 Jan 2020 03:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bart Nielsen <bart.utahman <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; gnuplot qt mode
Date: Tue, 21 Jan 2020 22:04:17 -0500

M-x calc
vx 10
<return>
gf


and in *Gnuplot Trail* I see:


Starting gnuplot...

	G N U P L O T
	Version 5.2 patchlevel 8    last modified 2019-12-01 

	Copyright (C) 1986-1993, 1998, 2004, 2007-2019
	Thomas Williams, Colin Kelley and many others

	gnuplot home:     http://www.gnuplot.info
	faq, bugs, etc:   type "help FAQ"
	immediate help:   type "help"  (plot window: hit 'h')

Terminal type is now 'qt'
gnuplot> 
Terminal type is now 'unknown'
                      ^
         unknown or ambiguous terminal type; type just 'set terminal' for a list

gnuplot> gnuplot> WARNING: Plotting with an 'unknown' terminal.
No output will be generated. Please select a terminal with 'set terminal'.
gnuplot>





When I run gnuplot from the command line, I can run:

gnuplot
plot sin(x)/x


and get the expected output with a terminal time of qt.


as in
spacey:~ monet$ gnuplot

	G N U P L O T
	Version 5.2 patchlevel 8    last modified 2019-12-01 

	Copyright (C) 1986-1993, 1998, 2004, 2007-2019
	Thomas Williams, Colin Kelley and many others

	gnuplot home:     http://www.gnuplot.info
	faq, bugs, etc:   type "help FAQ"
	immediate help:   type "help"  (plot window: hit 'h')

Terminal type is now 'qt'
gnuplot> plot sin(x)/x
qt.qpa.fonts: Populating font family aliases took 159 ms. Replace uses of missing font family "Sans" with one that exists to avoid this cost. 
gnuplot>

Thanks!!


In GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109))
of 2019-09-02 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.1894
Recent messages:
Type "q" in help window to restore previous buffer.
Calc Help options: Help, Info, ...  press SPC, DEL to scroll, C-g to cancel
View mode: type C-h for help, h for commands, q to quit.
previous-line: Beginning of buffer [2 times]
Mark set
Auto-saving...done
Type C-x 1 to remove help window.  
C-x C-g is undefined
funcall-interactively: Buffer is read-only: #<buffer NEWS>
Quit [2 times]

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Outline

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv format-spec rfc822 mml mml-sec
password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils apropos noutline outline easy-mmode view help-fns radix-tree
help-mode calc-help jka-compr shell pcomplete comint ansi-color ring
misearch multi-isearch dired-aux cl-loaddefs cl-lib info dired
dired-loaddefs calccomp calc-alg calc-vec calc-graph calc-ext calc-misc
calc-menu easymenu calc calc-loaddefs calc-macs elec-pair time-date
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 271735 12624)
(symbols 48 24724 1)
(miscs 40 170 765)
(strings 32 41391 1637)
(string-bytes 1 1129894)
(vectors 16 39088)
(vector-slots 8 777067 21374)
(floats 8 56 276)
(intervals 56 6166 0)
(buffers 992 37))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39232; Package emacs. (Wed, 28 Oct 2020 12:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 39232 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Bart Nielsen <bart.utahman <at> gmail.com>
Cc: 39232 <at> debbugs.gnu.org
Subject: Re: bug#39232: 26.3; gnuplot qt mode
Date: Wed, 28 Oct 2020 13:50:45 +0100
Bart Nielsen <bart.utahman <at> gmail.com> writes:

> M-x calc
> vx 10
> <return>
> gf

It looks like there may be some missing parts in this recipe for
reproducing the bug?  Or did you mean "gp" instead of "gf" there at the
end?

In which case I get no errors, but just an empty gnuplot chart.

Oh, perhaps gf and then gp?  That gives me an error, but not the same
one you're seeing.

To reproduce, from emacs -Q:

M-x calc
vx 10 RET
RET
gf
gp

Starting gnuplot...

	G N U P L O T
	Version 5.4 patchlevel 0    last modified 2020-07-13 

	Copyright (C) 1986-1993, 1998, 2004, 2007-2020
	Thomas Williams, Colin Kelley and many others

	gnuplot home:     http://www.gnuplot.info
	faq, bugs, etc:   type "help FAQ"
	immediate help:   type "help"  (plot window: hit 'h')

Terminal type is now 'qt'
gnuplot> 
Terminal type is now 'x11'
Options are ' nopersist enhanced'
gnuplot> gnuplot> gnuplot> 
gnuplot> set notime
               ^
         "/tmp/calcAjvEJ81" line 23: Unrecognized option.  See 'help unset'.

gnuplot> 
gnuplot> set notime
               ^
         "/tmp/calcAjvEJ81" line 23: Unrecognized option.  See 'help unset'.

gnuplot> 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39232; Package emacs. (Mon, 07 Dec 2020 12:38:02 GMT) Full text and rfc822 format available.

Message #11 received at 39232 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>
Cc: 39232 <at> debbugs.gnu.org
Subject: Re: bug#39232: [PATCH] lisp/calc/calc-graph.el: update gnuplot
 timestamp hiding syntax
Date: Mon, 07 Dec 2020 13:37:14 +0100
Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com> writes:

> Graphs fail to plot (bug#39232), since "time" abbreviation for
> "timestamp" is no longer valid after commit
> b979b5371bc1c18bf8f5bd756e7c1fb54dafd8cc of gnuplot:
> https://github.com/gnuplot/gnuplot/commit/b979b5371bc1c18bf8f5bd756e7c1fb54dafd8cc

Thanks -- I can confirm that this fixed the bug here, too.
Applied to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 07 Dec 2020 12:38:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 39232 <at> debbugs.gnu.org and Bart Nielsen <bart.utahman <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 07 Dec 2020 12:38:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39232; Package emacs. (Mon, 07 Dec 2020 15:25:02 GMT) Full text and rfc822 format available.

Message #18 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Illia Ostapyshyn <ilya.ostapyshyn <at> gmail.com>
To: larsi <at> gnus.org,
 bug-gnu-emacs <at> gnu.org
Subject: bug#39232: [PATCH] lisp/calc/calc-graph.el: update gnuplot timestamp
 hiding syntax
Date: Mon, 7 Dec 2020 12:49:50 +0200
Graphs fail to plot (bug#39232), since "time" abbreviation for "timestamp" is no longer valid after commit b979b5371bc1c18bf8f5bd756e7c1fb54dafd8cc of gnuplot:
https://github.com/gnuplot/gnuplot/commit/b979b5371bc1c18bf8f5bd756e7c1fb54dafd8cc

---
 lisp/calc/calc-graph.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el
index 829fa44ca4..b694a826ce 100644
--- a/lisp/calc/calc-graph.el
+++ b/lisp/calc/calc-graph.el
@@ -351,7 +351,7 @@
 	 (if (>= ver 3)
 	     (insert "set surface\nset nocontour\n"
 		     "set " (if calc-graph-is-splot "" "no") "parametric\n"
-		     "set notime\nset border\nset ztics\nset zeroaxis\n"
+		     "set notimestamp\nset border\nset ztics\nset zeroaxis\n"
 		     "set view 60,30,1,1\nset offsets 0,0,0,0\n"))
 	 (setq samples-pos (point))
 	 (insert "\n\n" str))
-- 
2.24.3 (Apple Git-128)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.