@@ -131,7 +131,6 @@ the first entry in the list be a blank string."
131131 (if (> (point ) end) (goto-char end))
132132 (buffer-substring-no-properties begin (point )))))
133133
134-
135134
136135; ;; data structures containing regarding options in Gnuplot 3.7
137136
@@ -594,7 +593,6 @@ See the doc-string for `gnuplot-gui-all-types'.")
594593 '((" INITIAL FILE" 'file " " t )
595594 (" UPDATED FILE" 'file " " t ))) ))
596595
597-
598596(defcustom gnuplot-gui-plot-splot-fit-style 'simple
599597 " Control the complexity of the GUI display for plot, splot, and fit.
600598The values are \\= 'simple, which causes a limited set of plot, splot, or
@@ -605,7 +603,6 @@ parsing values already in the script buffer."
605603 :type '(radio (const :tag " Simple listing" simple)
606604 (const :tag " Complete listing" complete)))
607605
608-
609606(defconst gnuplot-gui-plot-simple-list
610607 '((" X RANGE" 'range (" " . " " ) " :" )
611608 (" Y RANGE" 'range (" " . " " ) " :" )
@@ -708,7 +705,6 @@ See the doc-string for `gnuplot-gui-all-types'.")
708705 gnuplot-gui-fit-full-list
709706 gnuplot-gui-fit-simple-list))) )
710707
711-
712708(defvar gnuplot-gui-test-type nil )
713709(setq gnuplot-gui-test-type
714710 (list (cons " test"
@@ -820,8 +816,6 @@ This alist is formed at load time by appending together
820816 (message " Using %s lists for plot, splot, and fit. "
821817 gnuplot-gui-plot-splot-fit-style) )
822818
823-
824-
825819
826820; ;; user interface to the widget-y stuff
827821
@@ -921,7 +915,6 @@ Note that \"cntrparam\" is not currently supported."
921915 " Argument popup will appear after insertions."
922916 " Argument popup will no longer appear after insertions." )))
923917
924-
925918(defalias 'gnuplot-gui-y-n 'y-or-n-p )
926919
927920(defun gnuplot-gui-correct-command (word set term begin )
@@ -955,7 +948,6 @@ BEGIN is the beginning of the command."
955948 (insert " set " ))))))
956949 (message nil ))
957950
958-
959951
960952; ;; handle the actual arguments
961953
@@ -1022,12 +1014,12 @@ arguments."
10221014 ((cl-member symbol '(list list*) :test 'equal )
10231015 (let* ((case-fold-search nil )
10241016 (match-cons (cl-member (concat " ^" (car temp-list))
1025- values :test 'string-match )))
1017+ values :test 'string-match )))
10261018 (if (and (car match-cons) ; " " may be first elem. of list
10271019 (not (string= " " (car match-cons))))
10281020 (setq this-cons (cons tag (car match-cons))
10291021 arg-list (cl-remove (car temp-list) arg-list
1030- :test 'string= :count 1 )
1022+ :test 'string= :count 1 )
10311023 temp-list nil )
10321024 (setq temp-list (cdr temp-list)))))
10331025 ; ; ---------------------------- tag (first number in list)
@@ -1048,16 +1040,16 @@ arguments."
10481040 (string-match " ^[-0-9.]+$" (cadr temp-list)))
10491041 (setq this-cons (cons tag (cadr temp-list))
10501042 arg-list (cl-remove (car temp-list) arg-list
1051- :test 'string= :count 1 )
1043+ :test 'string= :count 1 )
10521044 arg-list (cl-remove (cadr temp-list) arg-list
1053- :test 'string= :count 1 )
1045+ :test 'string= :count 1 )
10541046 temp-list nil ))
10551047 ; ; --------------------- number without prefix
10561048 ((and (not prefix)
10571049 (string-match " ^[-0-9.]+$" (car temp-list)))
10581050 (setq this-cons (cons tag (car temp-list))
10591051 arg-list (cl-remove (car temp-list) arg-list
1060- :test 'string= :count 1 )
1052+ :test 'string= :count 1 )
10611053 temp-list nil ))
10621054 (t
10631055 (setq temp-list (cdr temp-list)))))
@@ -1083,7 +1075,7 @@ arguments."
10831075 (cons tag (cons (match-string 1 (car temp-list))
10841076 (match-string 2 (car temp-list))))
10851077 arg-list (cl-remove (car temp-list) arg-list
1086- :test 'string= :count 1 )
1078+ :test 'string= :count 1 )
10871079 temp-list nil )
10881080 (setq temp-list (cdr temp-list)) ))
10891081 ; ; ---------------------------- labels
@@ -1105,7 +1097,7 @@ arguments."
11051097 (setq list (cdr list )) )
11061098 (setq this-cons (cons tag return)
11071099 arg-list (cl-remove (car temp-list) arg-list
1108- :test 'string= :count 1 )
1100+ :test 'string= :count 1 )
11091101 temp-list nil ))
11101102 (setq temp-list (cdr temp-list))) )
11111103 ; ; ---------------------------- string, file, format
@@ -1116,17 +1108,17 @@ arguments."
11161108 (car temp-list))
11171109 (setq this-cons (cons tag (match-string 0 (car temp-list)))
11181110 arg-list (cl-remove (car temp-list) arg-list
1119- :test 'string= :count 1 )
1111+ :test 'string= :count 1 )
11201112 temp-list nil )
11211113 (setq temp-list (cdr temp-list)) ))
11221114 ; ; ---------------------------- string*
11231115 ((equal symbol 'string* )
11241116 (if (string= prefix (car temp-list))
11251117 (setq this-cons (cons tag (cadr temp-list))
11261118 arg-list (cl-remove (car temp-list) arg-list
1127- :test 'string= :count 1 )
1119+ :test 'string= :count 1 )
11281120 arg-list (cl-remove (cadr temp-list) arg-list
1129- :test 'string= :count 1 )
1121+ :test 'string= :count 1 )
11301122 temp-list nil )
11311123 (setq temp-list (cdr temp-list)) ) )
11321124 ; ; ---------------------------- other or unknown
@@ -1136,7 +1128,6 @@ arguments."
11361128 (append gnuplot-gui-alist (list this-cons))))
11371129 (setq alist (cdr alist))) ))
11381130
1139-
11401131(defun gnuplot-gui-post-process-alist (type )
11411132 " A few types need some additional processing.
11421133\\= 'range, \\= 'pair, and \\= 'labels are cons or list valued and need to b made
@@ -1192,7 +1183,6 @@ into the buffer. TYPE is the object whose arguments are being set."
11921183 (gnuplot-gui-make-frame
11931184 option (cdr (assoc option gnuplot-gui-all-types)) save-frame) )
11941185
1195-
11961186(defface gnuplot-gui-error-face '((((class color ) (background light ))
11971187 (:foreground " grey30" ))
11981188 (((class color ) (background dark ))
@@ -1525,7 +1515,6 @@ prefix for the string."
15251515 :value " format" )
15261516 (widget-insert " \n " ))
15271517
1528-
15291518; ; swiped from widget-color-complete
15301519(defun gnuplot-gui-file-completion (widget )
15311520 " Complete the filename in WIDGET."
@@ -1634,7 +1623,6 @@ is non-nil if this is a \\='range widget."
16341623 (widget-insert " " (make-string (- 39 (current-column )) ?. )
16351624 " (numeric values)\n " ))
16361625
1637-
16381626; ; suppress compiler warning
16391627; ;(eval-when-compile (defun gnuplot-info-lookup-symbol (sym mode)))
16401628(define-widget 'gnuplot-gui-info-link 'info-link
0 commit comments