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
guix-devel-mode's function fail on package ending with "+" #24
Comments
I don't reproduce: it uses the full symbol for me (with the Could you check (define-public emacs-image+
;;...
) (Not on the first open parenthesis!) |
I can reproduce with the point inside the definition: |
Hm, strange, perhaps, the buffer you call it from have an unusual syntax |
I did not. Here is the list of the active modes in my
|
And here is the full definition, in case that matters:
|
Could you evaluate (with (re-search-forward "\\(?:[[:word:]]\\|\\s_\\)+" nil t) Does it stop after or before |
When the point is anywhere before the |
OK, this is the culprit: for me, the point stops right after Could you also check (when the point is on
For me, it also stops after |
With the point on the |
Could you test it when the point is on |
Which |
No, I mean when my point is placed on |
No, that's the test I mentioned before (I meant the |
OK, it means that
I.e. Maybe there is some difference in our Emacs versions (I use 25.3.1), or |
You are right, my syntax table has changed:
```
+ .. , ' which means: prefix
```
I use Emacs 26 and there is no issue with `emacs -Q`.
I suspect lispy to be the culprit. I'll investigate further.
|
OK, please let me know if you find out what "evil" package does it :-) I am closing this issue. |
Reported by Pierre Neidhardt: <#24>. Well, it was not really the issue but it is better to define the definition from its start position, anyway. * elisp/guix-guile.el (guix-guile-current-definition): Define the current definition properly when the point is in the beginning of it.
I found the root of the issue: it's in
I'm not sure to understand the comment. |
Good to know, thank you for investigating!
I have no idea how it effects Paredit behaviour.
It's not a problem to adjust the regexp in Emacs-Guix, but I think https://www.gnu.org/software/emacs/manual/html_node/elisp/Syntax-Class-Table.html#Syntax-Class-Table So my opinion is that this should be fixed on the Guix side. |
I've reported the issue on guix-devel.
|
I see, thanks! |
On
emacs-image+
,C-c . b
tries to runThe
+
is missing. The command works if I add the+
manually.The text was updated successfully, but these errors were encountered: