-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod_in_name is confusing #17
Comments
That option is a bit confusing. It is about Rust's submodule For example, in the case of It's documented here. If you have read it and still misunderstood, I'll have to improve the doc. |
Ah, I see. I have in fact not looked at this particular section of the guide, my bad. The reason for my confusion is probably the documentation for
There could be an indication that it is actually about the Rust "module path" instead of the Emacs module, especially since the macro itself is called The example in your link really helps, maybe it would be a good idea to put a shorter version of that in the API reference. Side question: So the way to have the Elisp function name derived only from the Rust function name is to set |
Good point! I'll update the doc.
For |
This was fixed in the latest release. |
mod_in_name
doesn't seem to have any effect, neither as parameter to#[module]
nor[defun]
, unless I'm misunderstanding its purpose.E.g. a rust function
is defined in elisp as
module-name-foo
instead of justfoo
.Notice that this is also true for the test cases of this project. See e.g.
vec_size
intest-module/src/test_vector.rs
, which is called from elisp ast/vec-size
The text was updated successfully, but these errors were encountered: