Thierry Volpiatto <[email protected]> writes: > Suno Ano <[email protected]> writes: > >> I may have found a bug. Can somebody reproduce this: >> >> - create a new directory e.g. ~/foo/bar/dvc_config >> - do cp -a ~/.dvc/* ~/foo/bar/dvc_config >> - remove ~/.dvc >> - put (setq dvc-config-directory ~/foo/bar/dvc_config) in .emacs and >> evaluate >> - do something that stores stuff in dvc-config-directory e.g. create a >> bookmark >> - restart Emacs >> - peng, there it is >> - a fresh ~/.dvc was created although >> - dvc-config-directory points to ~/foo/bar/dvc_config >> - issuing for example dvc-bookmarks takes its information from ~/.dvc >> were it should consult ~/foo/bar/dvc_config which holds the former >> created bookmark (in addition to the default ones) > > May be i forget a hardlink to ~/.dvc somewhere in dvc-bookmarks, i will > have a look today. > Thank you to point that out.
No there is no bug, when changing the value of `dvc-config-directory', you have to reevaluate also `dvc-bookmarks-prop-file' and `dvc-bookmarks-file-name' with the function `dvc-config-file-full-path'. Thought the best you have to do is to setup `dvc-config-directory' (don't forget the "/" at the end!) and restart emacs. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
