-
Notifications
You must be signed in to change notification settings - Fork 33
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
elprop doesn't run all methods #99
Comments
hmm, it seems to work for me. If I add this dummy function to casefiddle.rs #[defun]
fn downcase(s: &str) -> String {
String::from("")
} and then run elprop with I get this output.
If you push your change to your fork I can take a look there. If you look at Also be aware that rust and Emacs use different unicode versions so you may still get failures with a correct implementation, and that is okay. |
My changes are up at https://github.com/fpdotmonkey/rune/tree/impl-casefiddle. Still the same results as above. I checked with |
The issue was that you returned a Also looking at your code, you define the incoming type as |
For example, you could use this to test only strings and chars: #[elprop(String | char)] |
Hey, seems like a neat project and I wanted to contribute. I want to check my changes with elprop, but I seem to be misunderstanding what's meant by "call
elprop/elprop
with a regex matching the name of some rune lisp functions". I'm running this:and getting this out
It's running these *-word functions, but not against upcase or downcase themselves, which are certainly implemented and I'm able to call them in the repl. Am I writing the regex wrong? Is there some further incantation I need to make?
The text was updated successfully, but these errors were encountered: