/
Icicles_-_Customization_and_General_Tips
1877 lines (1440 loc) · 85.1 KB
/
Icicles_-_Customization_and_General_Tips
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
: [[image:iciclesimage]]
|| *Previous:* [[Icicles - Completion in Other Buffers]] || '''[[Icicles]]''' || IciclesIndex || *Next:* [[Icicles - File-Name Completion Tips]] ||
----
== Customization and General Tips ==
This page contains some tips on using '''Icicles''' and descriptions
of '''Icicles''' [[user option]]s.
'''See Also:'''
* [[Icicles - File-Name Completion Tips]] for tips on using '''Icicles''' to complete file names. User options related to file-name and directory-name [[completion]] are presented there, not here.
* [[Icicles - Large Candidate Sets]] for tips on improving performance when dealing with a large number of completion candidates.
* [[Icicles - Customizing Key Bindings]] for information on customizing '''Icicles''' [[key binding]]s.
=== Using Icicles with Delete Selection Mode ===
'''Icicles''' works especially well with '''DeleteSelectionMode''', which I
use and recommend. (Likewise, for PC selection mode, which uses
Delete Selection mode.) In ''Delete Selection'' mode, whenever the [[region]]
(selection) is active (highlighted), you can simply type to
replace text in the region, or hit `DEL' (Backspace) or `C-d'
(Delete) to delete the
region.
However, library '''<tt>[[delsel.el]]</tt>''', which provides ''Delete Selection''
mode, binds [[key sequence]]s in [[minibuffer]] maps that are also bound by
'''Icicles'''. For this reason, if you use both '''Icicles''' and ''Delete
Selection'' mode, you must turn on ''Icicle'' mode ''after'' you turn on
''Delete Selection'' mode. If you forget to do this, you will notice
that `C-g' does not abort minibuffer input. The remedy is simply
to turn ''Icicle'' mode off, then on again.
=== Icicles User Options and Faces ===
There are several user options (user [[variable]]s) and [[face]]s that '''Icicles''' defines, and you can also
use various standard Emacs user options, including IcompleteMode options,
that control various aspects of completion.
Here is a screenshot from `list-faces-display' that shows all of the '''Icicles''' faces, with their default appearances for a light background. Each of these faces is described below.
[[image:DrewsEmacsIciclesFaces]]
Here are screenshots of the '''Icicles''' and '''Customize''' submenus of the Emacs '''Options''' menu. Most of the items in the '''Icicles''' submenu let you modify specific '''Icicles''' options, which are described below. Those in the '''Customize''' submenu are '''Icicles''' operations for customizing anything -- they are indicated by the prefix '''[Icy]'''.
[[image:DrewsEmacsIciclesOptionsMenu]]
[[image:DrewsEmacsIciclesOptionsCustomizeMenu]]
----
[:icicle-mode-hook]
==== Option icicle-mode-hook ====
User option '''`icicle-mode-hook'''' is a normal hook containing functions that are run after entering and exiting ''Icicle'' mode. This is `nil', by default.
----
[:icicle-minibuffer-setup-hook]
==== Option icicle-minibuffer-setup-hook ====
User option '''`icicle-minibuffer-setup-hook'''' is a [[list]] of
functions to be run at the end of minibuffer setup for ''Icicle''
mode. This is `nil', by default.
----
[:icicle-update-input-hook]
==== Option icicle-update-input-hook ====
User option '''`icicle-update-input-hook'''' is a list of functions to
be run when minibuffer input is updated (typing or deleting).
This is `nil', by default.
----
[:icicle-no-match-hook]
==== Option icicle-no-match-hook ====
User option '''`icicle-no-match-hook'''' is a list of functions to be
run during completion (`TAB' or `S-TAB') when there are no
completion candidates that match the current input. This is `nil', by default.
----
[:CaseSensitivity]
[:completion-ignore-case]
[:read-file-name-completion-ignore-case]
[:read-buffer-completion-ignore-case]
[:case-fold-search]
==== Case Sensitivity - Options completion-ignore-case, read-file-name-completion-ignore-case, read-buffer-completion-ignore-case, case-fold-search ====
The following standard user options control
whether completion distinguishes between uppercase and lowercase
letters:
* '''`completion-ignore-case''''
* '''`read-file-name-completion-ignore-case'''' (Emacs 22 and
later)
* '''`read-buffer-completion-ignore-case'''' (Emacs 23 and
later)
In addition, you can ''toggle'' case-sensitivity at any time using
'''`C-A'''' (that is, '''`C-S-a'''') in the minibuffer. This toggles '''`case-fold-search'''' and `completion-ignore-case'. With a [[prefix argument]], it also toggles `read-file-name-completion-ignore-case' and `read-buffer-completion-ignore-case'.
More precisely, it toggles the default value of `case-fold-search', and then it sets the other variables to the value of
`case-fold-search'. Because the ''default value'' of
`case-fold-search' is changed, ''all [[buffer]]s are affected''.
Note that because some '''Icicles''' [[command]]s bind one or more of these
variables, toggling case-sensitivity during command execution will not
necessarily toggle their global values.
You can tell whether completion is currently case-sensitive by
looking at the ''Icicle'' [[minor mode]] lighter in the [[mode line]], if
`icicle-highlight-lighter-flag' is non-`nil'. If case-sensitive,
then the lighter text (with or without [[multi-command]] symbol `##+##')
is '''`Icy''''; if not, it is '''`ICY''''.
----
[:completion-ignored-extensions]
==== Option completion-ignored-extensions ====
See [[Icicles - File-Name Completion Tips#completion-ignored-extensions|Icicles - File-Name Completion Tips]]
----
[:icicle-point-position-in-candidate][:icicle-mark-position-in-candidate]
[:icicle-change-region-background-flag][:icicle-region-background]
==== Options icicle-region-background, icicle-point-position-in-candidate, icicle-mark-position-in-candidate, icicle-change-region-background-flag ====
User options `icicle-region-background', `icicle-point-position-in-candidate',
`icicle-mark-position-in-candidate', and
`icicle-change-region-background-flag' are all used to ''define the [[region]]'' (the
selected text) when ''[[Icicles - Cycling Completions|cycling]]'' completion candidates. They are described below individually. The region is
active when cycling, so you can easily delete it or replace it.
User option '''`icicle-point-position-in-candidate'''' defines the minibuffer
''[[cursor]]'' position ([[point]]) while cycling candidate completions. By default,
the cursor is placed at the end of the root being completed. You
can instead place it at the root beginning or at the beginning or
end of the complete minibuffer input. For file-name input, the
beginning of minibuffer input starts after the directory name (which is
inserted automatically).
Similarly, user option '''`icicle-mark-position-in-candidate'''' defines the
position of the ''[[mark]]''; by default, it is at the end of the input.
Together, these two options control the size and placement of the
region in a flexible way. You can make the region include all of
the input, only the root, from beginning to root, or from root to
end. You can put the cursor at either end of the region. You can
get rid of the region altogether, by making point and mark
coincide (at any of the possible positions).
These screenshots show two of the sixteen possible position combinations of `icicle-point-position-in-candidate' and `icicle-mark-position-in-candidate'. The first shows the default behavior:
* Point at the end of the root, in this case `nibuf'. The '''root''' is your input before completion, but possibly expanded, if `<tt>[[#icicle-expand-input-to-common-match-flag]]</tt>' is non-`nil'
* Mark at the end of the input (completion candidate).
The second shows point at the start of the input and mark at the end of the input. The position of point is indicated by the bar cursor; the position of mark is the other end of the cyan-colored region.
[[image:IciclesMinibufRegion1]]
[[image:IciclesMinibufRegion2]]
Because the region background color is often quite different from the
[[frame]] background color (in order to have it stand out), it can be a bit
hard to read the completion candidates when the region is
highlighted during input [[Icicles - Cycling Completions|cycling]]. If user option
'''`icicle-change-region-background-flag'''' is non-`nil', however, then
the ''region background'' is changed to a color that differs only
slightly from the frame background, making it easier to read the
completion candidates (see screenshots, above). The actual background color used is the value of
'''`icicle-region-background'''', which you can customize. If you make
this color the same as the frame background, then the region
background is, in effect, invisible.
The default value of `icicle-change-region-background-flag' is
determined by the current value of `delete-selection-mode', that
is, whether or not '''DeleteSelectionMode''' is enabled, when '''<tt>[[icicles.el]]</tt>''' is loaded. For this
reason, if you use Delete Selection mode and you want the region
background to change in the minibuffer, you should either turn on
Delete Selection mode ''before'' loading '''<tt>[[icicles.el]]</tt>''' or explicitly
customize `icicle-change-region-background-flag' to non-`nil'.
----
[:icicle-default-value]
==== Option icicle-default-value ====
User option '''`icicle-default-value'''' controls the treatment of a
default value for minibuffer input. This includes not only
functions that read input with ''completion'' (`completing-read',
`read-file-name'), but also other input-reading functions:
`read-from-minibuffer' and `read-string'. The default value of
`t' gives the vanilla Emacs behavior: `completing-read' adds the default input value to the prompt as a hint (but `read-file-name' does not). Non-`nil' and non-`t' means to automatically insert the
default input value into the minibuffer as the initial value. I prefer to have it inserted, as I often use the default value (perhaps editing it).
A value of `nil' neither inserts the default value nor adds it to the prompt.
If the value is `t' or `nil', remember that you can always
insert the default value manually with `M-n'. If the value is neither `t'
nor `nil', you can always use `M-p' to remove the default value from the minibuffer.
A non-`nil', non-`t' value of `icicle-default-value' controls also
whether or not the initial value is ''preselected'' and where to leave the ''cursor'': at the beginning or end
of the value. Preselecting the value can be useful in ''Delete
Selection'' mode or PC Selection mode, because it makes it easy to
replace that value by typing characters, or delete it by hitting
`DEL' (Backspace) or `C-d' (Delete). However, ''all'' of the
initial input is ''lost'' if you type or hit `C-d' or `DEL', which
is inconvenient if you want to edit it only slightly. See [[Icicles - Inserting Text from Cursor]].
----
[:icicle-thing-at-point-functions]
[:icicle-default-thing-insertion]
==== Options icicle-thing-at-point-functions, icicle-default-thing-insertion ====
User options '''`icicle-thing-at-point-functions'''' and '''`icicle-default-thing-insertion'''' control the behavior of '''`##M-.##'''' in the minibuffer, which grabs text from the current buffer and yanks it into the minibuffer. See [[Icicles - Inserting Text from Cursor]] and the [[doc string]] (`C-h v') of `icicle-thing-at-point-functions' for more information.
----
[:icicle-comint-dynamic-complete-replacements]
==== Option icicle-comint-dynamic-complete-replacements ====
User option '''`icicle-comint-dynamic-complete-replacements''''
specifies a list of function replacements for
`icicle-comint-dynamic-complete' to replace the functions in
`comint-dynamic-complete-functions'. You can use this to
provide '''Icicles''' completion for various modes that inherit from
ComintMode. By default, it treats Comint mode and ShellMode.
----
[:icicle-input-string]
==== Option icicle-input-string ====
User option '''`icicle-input-string'''' is a [[regexp]] string that is
inserted in the minibuffer when you use '''`C-=''''. See
[[Icicles - Inserting a Regexp from a Variable or Register]].
----
[:icicle-current-candidate-highlight] [:icicle-complete-input] [:icicle-match-highlight-minibuffer] [:icicle-match-highlight-Completions] [:icicle-common-match-highlight-Completions] [:icicle-saved-candidate]
==== Faces icicle-current-candidate-highlight, icicle-complete-input, icicle-match-highlight-minibuffer, icicle-match-highlight-Completions, icicle-common-match-highlight-Completions, icicle-saved-candidate ====
In buffer `*Completions*', face '''`icicle-saved-candidate''''
highlights candidates that have been saved, face '''`icicle-current-candidate-highlight'''' highlights the current
completion candidate, and, provided user option `<tt>[[#icicle-expand-input-to-common-match-flag]]</tt>' is non-`nil', face '''`icicle-common-match-highlight-Completions'''' highlights the [[Icicles - Expanded-Common-Match Completion|expanded common match]] among all completions. Faces '''`icicle-match-highlight-Completions'''' and '''`icicle-match-highlight-minibuffer''''
highlight whatever your input matches, in buffer `*Completions*' and in the minibuffer, respectively. In the minibuffer, face '''`icicle-complete-input'''' highlights your input when it is complete. You can customize these, as well as the other '''Icicles''' faces.
----
[:icicle-touche-pas-aux-menus-flag]
==== Option icicle-touche-pas-aux-menus-flag ====
Non-`nil' user option '''`icicle-touche-pas-aux-menus-flag'''' means
that '''Icicles''' will not add menu items to [[menu bar]] menus, except
for the '''Icicles''' and '''Minibuf''' menus. Default value `nil' means
that whenever an appropriate menu-bar menu exists, '''Icicles''' items
are added to it (when in ''Icicle'' mode). For example, if `nil', then '''Delete File''' is
added to the '''File''' menu; otherwise it is added to the '''Icicles'''
menu. The value of this option is used only when ''Icicle'' mode is initially
established, so changing it has no effect after '''Icicles''' has
been loaded. However, you can change it and save the new value,
so that it will be used next time. See [[Icicles - Nutshell View]] for more about the '''Icicles''' and '''Minibuf''' menus.
----
[:icicle-redefine-standard-commands-flag]
==== Option icicle-redefine-standard-commands-flag ====
User option '''`icicle-redefine-standard-commands-flag'''' controls
whether '''Icicles''' redefines some standard commands, enhancing them
to use '''Icicles''' completion. A non-`nil' value causes redefinition.
----
[:icicle-inhibit-advice-functions]
==== Option icicle-inhibit-advice-functions ====
Option '''`icicle-inhibit-advice-functions'''' is a list of functions
that '''Icicles''' redefines, and for which ''Icicle'' mode deactivates
the advice. The advice for each is reactivated when you leave
''Icicle'' mode. Generally, it is a bad idea to use advice with
functions that '''Icicles''' redefines, in particular minibuffer
functions. If you want to allow some such advice or prohibit
advice for additional functions, then customize this list.
Note: If you or a library you load advises one of these
functions while you are in ''Icicle'' mode, then toggle ''Icicle'' mode
twice, so that this option can have the proper effect.
----
[:icicle-apropos-cycle-next-keys]
[:icicle-apropos-cycle-previous-keys]
[:icicle-prefix-cycle-next-keys]
[:icicle-prefix-cycle-previous-keys]
[:icicle-apropos-cycle-next-action-keys]
[:icicle-apropos-cycle-previous-action-keys]
[:icicle-prefix-cycle-next-action-keys]
[:icicle-prefix-cycle-previous-action-keys]
[:icicle-apropos-cycle-next-alt-action-keys]
[:icicle-apropos-cycle-previous-alt-action-keys]
[:icicle-prefix-cycle-next-alt--action-keys]
[:icicle-prefix-cycle-previous-alt-action-keys]
[:icicle-apropos-cycle-next-help-keys]
[:icicle-apropos-cycle-previous-help-keys]
[:icicle-prefix-cycle-next-help-keys]
[:icicle-prefix-cycle-previous-help-keys]
==== Options icicle-(apropos|prefix)-cycle-(previous|next)(help|(-alt)-action)-keys ====
The following user options specify the [[key]]s to use for mode-specific
completion-candidate [[Icicles - Cycling Completions|cycling]] The default bindings are in parentheses.
* '''`icicle-apropos-cycle-next-keys'''' (`next')
* '''`icicle-apropos-cycle-previous-keys'''' (`prior')
* '''`icicle-prefix-cycle-next-keys'''' (`end')
* '''`icicle-prefix-cycle-previous-keys'''' (`home')
* '''`icicle-apropos-cycle-next-action-keys'''' (`C-next')
* '''`icicle-apropos-cycle-previous-action-keys'''' (`C-prior')
* '''`icicle-prefix-cycle-next-action-keys'''' (`C-end'
* '''`icicle-prefix-cycle-previous-action-keys'''' (`C-home')
* '''`icicle-apropos-cycle-next-alt-action-keys'''' (`C-S-next')
* '''`icicle-apropos-cycle-previous-alt-action-keys'''' (`C-S-prior')
* '''`icicle-prefix-cycle-next-alt-action-keys'''' (`C-S-end')
* '''`icicle-prefix-cycle-previous-alt-action-keys'''' (`C-S-home')
* '''`icicle-apropos-cycle-next-help-keys'''' (`C-M-next')
* '''`icicle-apropos-cycle-previous-help-keys'''' (`C-M-prior')
* '''`icicle-prefix-cycle-next-help-keys'''' (`C-M-end')
* '''`icicle-prefix-cycle-previous-help-keys'''' (`C-M-home')
----
[:icicle-modal-cycle-down-keys]
[:icicle-modal-cycle-up-keys]
[:icicle-modal-cycle-down-action-keys]
[:icicle-modal-cycle-up-action-keys]
[:icicle-modal-cycle-down-alt-action-keys]
[:icicle-modal-cycle-up-alt-action-keys]
[:icicle-modal-cycle-down-help-keys]
[:icicle-modal-cycle-up-help-keys]
==== Options icicle-modal-cycle-(down|up)(-help|(-alt)-action)-keys ====
The following user options specify the keys to use for [[Icicles - Cycling Completions|cycling]]
candidates according to the current completion mode. The
default bindings are in parentheses.
* '''`icicle-modal-cycle-down-keys'''' (`down')
* '''`icicle-modal-cycle-up-keys'''' (`up')
* '''`icicle-modal-cycle-down-action-keys'''' (`C-down')
* '''`icicle-modal-cycle-up-action-keys'''' (`C-up')
* '''`icicle-modal-cycle-down-alt-action-keys'''' (`C-S-down')
* '''`icicle-modal-cycle-up-alt-action-keys'''' (`C-S-up')
* '''`icicle-modal-cycle-down-help-keys'''' (`C-M-down')
* '''`icicle-modal-cycle-up-help-keys'''' (`C-M-up')
The completion mode, and hence the behavior of these keys, is
changed only when you hit `TAB' or `S-TAB' during completion: the
mode is [[prefix completion]] after `TAB' and [[apropos completion]]
after `S-TAB'.
Note: If your customizations of the modal and non-modal cycling
keys conflict, the non-modal values win. For example, if you
define both `icicle-modal-cycle-up-keys' and
`icicle-prefix-cycle-previous-keys' as the list ##([up])##, then
the `up' key will perform prefix cycling, not modal cycling.
----
[:icicle-default-cycling-mode]
==== Option icicle-default-cycling-mode ====
User option '''`icicle-default-cycling-mode'''' determines the
completion mode to be used before you hit `TAB' or `S-TAB'.
This affects only modal cycling -- e.g. using keys such as `down'
and `C-down'. Values:
* `prefix' (default) means cycle prefix completions
* `apropos' means cycle apropos completions
* other non-`nil' value means cycle inputs from the input history
* `nil' means do not cycle: you must first hit a completion key
For example, if the value is `apropos' then you can immediately
cycle apropos completions without first hitting `S-TAB'.
Once you have used `TAB' or `S-TAB', the only way to traverse
the input history is to use `M-p' and `M-n'.
----
==== Option icicle-cycle-into-subdirs-flag ====
See [[Icicles - File-Name Completion Tips#icicle-cycle-into-subdirs-flag|Icicles - File-Name Completion Tips]]
----
==== Option icicle-use-~-for-home-dir-flag ====
See [[Icicles - File-Name Completion Tips#icicle-use-tilde-for-home-dir-flag|Icicles - File-Name Completion Tips]]
----
[:icicle-word-completion-keys]
==== Option icicle-word-completion-keys ====
User option '''`icicle-word-completion-keys'''' is a list of keys to use for
word completion. By default, the only such key is `M-SPC'.
----
[:icicle-apropos-complete-no-display-keys]
[:icicle-prefix-complete-no-display-keys]
==== Options icicle-apropos-complete-no-display and `icicle-prefix-complete-no-display-keys' ====
User option '''`icicle-apropos-complete-no-display-keys'''' is a list
of keys to bind to `icicle-apropos-complete-no-display'. By
default, these keys are `C-M-S-tab' and `C-M-S-iso-lefttab',
which together implement `C-M-S-TAB'.
Similarly, '''`icicle-prefix-complete-no-display-keys'''' is the list
of keys for `icicle-prefix-complete-no-display'. By default, the only such
key is `C-M-tab'.
----
[:icicle-prefix-complete-keys]
==== Option icicle-prefix-complete-keys ====
Option '''`icicle-prefix-complete-keys'''' is the list of keys for
`icicle-prefix-complete'. By default, these keys are `tab' and
`C-i', which together implement `TAB'.
----
[:icicle-apropos-complete-keys]
==== Option icicle-apropos-complete-keys ====
Option '''`icicle-apropos-complete-keys'''' is
the list of keys to bind to `icicle-apropos-complete'. By default, these keys are `S-tab' and `S-iso-lefttab', which together implement `S-TAB'.
(In Emacs 22 and later, `backtab' is the canonical key that
represents both `S-tab' and `S-iso-lefttab', so that is used in
the default value.)
----
[:icicle-key-complete-keys]
==== Option icicle-key-complete-keys ====
Option `icicle-key-complete-keys' is the list of keys to bind to
`icicle-complete-keys'. By default, these keys are `S-tab' and
`S-iso-lefttab', which together implement `S-TAB'. (In Emacs 22
and later, `backtab' is the canonical key that represents both
`S-tab' and `S-iso-lefttab', so that is used in the default
value.)
----
[:icicle-previous-candidate-keys]
==== Option icicle-previous-candidate-keys ====
Option `icicle-previous-candidate-keys' is the list of keys to
bind to `icicle-move-to-previous-completion', for moving among
candidates in buffer `*Completions*'. By default, these
keys are `S-tab' and `S-iso-lefttab', which together implement
`S-TAB'. (In Emacs 22 and later, `backtab' is the canonical key
that represents both `S-tab' and `S-iso-lefttab', so that is
used in the default value.)
----
[:icicle-isearch-complete-keys]
==== Option icicle-isearch-complete-keys ====
Option '''`icicle-isearch-complete-keys'''' is the list of keys for
`icicle-isearch-complete'. By default, these keys are `M-TAB',
`##ESC TAB##', `C-M-TAB', and `M-o'.
----
[:icicle-read-insert-file-name-keys]
[:icicle-completing-read-insert-keys]
==== Options icicle-read+insert-file-name-keys, icicle-completing-read+insert-keys ====
Option '''`##icicle-read+insert-file-name-keys##'''' is the list of keys
for invoking file-name completion on demand. By default,
`C-M-S-f' is the only such key.
Option '''`##icicle-completing-read+insert-keys##'''' is the list of keys for
invoking non file-name completion on demand. By default,
`C-M-S-c' is the only such key.
See [[Icicles - Completion On Demand]].
----
[:icicle-act-before-cycle-flag]
==== Option icicle-act-before-cycle-flag ====
User option '''`icicle-act-before-cycle-flag'''' `nil' means that keys
such as `C-next', which combine candidate action and [[Icicles - Cycling Completions|cycling]],
cycle to the next (or previous) candidate and act on it.
Non-`nil' means they act on the current candidate and then cycle
to the next (or previous) candidate. When the value is `nil', you
can think of `C-next' as an operation on the next candidate.
When the value is non-`nil', you can think of `C-next' as an
operation on the current candidate, which ends by making the
next candidate current. Similarly for the other cycling keys
that act, alternative-act, or show help on a candidate The default value is `nil'. See also option
`<tt>[[#icicle-use-C-for-actions-flag]]</tt>', which changes the keys affected
by `icicle-act-before-cycle-flag'.
----
[:icicle-use-C-for-actions-flag]
==== Option icicle-use-C-for-actions-flag ====
If option '''`icicle-use-C-for-actions-flag'''' is `nil', then the keys
that [[Icicles - Cycling Completions|cycle]] candidates are swapped with the keys that both cycle and act on
a candidate. You can then use `down', `up', `next', `prior', `end', and `home'
to both cycle and act, and `C-down', `C-up', `C-next',
`C-prior', `C-end', and `C-home' to merely cycle, without acting (e.g. navigating).
The option has no effect on other keys. You can ''toggle'' this
option at any time using '''`M-g'''' (`icicle-toggle-C-for-actions')
in the minibuffer. See [[Icicles - More About Multi-Commands#icicle-use-C-for-actions-flag|More about Multi-Commands]].
The keys mentioned here are the default bindings. The actual
keys swapped are those defined by these user options:
* `<tt>[[#icicle-prefix-cycle-next-action-keys]]</tt>'
* `<tt>[[#icicle-prefix-cycle-previous-action-keys]]</tt>'
* `<tt>[[#icicle-apropos-cycle-next-action-keys]]</tt>'
* `<tt>[[#icicle-apropos-cycle-previous-action-keys]]</tt>'
* `<tt>[[#icicle-modal-cycle-down-action-keys]]</tt>'
* `<tt>[[#icicle-modal-cycle-up-action-keys]]</tt>'
* `<tt>[[#icicle-prefix-cycle-next-keys]]</tt>'
* `<tt>[[#icicle-prefix-cycle-previous-keys]]</tt>'
* `<tt>[[#icicle-apropos-cycle-next-keys]]</tt>'
* `<tt>[[#icicle-apropos-cycle-previous-keys]]</tt>'
* `<tt>[[#icicle-modal-cycle-down-keys]]</tt>'
* `<tt>[[#icicle-modal-cycle-up-keys]]</tt>'
----
[:icicle-top-level-when-sole-completion-delay]
[:icicle-top-level-when-sole-completion-flag]
==== Options icicle-top-level-when-sole-completion-delay, icicle-top-level-when-sole-completion-flag ====
Non-`nil' user option '''`icicle-top-level-when-sole-completion-flag'''' means that
whenever there is only one completion candidate that matches
your input, that candidate is used immediately, without
requiring you to hit `RET' or `S-RET'.
When `icicle-top-level-when-sole-completion-flag' is `nil', option
'''`icicle-top-level-when-sole-completion-delay'''' is the number of
seconds '''Icicles''' waits, before returning to top level with the
sole completion. (It has no effect if the flag is `nil'.) The
delay gives you a chance to forestall acceptance of the sole
completion: editing the completion (typing or deleting a
character) before the delay expires prevents its automatic
acceptance. The default value is 0 seconds (no delay).
----
[:icicle-TAB-shows-candidates-flag]
==== Option icicle-TAB-shows-candidates-flag ====
Non-`nil' user option '''`icicle-TAB-shows-candidates-flag'''' means
that hitting `TAB' for prefix completion immediately shows the
completion candidates in buffer `*Completions*'. If `nil', then
candidates are shown only after `TAB' is hit a second time,
which is the standard Emacs behavior. The default value is `t'. (Actually, the concerned keys are those defined by option
`<tt>[[#icicle-prefix-complete-keys]]</tt>', not necessarily `TAB'.)
----
[:icicle-max-candidates]
==== Option `icicle-max-candidates' ====
Non-`nil' option '''`icicle-max-candidates'''' means truncate the list of completion
candidates to at most this many. If you use library <tt>[[doremi.el]]</tt> then you can
use '''`C-x #'''' during completion to increment or decrement the
option value using the vertical arrow keys or the mouse wheel. A numeric prefix argument for `C-x #' sets the increment size. A plain prefix argument (`C-u') resets `icicle-max-candidates' to `nil', meaning no
truncation.
----
[:icicle-expand-input-to-common-match-flag]
==== Option icicle-expand-input-to-common-match-flag ====
Non-`nil' user option '''`icicle-expand-input-to-common-match-flag''''
means that completion commands `TAB' and `S-TAB' expand your minibuffer
input to (typically) the longest common substring common to all completion
candidates and that matches your (complete) input pattern. This ''replaces the input you typed''. If you want to edit your original, raw
input, use `C-l'. If your input has been expanded, then hit
`C-l' twice: once to replace a completion candidate (from, say,
`next') with the common match string, and a second time to
replace the common match string with your original input. The main reason you might want to set this to
`nil' is for apropos completion, if you want to always work with a
regexp in the minibuffer. You can ''toggle'' this option at any
time using '''`##C-;##'''' in the minibuffer. See [[Icicles - Expanded-Common-Match Completion]].
----
[:icicle-hide-common-match-in-Completions-flag]
==== Option icicle-hide-common-match-in-Completions-flag ====
Non-nil user option '''`icicle-hide-common-match-in-Completions-flag'''' hides the common match for your current input from each candidate in
`*Completions*'. You can toggle this at any time during
completion using '''`##C-x .##'''' (`icicle-toggle-hiding-common-match').
----
[:icicle-show-Completions-initially-flag]
==== Option icicle-show-Completions-initially-flag ====
User option '''`icicle-show-Completions-initially-flag'''' controls
whether or not buffer `*Completions*' is shown initially, without your
needing to hit `TAB' or `S-TAB' to show it. However, if
you type something before `<tt>[[#icicle-incremental-completion-delay]]</tt>',
then display is inhibited. The default value is `nil',
meaning that `*Completions*' is not shown until you hit `TAB' or `S-TAB'. More typical than setting this option to non-`nil' globally is to ''bind'' it to non-`nil' in EmacsLisp code, to display `*Completions*' as a ''menu''. For example, pass a non-`nil' binding to `icicle-define-command' to create a command that displays a multiple-choice menu.
For an alternative but similar behavior to using non-`nil' for
`icicle-show-Completions-initially-flag', you can set option
`<tt>[[#icicle-incremental-completion-flag]]</tt>' to a value that is neither
`nil' nor `t'. That displays `*Completions*' as soon as you type
or delete input, but not initially.
----
[:icicle-incremental-completion-flag]
==== Option icicle-incremental-completion-flag ====
User option '''`icicle-incremental-completion-flag'''' controls whether or not `*Completions*' is updated incrementally (icompletion) as you type.
You can ''toggle'' incremental completion at any time using '''`<tt>C-#</tt>''''. For more
information, see [[Icicles - Icompletion]].
----
[:icicle-incremental-completion-delay] [:icicle-incremental-completion-threshold]
==== Options icicle-incremental-completion-delay, icicle-incremental-completion-threshold ====
User options '''`icicle-incremental-completion-delay'''' and
'''`icicle-incremental-completion-threshold'''' together cause a delay
before incremental completion takes effect. See [[Icicles - Icompletion]].
----
[:icicle-Completions-display-min-input-chars]
==== Option icicle-Completions-display-min-input-chars ====
User option '''`icicle-Completions-display-min-input-chars'''' is the
minimum number of input characters that allow buffer
`*Completions*' to remain displayed. By default, this is zero
(0), meaning that any number of input characters, even none,
allows `*Completions*' to remain displayed. If you use
incremental completion (see options `<tt>[[#icicle-incremental-completion-delay|icicle-incremental-completion-*]]</tt>'),
and you are bothered by `*Completions*' being automatically
updated when, for instance, you empty the minibuffer, then you
might want to set this option to, say, 1 or 2. With a value of
2, for instance, whenever the minibuffer input has less than 2
characters, incremental completion will remove the `*Completions*'
[[window]]. You can also remove the `*Completions*' window at any
time using
'''`C-x 0'''' in the minibuffer.
----
[:icicle-show-Completions-help-flag]
[:icicle-Completions-instruction-1]
[:icicle-Completions-instruction-2]
==== Option icicle-show-Completions-help-flag, Faces icicle-Completions-instruction-1 and -2 ====
Non-`nil' option '''`icicle-show-Completions-help-flag'''' means display help
(instructions) at the top of the `*Completions*' window. These instructions are shown in faces '''`icicle-Completions-instruction-1'''' and '''`icicle-Completions-instruction-2''''.
----
[:icicle-help-in-mode-line-flag]
==== Option icicle-help-in-mode-line-flag ====
Non-`nil' option '''`icicle-help-in-mode-line-flag'''' means display
help on individual completion candidates in the [[mode line]] as you [[Icicles - Cycling Completions|cycle]] or your input is completed. The mode-line used is that of buffer `*Completions*', if
it is displayed, or the current buffer, otherwise. Typically,
this mode-line candidate help is the first line of a [[doc string]],
but alternative help is available.
----
[:icicle-mode-line-help]
==== Face icicle-mode-line-help ====
Face '''`icicle-mode-line-help'''' is used to highlight '''Icicles''' help
shown in the [[mode line]]. This includes that controlled by option `<tt>[[#icicle-help-in-mode-line-flag]]</tt>' and the indication in
`*Completions*' of the total number of matching candidates.
----
[:icicle-Completions-frame-at-right-flag]
==== Option icicle-Completions-frame-at-right-flag ====
User option '''`icicle-Completions-frame-at-right-flag'''' controls
whether `icicle-candidate-action' moves the frame showing buffer
`*Completions*' to the right, out of the way of other frames.
This can be useful if you use one-buffer-per-frame (non-`nil'
`pop-up-frames'). In that case, I recommend that you also try my
library '''<tt>[[oneonone.el]]</tt>'''. See [[Icicles - pop-up-frames on MS Windows]] for more advice about
non-`nil' `pop-up-frames'.
----
[:icicle-Completions-window-max-height]
==== Option icicle-Completions-window-max-height ====
User option '''`icicle-Completions-window-max-height'''' is the
maximum height of the `*Completions*' window, in [[line]]s. The
window is fit to the buffer size, with this as maximum height.
This is not used if `*Completions*' is a [[special display buffer]] with its
own frame, and it is not used in Emacs releases prior to 21.
----
[:icicle-Completions-text-scale-decrease]
==== Option icicle-Completions-text-scale-decrease ====
Starting with Emacs 23, you can use option
'''`icicle-Completions-text-scale-decrease'''' to change the size of
the text used in buffer `*Completions*'.
----
[:icicle-candidate-width-factor]
==== Option icicle-candidate-width-factor ====
User option '''`icicle-candidate-width-factor'''' controls how many
columns of completion candidates are displayed in `*Completions*'.
The widest current candidate is scaled by this percentage, and
the window width is divided by that figure. Other things are
taken into account also, but this gives you a way to tweak the
number of columns: the larger this number, the fewer the
columns.
If you use '''DoReMi''' (library <tt>[[doremi.el]]</tt>), then you can modify
`icicle-candidate-width-factor' incrementally during completion,
seeing the effect as it changes. Use '''`C-x w'''' from the
minibuffer, then use the `right' and `left' arrow keys or the
mouse wheel to increment and decrement the value. You can at the same time use the `up' and `down' keys to adjust the value of `<tt>[[#icicle-inter-candidates-min-spaces]]</tt>'. WYSIWYG.
----
[:icicle-inter-candidates-min-spaces]
==== Option icicle-inter-candidates-min-spaces ====
User option '''`icicle-inter-candidates-min-spaces'''' is the minimum
number of spaces between candidates displayed in `*Completions*'.
The default value is one space.
If you use '''DoReMi''' (library <tt>[[doremi.el]]</tt>), then you can modify
`icicle-inter-candidates-min-spaces' incrementally during completion,
seeing the effect as it changes. Use '''`##C-x |##'''' from the
minibuffer, then use the `up' and `down' arrow keys or the
mouse wheel to increment and decrement the value. You can at the same time use the `left' and `right' keys to adjust the value of `<tt>[[#icicle-candidate-width-factor]]</tt>'. WYSIWYG.
----
[:icicle-completions-format]
==== Option icicle-completions-format ====
Option '''`icicle-completions-format'''' controls whether candidates
displayed in `*Completions*' are laid out horizontally (the
default) or vertically. Set the value to `vertical' for the
latter. Starting with Emacs 23.2, you can just use the vanilla
option `completions-format' for this, if you want the same type
of layout with ''Icicle'' mode turned on or off.
[[multi-completion|Multi-completions]] often involve complex, multi-line text for
which a vertical `*Completions*' layout is not appropriate. For
this reason, when multi-line multi-completions are used the
layout is horizontal, temporarily ''overriding'' any `vertical'
value for `icicle-completions-format' or`completions-format'.
If you need to override this override behavior for some command,
use `icicle-minibuffer-setup-hook' and `minibuffer-exit-hook' to
temporarily set and reset the internal variable
`icicle-completions-format-internal'.
----
[:icicle-historical-candidate]
[:icicle-highlight-historical-candidates-flag]
==== Option icicle-highlight-historical-candidates-flag, Face icicle-historical-candidate ====
Face '''`icicle-historical-candidate'''' is used to highlight
completion candidates that you have used (entered with `RET')
previously. This highlighting is controlled by user option
'''`icicle-highlight-historical-candidates-flag''''. You can ''toggle''
this option from the minibuffer at any time using '''`C-pause''''.
See [[Icicles - History Enhancements]].
----
[:icicle-menu-items-to-history-flag]
==== Option icicle-menu-items-to-history-flag ====
If option '''`icicle-menu-items-to-history-flag'''' is non-`nil' (the
default), then commands that you invoke using the [[menu bar]] menu
are included in the command history for `M-x'.
----
[:icicle-populate-interactive-history-flag]
==== Option icicle-populate-interactive-history-flag ====
Non-`nil' option '''`icicle-populate-interactive-history-flag'''' means
that any interactive use of a [[command]] causes it to be added to
the history '''`icicle-interactive-history''''. You can access this
history by using '''`C-M-pause'''' during completion. Be aware that
addition of all interactive invocations to this history can slow
Emacs down. (This option is only available starting with Emacs
23.)
----
[:icicle-sort-comparer]
==== Option icicle-sort-comparer ====
User option '''`icicle-sort-comparer'''' controls the ''order of
completion candidates'' during [[Icicles - Cycling Completions|cycling]]and in buffer `*Completions*'.
If `nil', then no sorting is done. If non-`nil', then the value must be a
string-comparison function -- the function is passed to the
standard function `sort' to do the sorting. The default value for `icicle-sort-comparer' is `icicle-case-string-less-p',
which sorts alphabetically, possibly ignoring letter case. During completion, you can ''toggle''
sorting using '''`##C-,##''''. If
you are an Emacs-Lisp programmer and you write new commands using
'''Icicles''' functionalities, you can bind this variable temporarily to
any sort function you need. See [[Icicles - Sorting Candidates]].
----
[:icicle-alternative-sort-comparer]
==== Option icicle-alternative-sort-comparer ====
User option '''`icicle-alternative-sort-comparer'''' is an alternative
to `<tt>[[#icicle-sort-comparer]]</tt>', providing a different sort order. By
default, it is `icicle-historical-alphabetic-p', a function that
sorts previously used completion candidates before candidates
that have not yet been used, and sorts alphabetically within
each of these groups of candidates. In other words, it places
inputs that you have used previously at the top of buffer
`*Completions*' and makes them available for completion first. During completion, you can ''toggle'' normal and alternative sorting
using '''`##M-,##''''. See also `<tt>[[Icicles - History Enhancements#icicle-toggle-alternative-sorting|toggle-alternative-sorting]]</tt>' and [[Icicles - Sorting Candidates]].
----
[:icicle-change-sort-order-completion-flag]
==== Option icicle-change-sort-order-completion-flag ====
User option '''`icicle-change-sort-order-completion-flag'''' specifies whether `##C-,##' cycles among available sort orders or lets you choose a sort order using '''Icicles''' completion. Non-`nil' means to use completion; `nil' (the default value) means to cycle. You can override the current setting at any time by using `##C-u C-,##'. See [[Icicles - Sorting Candidates]].
----
[:icicle-sort-orders-alist]
==== Option icicle-sort-orders-alist ====
User option `icicle-sort-orders-alist' is an [[alist]] of possible
sort orders for user to choose from using `##C-,##' or `##M-,##'. See
[[Icicles - Sorting Candidates]].
----
[:icicle-transform-function]
==== Option icicle-transform-function ====
The value of user option '''`icicle-transform-function'''' is a
function that is applied to the list of completion candidates,
to transform them before they are presented to the user. If
`nil', then no transformation is done. The default transformation
is to ''remove duplicate candidates'', when transformation is
active, but the default value of this option is `nil'. You can
''toggle'' transformation at any time using command
`icicle-toggle-transformation', bound to '''`##C-$##'''' in the
minibuffer. Although this is a user option, you probably do
'''''not''''' want to change its value by customizing it. '''Icicles''' commands already "do
the right thing" when it comes to candidate transformation.
The value of this option can be changed by program locally, for use
in particular contexts. For example, when you use `##C-c `##'
(`icicle-search-generic') in a `*shell*' buffer, '''Icicles''' uses this
variable with a value of `icicle-remove-duplicates', to remove
duplicate shell commands from your input history list. Lisp
programmers can use this variable to transform the list of
candidates in any way they like. A typical use is to remove
duplicates, by binding it to `icicle-remove-duplicates' or
`icicle-remove-dups-if-extras'.
----
[:icicle-require-match-flag]
[:icicle-buffer-require-match-flag]
[:icicle-file-require-match-flag]
==== Options icicle-require-match-flag, icicle-buffer-require-match-flag ====
User options '''`icicle-require-match-flag'''',
'''`icicle-buffer-require-match-flag'''', and '''`icicle-file-require-match-flag'''' let you override the value of
the `REQUIRE-MATCH' argument provided to `completing-read' or
`read-file-name'. They are provided mainly for use (binding) in
`icicle-define-command' and `icicle-define-file-command', but
you may also use them globally, if you wish. A typical use is made in the definition of command
`icicle-buffer': `icicle-buffer-require-match-flag' is used to
bind `icicle-require-match-flag', so that you can, for example,
match only existing buffers and be able to match on partial
input without explicitly completing (hitting `TAB' or `S-TAB').
Simply set the option to `partial-match-ok' to get this
behavior. To apropos-complete and exit the minibuffer, use
`S-RET' instead of `RET'. See [[Icicles - S-RET]].
----
[:icicle-ignore-space-prefix-flag]
==== Option icicle-ignore-space-prefix-flag ====
Non-`nil' user option '''`icicle-ignore-space-prefix-flag'''' means to
ignore completion candidates that start with a space. However,
such candidates are ''not'' ignored for ''prefix'' completion if the
input also starts with a space. Naturally, apropos completion
is not affected by whether or not the input starts with a space.
----
[:icicle-buffer-ignore-space-prefix-flag]
==== Option icicle-buffer-ignore-space-prefix-flag ====
User option '''`icicle-buffer-ignore-space-prefix-flag'''' lets you
override the value of `<tt>[[#icicle-ignore-space-prefix-flag]]</tt>' for use
with buffer-name completion (the names of internal buffers start
with a space). It is provided mainly for binding when using
`icicle-define-command' (`icicle-buffer' does this).
You can ''toggle'' `<tt>[[#icicle-ignore-space-prefix-flag]]</tt>' at any time
using '''`##M-_##'''' in the minibuffer. If the current command binds
this option locally, then it is the local, not the global, value
that is changed. For example, if
`icicle-buffer-ignore-space-prefix-flag' is non-`nil', then `##M-_##'
toggles `<tt>[[#icicle-ignore-space-prefix-flag]]</tt>' to `nil' only for the
duration of the buffer command (e.g. `icicle-buffer').
----
[:icicle-test-for-remote-files-flag]
==== Option icicle-test-for-remote-files-flag ====
Non-`nil' user option '''`icicle-test-for-remote-files-flag'''' means
that '''Icicles''' tests for remote file names; `nil' means that it does
not. You can ''toggle'' this using `##C-^##' in the minibuffer (except
during '''Icicles''' search). Turning off remote file-name testing means that you ''cannot use remote files with Tramp''; it disables
Tramp's remote file-name handling and completion. This can, for ''local files'', slightly speed up [[Icicles - Icompletion|incremental completion]]
and the highlighting of the part of your current input that does
not complete (see `<tt>[[#icicle-highlight-input-completion-failure]]</tt>').
----
[:icicle-regexp-quote-flag]
==== Option icicle-regexp-quote-flag ====
Non-`nil' user option '''`icicle-regexp-quote-flag'''' reduces apropos
completion to simple ''substring completion'' and '''Icicles''' regexp
search to ''literal search''. Regexp [[Icicles - Special Characters in Input Patterns|special characters]] are no longer recognized as special in this case;
they simply match themselves. You probably do ''not'' want to
customize this option. Instead, you can ''toggle'' it at any time
using '''`##C-`##'''' in the minibuffer.
----
[:icicle-command-abbrev-match-all-parts-flag]
[:icicle-command-abbrev-priority-flag]
[:icicle-command-abbrev-alist]
==== Options icicle-command-abbrev-match-all-parts-flag, icicle-command-abbrev-priority-flag, icicle-command-abbrev-alist ====
User options '''`icicle-command-abbrev-match-all-parts-flag'''',
'''`icicle-command-abbrev-priority-flag'''', and
'''`icicle-command-abbrev-alist'''' control the behavior of
multi-command `icicle-command-abbrev' ('''`C-x SPC''''). The first
determines whether an abbreviation must match all parts of a
command name. The second controls whether command names or
abbreviations take precedence in case of conflict. The third is
the persistent list of your command abbreviations.
----
[:icicle-S-TAB-completion-methods-alist]
[:icicle-TAB-completion-methods]
[:icicle-next-S-TAB-completion-method]
[:icicle-next-TAB-completion-method]
==== Options icicle-S-TAB-completion-methods-alist and icicle-TAB-completion-methods ====
User options '''`icicle-S-TAB-completion-methods-alist'''' and
'''`icicle-TAB-completion-methods'''' control which completion method
is used by `S-TAB' and `TAB', respectively, to complete your input. By default,
the first method in each list is used for matching. You can use '''`##M-(##'''' and '''`##C-(##'''' (commands `icicle-next-S-TAB-completion-method' and `icicle-next-TAB-completion-method') in the minibuffer to cycle
among the `S-TAB' and `TAB' methods. See [[Icicles - Fuzzy Completion#icicle-S-TAB-completion-methods-alist|Icicles - Fuzzy Completion]].
For fuzzy completion (choice `fuzzy' when cycling with `##C-(##'),
`TAB' completes non-filename input using fuzzy prefix matching
as defined in library <tt>[[fuzzy-match.el]]</tt>. See the Commentary in
##fuzzy-match.el## for details about fuzzy matching.
Fuzzy completion is not available for file-name completion; it
is always case-sensitive; leading spaces are taken into