News for hackers. Stuff that matters.
Re:A namespace implementation for Emacs Lisp by josteink on Sunday November 23, 2014 @06:10AM (#8648440)
I've seen this before and it's definitely a nice stop-gap solution to a well known and common problem.

However the existence of something like this IMO really shows that a feature like this should be Emacs (25?) itself, at the core, preferably without creating indentation issues by leaving your entire module a nesten s-exp.

In an ideal world something like (ns 'my-package) statement at the start of your module should be enough.

In a less ideal world, that simple solution will cause compatibility problems when you want packages to work for both Emacs pre-ns and Emacs post-ns.

How to get that done properly is a genuinely hard question. Any suggestions? Any takers?

Re:A namespace implementation for Emacs Lisp by rson on Monday November 24, 2014 @09:18AM (#8652427)
For what it's worth, this macro doesn't cause the indentation issue due to how it's defined[1]. It does, however, leave the extra sexp around your package.

From my experimentation the package worked quite well for the most part but I ended up not using it in the end.

1: https://github.com/Bruce-Connor/names/blob/master/names.el#L...