SCHEME_PATH and library lookup metadata files
Lassi Kortela 27 May 2020 08:14 UTC
> Such "meta" files sound like a great idea.
Thanks, you are the first person who likes the idea :D
> And they can be extended to
> other use cases. We could even teach Emacs to read them to learn more
> about the Scheme code (e.g. indentation of coloring of special forms,
> etc.).
Exactly. Indentation settings are definitely one extra feature that
should be added. I can implement the Emacs end of things. We already
have <https://github.com/lispunion/emacs-lisp-local>.
> The name "meta.scm" is short and sweet, but the ".scm" ending may
> clash with a program named like that. So I would propose some other
> ending than scm or sld.
Names thought of so far:
* meta.scm
* scheme.scm
* .scheme (i.e. a dotfile)
None of them are problem-free. It would be really nice to avoid yet
another Scheme file extension (stackoverflow.com/questions/36240629/).
Some people have a general dislike of dotfiles (e.g. many Go programmers
think they are a hack). They are also slightly problematic on Windows.