On Tue, 21 Jan 2020, Sven Schreiber wrote:
Am 20.01.2020 um 17:01 schrieb Sven Schreiber:
> Am 20.01.2020 um 14:19 schrieb Allin Cottrell:
> > On Sun, 19 Jan 2020, Sven Schreiber wrote:
> > > Am 19.01.2020 um 20:53 schrieb Allin Cottrell:
> > > >
> > > > * While the gretl file is still called gretl.lang and its
"id" is
> > > > still
> > > > "gretl", its "name" (inside the file, which
appears in the gedit
> > > > language listing) is now "hansl".
> > > >
> > > > * There's an option, "--gtksv", which skips the Stata
and Ox foreign
> > > > support.
> > >
> > > Do you want me to get in touch with the people from gtksourceview to
> > > get
> > > the file "adopted"? (Maybe they could also comment on the
naming
> > > policy,
> > > gretl and/or hansl.)
> >
> > Yes, thanks, that's a good idea.
OK, two things: First one of them said quite clearly that the file
should be named hansl.lang when the language is called hansl (also
inside the file). Of course I guess one could make the case that the
"foreign" apparatus in gretl.lang makes it a superset of hansl which
might warrant to call it gretl. But in any case it seems it's not a good
idea to use both in connection with one single file. So maybe we just
leave things as they were in that area.
OK, I'll revert the recent change.
Secondly, they pointed out that a package (on the Gnome desktop, I
presume) can easily install the .lang files automatically in the same
places where we had put them manually. That sounded quite convincing to
me. So why not just modify the gretl installation routine to put
gretl.lang into /usr/share/gtksourceview.../language-specs (where the
... indicate various possible versions, and why not install into all of
them) ? That way they are available to gedit and so on.
That makes sense. The only thing is that I don't think we should be
installing other people's files (stata.lang, gnuplot.lang, extra style
files) into the system-wide gtksourceview directories -- so we'll
probably have to keep our own gtksourceview directory. But I guess
we could also dump the mildly sanitized version of gretl.lang into
the system language-spec dirs.
Allin