[Users] usage of absolute paths in clawsrc

Paul claws at thewildbeast.co.uk
Mon Mar 13 12:09:22 CET 2017


On Mon, 13 Mar 2017 12:03:09 +0100
Olaf Hering <olaf at aepfle.de> wrote: 

> While trying to debug why the 'N' key does not behave I noticed that
> clawsrc contains absolute paths to the plugins. I built another
> copy of claws with different --prefix, which means the plugins can
> not be found.
> 
> Is there a good reason why absolute paths are stored, instead of
> looking for 'foo.so' in ${pluginsdir}? I'm not familiar with the
> internals, but to me it looks like a single ~/.claws-mail can be
> used independend from the used --prefix (most likely not at the
> same time).

If there is no full path ${pluginsdir} is used.

But the user might want to load plugins from different locations, so
a full path is supported.

with regards

Paul



More information about the Users mailing list