You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emacs version: 28.0.50
Operating System: Arch Linux
Evil version: 1.14.0
Evil installation type: straight.el (source)
Graphical/Terminal: Both
Tested in a make emacs session (see CONTRIBUTING.md): No
Reproduction steps
Start Emacs
Load evil
change evil-bigword to e.g. "^ \t\r\n()"
Try cw with point at the begining of e.g. an-example)
Expected behavior
deletes up to ) and enters insert state
Actual behavior
deletes up to whitespace and enters insert state
Further notes
In this definition:
(defunforward-evil-WORD (&optionalcount)
"Move forward COUNT \"WORDS\".Moves point COUNT WORDS forward or (- COUNT) WORDS backward ifCOUNT is negative. Point is placed after the end of the WORD (ifforward) or at the first character of the WORD (if backward). AWORD is a sequence of non-whitespace characters'[^\\n\\r\\t\\f ]', or an empty line matching ^$."
(evil-forward-nearest count
#'(lambda (&optionalcnt)
(evil-forward-chars "^\n\r\t\f" cnt))
#'forward-evil-empty-line))
The string "^\n\r\t\f " should be replaced with the variable evil-bigword (and the default value of that variable set to that string, as it contains one more whitespace character).
The text was updated successfully, but these errors were encountered:
dieggsy
added a commit
to dieggsy/evil
that referenced
this issue
Apr 7, 2021
Hopefully I'm not necrobumping this issue, but is there any update on it? I tried to find out how the 'evil-word vs 'evil-WORD symbols work with thing-at-point, but I did come short in regards to my elisp-fu. The linked pull request won't fix the issue, I'm afraid, as the mechanism for the forward and backward word vs WORD looks complex to me.
Anyways, it would be pretty cool if the feature had its intended effect though.
Issue type
Environment
Emacs version: 28.0.50
Operating System: Arch Linux
Evil version: 1.14.0
Evil installation type: straight.el (source)
Graphical/Terminal: Both
Tested in a
make emacs
session (see CONTRIBUTING.md): NoReproduction steps
"^ \t\r\n()"
cw
with point at the begining of e.g.an-example)
Expected behavior
)
and enters insert stateActual behavior
Further notes
In this definition:
The string
"^\n\r\t\f "
should be replaced with the variableevil-bigword
(and the default value of that variable set to that string, as it contains one more whitespace character).The text was updated successfully, but these errors were encountered: