Re: User data directory

Dario Teixeira <[email protected]> Fri, 15 Aug 2014 09:29:46 -0700
Newsgroups gmane.comp.gnu.source-highlight.general
Message-ID <[email protected]>
Hi,

> You can use the --data command line argument if I understand correctly th=
e =


> question.. =

> If you only use the library then you need to set up the corresponding arg=
ument =

> when you initialize the library =


Thanks for the reply.=A0 If I understood the --data argument correctly, it =
allows
the specification of the data directory.=A0 However, what I wanted was to s=
pecify
a secondary data directory to be searched in addition to the main system on=
e.
This allows, for instance, a user data directory to coexist with the system=
 one
(usually /usr/share/source-highlight).

In the meantime I'm trying a different approach: when creating a new Source=
Highlight
object, I'm passing the fully qualified path to the outlang.=A0 For instanc=
e:

=A0 hiliter =3D new SourceHighlight ("/full/path/to/sexp.outlang");

If I understood the docs correctly, this should also work (I'll be trying i=
t now).

Best regards,
Dario Teixeira