-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
dired-do-flagged-delete confirmation is not shown in minibuffer when using counsel #1660
Comments
Just realized when opening emacs without the But when working in emacs the issue occurs again and can again be resolved by starting emacs without the desktop file and then start it with the desktop file again. Well, kind of a work around. |
Can't reproduce here with any version of Emacs between 24-27, but then I don't use I mainly wanted to point out that major and minor mode functions are almost always documented as accepting a single optional argument which is either |
The nested |
Thank you for your quick replies! I use the numbers for the modes now. But as you already expected, it doesn't seem to make a difference in practice. Before I was not sure how to reproduce, but now I found it:
Issue persists restarts when using As the issue only occurs when opening Rnw files I guess it might be due to ess. |
@bbo2adwuff |
Sorry I was away for some days. But I realized that I made it much more complicated than it is. How to reproduce:
(add-to-list 'load-path "~/.emacs.d/elpa/ess-20180708.601/")
(add-to-list 'load-path "~/.emacs.d/elpa/ivy-20180705.807/")
(require 'package)
(require 'ess)
(require 'ivy)
(ivy-mode 1)
\documentclass{article}
\begin{document}
<<a>>=
1 + 1
@
\end{document}
|
OK, after a long debug session I've traced the bug to (mapc 'ess-noweb-make-variable-permanent-local
'(ess-noweb-mode
ess-local-process-name ;; also made permanent in ess-mode, but let it be
ess-dialect
ess-language
after-change-functions
before-change-functions
ess-noweb-narrowing
ess-noweb-chunk-vector
post-command-hook
isearch-mode-hook
isearch-mode-end-hook
ess-noweb-doc-mode
ess-noweb-code-mode
ess-noweb-default-code-mode
ess-noweb-last-chunk-index)) So what they do here is modify many built-in variables that weren't meant to be permanent buffer-local. Specifically I think this is a major bug in ESS since they change the behavior of whole Emacs just for purpose of a |
Perfect! Thanks a lot! |
Sorry about that painful debug session @abo-abo. We're slowly modernising the codebase and some parts of ESS no longer have active maintainers unfortunately. |
@lionel- No problem, and good luck. |
When flagging a file for deletion in dired and call
dired-do-flagged-delete
then I expect to see the message to confirm the deletion (yes or no).Instead I see following in the minibuffer:
I can type just anything (and see the results in the minibuffer appearing) but after clicking ENTER I see in the last line
Please answer yes or no.
My ivy setup looks like this
Problem persists when I comment everything out except of
(ivy-mode t)
.The text was updated successfully, but these errors were encountered: