Comments (4)
@axelf4, it seems that your commit at f84d345 broke the evil
's ex completion-at-point
for commands that contain -
character
from evil.
it seems that your commit at f84d345 broke the evil's ex
completion-at-point
for commands that contain-
character
Thanks for reporting the issue. However, it is not that simple, since arguably that commit fixed completion. The Ex command make-
is parsed as a call to :make
with -
as the argument, because the prefix make
is a valid Ex command (this logic is needed to parse e.g. substitute-foo-
as a call to :substitute
). This was always the case (please correct me if I am wrong). Thus -
gets completed as a shell command, instead of make-
getting completed as a command.
If you instead try to complete show-
, where show
is not a valid Ex command, then you will see that it does get completed as a command.
from evil.
:make-frame
will invoke the Emacs
command M-x make-frame
though (there's even a test case for that).
Well, admittedly I abused the evil Ex command ability of being able to invoke Emacs
commands.
from evil.
:make-frame
will invoke theEmacs
commandM-x make-frame
though (there's even a test case for that).
Yes, if there is an exact Emacs command match then that is preferred, even with a valid Ex command prefix (see this bit). To be clear, I consider the current situation less than ideal; you need to be allowed to write :substitute/.../
without a space between substitute
and /.../
, but :make/.../
does not make sense. That is what should be changed, commit f84d345 only improved completion such that the parsing detail became explicit.
Well, admittedly I abused the evil Ex command ability of being able to invoke
Emacs
commands.
I do that as well and would not consider it abuse. :)
from evil.
Related Issues (20)
- `company-complete` results in `(evil-repeat-post-hook): (wrong-type-argument number-or-marker-p nil)`
- Missing Visual Mode command: v_g_CTRL-A HOT 3
- evil-visual-char is not inclusive when using goto-char? HOT 2
- `describe-char` doesn't work outside of evail unless `(ad-deactivate #'describe-char)` is evaluated HOT 5
- the global ex command (:g) doesn't take a count HOT 1
- provide vim-like indication of mode in statusline HOT 3
- completion-in-region-mode keybindings don't override, breaking minibuffer-visible-completions
- evil + prettify
- Visual states should set region-extract-function
- `Vkko` does nothing under cua-selection-mode
- How to reliably check if at the beginning of the line in Evil visual state? HOT 3
- visual selection + prettify
- `vip` select wrong region in org-mode HOT 3
- Help overriding only certain postfixs to "m" HOT 2
- $ followed by g j moves point at the beginning of next line HOT 4
- Don't move cursor (and don't unhighlight) options in evil mode HOT 1
- Move `evil-test-helpers.el` to its own repo? HOT 6
- `evil-redo` won't redo `evil-undo`, unless the latter was called in "normal mode" HOT 6
- Can't exit Visual-Block Mode with keyboard-escape-quit HOT 1
- Copy/paste in + register doesn't work when evil is run in Emacs terminal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evil.