help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] User data directory


From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] User data directory
Date: Fri, 15 Aug 2014 19:01:00 +0200

The strategy for searching for data files starts with the directory specified 
explicitly and then falls back to the default one so this is what you need 
isn't it? 

Messaggio inviato dal mio ASUS MeMO Pad

Dario Teixeira <address@hidden> ha scritto:

>Hi,
>
>> You can use the --data command line argument if I understand correctly the 
>
>> question.. 
>> If you only use the library then you need to set up the corresponding 
>> argument 
>> when you initialize the library 
>
>Thanks for the reply.  If I understood the --data argument correctly, it allows
>the specification of the data directory.  However, what I wanted was to specify
>a secondary data directory to be searched in addition to the main system one.
>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 
>SourceHighlight
>object, I'm passing the fully qualified path to the outlang.  For instance:
>
>  hiliter = new SourceHighlight ("/full/path/to/sexp.outlang");
>
>If I understood the docs correctly, this should also work (I'll be trying it 
>now).
>
>Best regards,
>Dario Teixeira
>
>_______________________________________________
>Help-source-highlight mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/help-source-highlight

reply via email to

[Prev in Thread] Current Thread [Next in Thread]