From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Greek symbol rendering problem in gnuplot Date: Mon, 29 Apr 2019 09:13:51 -0500 Message-ID: References: <8736m174vl.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007c25f00587abe5aa" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL72k-0007AS-BS for emacs-orgmode@gnu.org; Mon, 29 Apr 2019 10:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hL72i-0002eR-TK for emacs-orgmode@gnu.org; Mon, 29 Apr 2019 10:14:06 -0400 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:37822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hL72i-0002cw-Iv for emacs-orgmode@gnu.org; Mon, 29 Apr 2019 10:14:04 -0400 Received: by mail-lj1-x242.google.com with SMTP id b12so8317441lji.4 for ; Mon, 29 Apr 2019 07:14:04 -0700 (PDT) In-Reply-To: <8736m174vl.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: emacs-orgmode Mailinglist --0000000000007c25f00587abe5aa Content-Type: text/plain; charset="UTF-8" Yes, Ubuntu 19.04. Latest-greatest everything else pertinent as well. Here is are my subscriptions (setq package-archives '(("ELPA" . "http://tromey.com/elpa/") ("gnu" . "http://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/"))) And so I discover these two when I do list-packages: gnuplot 20141231.2137 available melpa drive gnuplot from within emacs and then this: gnuplot-mode 20171013.1616 installed Major mode for editing gnuplot scripts the former I uninstalled, the latter, as you see, I installed, simply going on the theory that a later something is more up to date. The babel languages page lists this: Gnuplot gnuplot ob-doc-gnuplot gnuplot, gnuplot-mode which no doubt means gnuplot the actual program, then gnuplot-mode the Emacs package. So I'm saying the second list-packages offering, gnuplot-mode- 20171013.1616, is working only as a stand-alone mode and not working with org-mode babel (It can't find gnuplot when an org gnuplot block is run.), while the first one, just plain simple gnuplot-20141231.2137 works in org-mode babel, but gives the long-ago solved problem of greek symbol display garbling when run in babel code blocks. (See the links to the github pages.) The confusion is which of the Emacs packages to use -- both having problems. Both modes seem to know where gnuplot is (my $PATH has /usr/bin/ and my gnuplot is /usr/bin/gnuplot), again, they both work fine as stand-alones with gnuplot code files, but, as I'm saying, gnuplot-mode-20171013.1616 doesn't work with org-mode. Having glanced at the older gnuplot-20141231.2137 mode's code, it seems to guess version 3.7 if it can't establish which version of gnuplot the user is running. Odd since it does start up an Emacs gnuplot REPL session -- that readily identifies itself as 5.2.6. So I'm guessing this gnuplot-mode-20171013.1616 is not the intended mode after all, rather, gnuplot-20141231.2137. Since there have been more than one stackoverflow efforts on this issue, I thought it worthy of org-mode's attention -- heavy users of greek letters or no. On Mon, Apr 29, 2019 at 12:33 AM Fraga, Eric wrote: > Emacs (and hence org) will use whichever gnuplot is found in your $PATH, > assuming you're on Linux (you did not specify). You also, for babel, > need the gnuplot mode. I don't understand why you removed the gnuplot > package as it does not have the emacs mode; that is provided by the > separate gnuplot-mode package. > > I don't use greek letters so cannot comment on that aspect. > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0 > --0000000000007c25f00587abe5aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, Ubun= tu 19.04. Latest-greatest everything else pertinent as well. Here is are my= subscriptions

(setq package-archives '((= "ELPA"=C2=A0 . "http://t= romey.com/elpa/")
("gnu"=C2=A0 =C2=A0. "http://elpa.gnu.org/packages/")
("org"=C2=A0 =C2=A0. "<= a href=3D"https://orgmode.org/elpa/">https://orgmode.org/elpa/")))=

And so I discover these two when I do list-= packages:=C2=A0=C2=A0

= gnuplot=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 20141231.2137 available=C2=A0 melpa=C2= =A0 =C2=A0 =C2=A0 drive gnuplot from within emacs

and then this:

=C2=A0gnuplot-mode=C2=A0 =C2=A0 =C2=A0 = =C2=A020171013.1616 installed=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0Major mode for editing gnuplot scripts

the = former I uninstalled, the latter, as you see, I installed, simply going on = the theory that a later something is more up to date. The babel languages p= age lists this:

Gnuplot gnuplot ob-doc-gnuplot<= span style=3D"white-space:pre"> gnuplot, gnuplot-mode
=
which no doubt means gnuplot the actual program, then gnuplo= t-mode the Emacs package. So I'm saying the second list-packages offeri= ng, gnuplot-mode- 20171013.1616, is working only as a stand-alone mode and = not working with org-mode babel (It can't find gnuplot when an org gnup= lot block is run.), while the first one, just plain simple gnuplot-20141231= .2137 works in org-mode babel, but gives the long-ago solved problem of gre= ek symbol display garbling when run in babel code blocks. (See the links to= the github pages.) The confusion is which of the Emacs packages to use -- = both having problems. Both modes seem to know where gnuplot is (my $PATH ha= s /usr/bin/ and my gnuplot is /usr/bin/gnuplot), again, they both work fine= as stand-alones with gnuplot code files, but, as I'm saying,=C2=A0=C2= =A0gnuplot-mode-20171013.1616 doesn't work with org-mode.
Having glanced at the older gnuplot-20141231.2137 mode's co= de, it seems to guess version 3.7 if it can't establish which version o= f gnuplot the user is running. Odd since it does start up an Emacs gnuplot = REPL session -- that readily identifies itself as 5.2.6. So I'm guessin= g this=C2=A0gnuplot-mode-20171013.1616 is not the intended mode after all, = rather, gnuplot-20141231.2137. Since there have been more than one stackove= rflow efforts on this issue, I thought it worthy of org-mode's attentio= n -- heavy users of greek letters or no.

On Mon, Apr 29, 2019 at 12:33 AM Fraga, Eric <e.fraga@ucl.ac.uk> wrote:
Emacs (and hence org) will use whi= chever gnuplot is found in your $PATH,
assuming you're on Linux (you did not specify).=C2=A0 You also, for bab= el,
need the gnuplot mode.=C2=A0 I don't understand why you removed the gnu= plot
package as it does not have the emacs mode; that is provided by the
separate gnuplot-mode package.

I don't use greek letters so cannot comment on that aspect.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0
--0000000000007c25f00587abe5aa--