-
-
Notifications
You must be signed in to change notification settings - Fork 339
default action vs last action #454
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
Comments
Are you using the outdated ELPA version? This behavior has been since fixed, I can't reproduce it now with I suggest you try MELPA, or wait until the |
No, I cloned the repository (through el-get). I was 3 commits behind Any idea what I should do to find the cause of the problem? Thanks |
Could be the Emacs version. I have 25 and have no issue. |
I have 24.5, but I just tried with 25.0.92 and still the same behavior. |
I tried this again, and I can only reproduce it only if I do it like this:
The message is
The message is still |
I get |
Please check if that solves it. |
Unfortunately it doesn't:
|
I don't know if it helps, but here is the content of the backtrace buffer for the
|
And another thing, if I now define:
then I get the same behavior as you: Nothing changes if I pull your two commits from today. |
This is actually the preferred approach. It's more flexible, since all actions except I also reverted the thing that made |
OK, thank you very much. |
I'm not sure whether this is the intended behavior, but when I repeatedly call
ivy-read
with a list of actions, the default action seems to constantly update to the last action I applied.Here is an example. As in section 6.3.5 of the
ivy
documentation I define the following:If I call
my-command-with-3-actions
, select candidatefoo
and hitRET
, I getaction-1: foo
. If I understand correctly, this is becauseRET
applies the default action and the number1
at the beginning of the action list identifies the first action as the default one.But if I now call
my-command-with-3-actions
, selectfoo
and apply the second action (hittingM-o j
), then callmy-command-with-3-actions
again, selectfoo
and hitRET
, the second action is applied whereas I would expect the default, first one to be applied.Am I getting something wrong?
Thanks
The text was updated successfully, but these errors were encountered: