ocaml-opam / opam-user-setup

Simplify the configuration of editors for using OCaml tools
Other
81 stars 12 forks source link

XDG support? #51

Open favonia opened 3 years ago

favonia commented 3 years ago

Recent Emacs will also check ~/.config/emacs/init.el and opam user-setup should emulate the main logic used by Emacs. That is, perhaps this function needs to be changed:

https://github.com/ocaml-opam/opam-user-setup/blob/8208197c93189ed10db9e4c383377e8c3a1a43cf/emacs/emacs.ml#L101-L108

It might also be useful to have an option to specify the location of configuration files that will somehow work with --editors.