[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-source-highlight] User data directory
From: |
Dario Teixeira |
Subject: |
[Help-source-highlight] User data directory |
Date: |
Fri, 15 Aug 2014 03:26:25 -0700 |
Hi,
I've opened a ticket regarding the addition of S-expressions
as an outlang for GNU Source-highlight [1]. It will of course
take time for such an addition to percolate down to user distros,
which is why I'm looking for a convenient interim solution for
Camlhighlight users [2].
At the moment I'm asking Camlhighlight users to manually copy
the sexp.outlang to /usr/share/source-highlight. Besides the
obvious problem of many users neglecting to read the README
and thus not actually copying the file, there's also the
problem that copying requires root permissions, which makes
packaging Camlhighlight for OPAM troublesome[3].
So, here's my question: is there a way for the Source-highlight
library to read sexp.outlang without requiring it to be copied
to the system data directory? Can a user data directory be used
along side the system data directory, for instance? Or is there
some other simpler approach to this problem?
Thanks in advance for your help!
Best regards,
Dario Teixeira
[1] https://savannah.gnu.org/bugs/?42994
[2] http://camlhighlight.forge.ocamlcore.org/
[3] http://opam.ocaml.org/
- [Help-source-highlight] User data directory,
Dario Teixeira <=