Reputation: 23
I am trying to use the icicle-search-file
/icicle-search-buffer
commands, but am having the same problem with both where C-RET seems to perform no operation on completion options once I have already entered the search context pattern.
The operations described are using Emacs 24.3.1 on Ubuntu 13.10 with icicles
, workgroups2
, and some custom key bindings all done with H-_ or C-c _ to avoid conflicts. I have icicles
and workgroups2
set to be on at start in my .emacs
file. I don’t have anything custom bound to C-c `.
I have learned to use icicle-search
(C-c `) with progressive completion (S-SPC) and it works well, which is why I wanted to figure out these commands.
I have called the icicle-search-buffer
command with each of these options just to be sure there is no difference, and the result are the same:
C-9 C-c `
M-s M-s b
M-x icicle-search-buffer
RET
I enter the search regex (.*
RET - to make things simple) just as with icicle-search
, and am then prompted for the buffers to search. I move through the completion options with arrow keys and use C-RET on the buffers I want to search. The result of this is the buffer I chose disappearing from the completion list and no obvious result appearing. Hitting RET at any point just searches the buffer I had active before beginning the search, just as if I had used C-c `. It does not search the currently selected buffer in the completions list.
Does anyone see where I am failing to understand the usage of these commands? I have read through the information on the Icicles - Search Commands, Overview page.
The "Search Multiple Buffers, Files, and Bookmarks" section seems to describe this simply, but beyond using C-RET not much is said that suggests to me where my problem is.
I also followed the link in that section to the Icicles - Multi-Commands page
which was helpful in seeing how icicles
modifies vanilla Emacs commands and how multi-commands work in general, but I could not determine from that where my mistake is.
Upvotes: 2
Views: 79
Reputation: 30718
You were doing nothing wrong. (And your description of using Icicles search is a good one.) I introduced a bug recently.
Should be OK now. Please download the latest version of icicles-mac.el
. Or wait (up to a day) for it to be mirrored on MELPA and download it from there. Sorry for your trouble, and thanks for bringing this to my attention.
IMPORTANT:
If you byte-compile Icicles (recommended), then whenever (as now) icicles-mac.el
is updated, you
must load icicles-mac.el
(not just icicles-mac.elc
), then compile it, then *recompile ALL***of the other **Icicles source files as well. You want to make sure that all byte-compiled files are up-to-date.
This is normal for Lisp. Code that depends on macros needs to be byte-compiled anew after loading the updated macros.
Upvotes: 0