Argh, there is some hot-key for send that is a bit too easy to press. Sorry about that. Here is the complete message I meant to write:

I think we should encode *something* as an intelligent default. People should be able to make multi-directory Rust projects without having to know about the #[path] annotation as long as they're willing to follow our default convention.

I am somewhat indifferent as to what convention we settle on. I have a slight preference for `mod.rs` because `mod` is a keyword and thus compatible with nested packages like `util::util::foo` (not that this is necessarily such a hot idea). Also both Python and Java solve this problem the same way (Python uses `__init__.py`, Java uses `package-info.java`), so there is certainly precedent, but I'm not sure what other languages do.

The problem with emacs buffers is real but easily solved by adding `(toggle-uniquify-buffers)` to your .emacs file, which every emacs user should be doing anyway. The default configuration of emacs is annoying in general (why would you ever want `foo<2>` as a buffer name in place of `dir/foo`?)


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to