Skip to content

Please use XDG basedir paths for user config and data files #560

@aspell-helper

Description

@aspell-helper

https://lists.gnu.org/archive/html/aspell-devel/2019-01/msg00000.html
https://bugs.debian.org/900164

Date: Thu, 31 Jan 2019 07:08:35
From: Agustin Martin <agmartin@debian.org>
To: aspell-devel@gnu.org
Subject: [aspell-devel] Suggestion in Debian#900164: Please use XDG basedir paths for user config and data files

Hi,

We have recevied following suggestion by Guillem Jover, in Debian bug
tracking system, see https://bugs.debian.org/900164

Guillem wrote:

---------- 8< ---------------------------------
The aspell config ~/.aspell.conf and user personal word and replace
files ~/.aspell.LL.prepl and ~/.aspell.LL.pws are read directly from
the user home directory. This makes for an untify home. :)

It would be nice if aspell would support the XDG basedir standard [X]
and those would be looked up first under something like:

  ${XDG_CONFIG_HOME:-~/.config}/aspell/aspell.conf
  ${XDG_DATA_HOME:-~/.local/share}/aspell/aspell.LL.prepl
  ${XDG_DATA_HOME:-~/.local/share}/aspell/aspell.LL.pws

[X] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.htm
---------- 8< ---------------------------------

I also think it would be nice to have a configuration option at build time
to have this behavior or allow it in some way, so I am forwarding this bug
report in case someone thinks it worths (and writes the code).

Regards,

-- 
Agustin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions