~ubuntu-branches/debian/lenny/ecb/lenny

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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
<html lang="en">
<head>
<title>ECB - the Emacs Code Browser</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name=description content="ECB - the Emacs Code Browser">
<meta name=generator content="makeinfo 4.2">
<link href="http://www.gnu.org/software/texinfo/" rel=generator-home>
</head>
<body>
<p>
Node:<a name="Interactive%20ECB%20commands">Interactive ECB commands</a>,
Previous:<a rel=previous accesskey=p href="ECB-window-synchronizing.html#ECB-window%20synchronizing">ECB-window synchronizing</a>,
Up:<a rel=up accesskey=u href="Usage-of-ECB.html#Usage%20of%20ECB">Usage of ECB</a>
<hr><br>

<h3>Interactive ECB commands</h3>

<p>ECB offers a lot of interactive commands. Some of these commands
prompt the user in the minibuffer if called with a prefix argument.

<p>Example: If <code>ecb-clear-history</code> is called with a prefix argument
then you will be prompted in the minibuffer with:

<br><pre>Clear from history: [all, not-existing-buffers, existing-buffers]
</pre>

<p>You can choose one of the options enclosed in brackets with
TAB-completion; hitting RET direct after the prompt chooses auto. the
first offered option (in the example above "all").

<p><strong>Please note</strong>: The following interactive commands of ECB are
listed without the prefix "ecb-" (e.g. the command
<code>ecb-activate</code> is listed with name "activate"). This has been
done for a better readable command index. See <a href="Command-Index.html#Command%20Index">Command Index</a>.

<p>
<table width="100%">
<tr>
<td align="left"><b>activate</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Activates ECB and creates the special buffers for the choosen layout. 
For the layout see <code>ecb-layout-name</code>. This function raises always
the ECB-frame if called from another frame. This is the same as
calling <code>ecb-minor-mode</code> with a positive argument. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>add-all-buffers-to-history</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Add all current file-buffers to the history-buffer of ECB. If
<code>ecb-sort-history-items</code> is not nil then afterwards the history
is sorted alphabetically. Otherwise the most recently used buffers are
on the top of the history and the seldom used buffers at the bottom. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>change-layout</b><i> &amp;optional preselect-type
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Select a layout-name from all current available layouts
(TAB-completion is offered) and change the layout to the selected
layout-name. If optional argument PRESELECT-TYPE is not nil then you
can preselect a layout-type \(TAB-completion is offered too) and then
you will be asked only for layouts of that preselected type. Note:
This function works by changing the option <code>ecb-layout-name</code> but
only for current Emacs-session. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>clear-history</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Clears the history-buffer. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>customize</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Open a customize-buffer for all customize-groups of ECB. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>customize-most-important</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Open a customize-buffer for the most important options of ECB. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>create-new-layout</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Start process for interactively creating a new ECB-layout
(see <a href="Creating-a-new-ECB-layout.html#Creating%20a%20new%20ECB-layout">Creating a new ECB-layout</a>). 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>cycle-maximized-ecb-buffers</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Cycles through all ecb-buffers of current layout by maximizing exactly
one of the ecb-windows after every cycle-step. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>cycle-through-compilation-buffers</b><i> &amp;optional choose-buffer
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Cycle through all compilation buffers currently open and display them
within the compilation window <code>ecb-compile-window</code>. If the
currently opened buffer within the compilation window is not a
compilation buffer, we jump to the first compilation buffer. If not we
try to loop through all compilation buffers. If we hit the end we go
back to the beginning.

<p>If <var>CHOOSE-BUFFER</var> is not <code>nil</code> then the user will be
prompted for the compilation-buffer to switch to. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>deactivate</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Deactivates the ECB and kills all ECB buffers and windows. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>delete-new-layout</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Select a layout-name for a layout created by
<code>ecb-create-new-layout</code> and delete this layout. This means the
layout-definition is removed from the file
<code>ecb-create-layout-file</code> and the layout-function and associated
aliases are unbound. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>display-news-for-upgrade</b><i> &amp;optional FULL-NEWS
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Display the most important NEWS after an ECB-upgrade. If you call this
function but no ECB-upgrade has been performed before starting ECB
then nothing is display unless <var>FULL-NEWS</var> is not nil.

<p>If <var>FULL-NEWS</var> is not nil then the NEWS-file is displayed in
another window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>display-upgraded-options</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Display a message-buffer which options have been upgraded or reset. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>download-ecb</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Download ECB from the ECB-website and install it. For this the option
<code>ecb-download-url</code> must be set correct, whereas the default value of
this option should always be correct.

<p>If <code>ecb-download-package-version-type</code> is set to -1 (means asking
for a version) then you will be ask in the minibuffer for the version
to download. Otherwise ECB downloads autom. the latest version
available for the type specified in
<code>ecb-download-package-version-type</code>. If no newer version than the
current one is available no download will be done.

<p>For details about downloading and what requirements must be satisfied
see function <code>ecb-package-download</code> and option
<code>ecb-download-package-version-type</code>!

<p>After successful downloading the new ECB will be installed in a
subdirectory of <code>ecb-download-install-parent-dir</code>. After adding
this subdirectory to <code>load-path</code> and restarting Emacs the new ECB
version can be activated by <code>ecb-activate</code>.

<p>If current running ECB is installed as regular XEmacs-package and not
with the archive available at the ECB website then this function asks
for proceeding! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>download-semantic</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Download semantic from the semantic-website and install it. For this
the variable <code>ecb-cedet-url</code> must be set correct,
whereas the default value of this variable should always be correct.

<p>If <code>ecb-download-package-version-type</code> is set to -1 (means asking
for a version) then you will be ask in the minibuffer for the version
to download. Otherwise ECB downloads autom. the latest version
available for the type specified in
<code>ecb-download-package-version-type</code>. If no newer version than the
current one is available no download will be done.

<p>For details about downloading and what requirements must be satisfied
see function <code>ecb-package-download</code> and option
<code>ecb-download-package-version-type</code>!

<p>After successful downloading the new semantic will be installed in a
subdirectory of <code>ecb-download-install-parent-dir</code>. After adding
this new subdirectory to <code>load-path</code> and restarting Emacs the new
semantic version is loaded and is used after next start of ECB.

<p>If current running semantic is installed as regular XEmacs-package and
not with the archive available at the semantic website then this
function asks for proceeding! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>expand-methods-nodes</b><i> &amp;optional force-all
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Set the expand level of the nodes in the ECB-methods-buffer.

<p>This command asks in the minibuffer for an indentation level LEVEL. With this
LEVEL you can precisely specify which level of nodes should be expanded. LEVEL
means the indentation-level of the nodes.

<p>A LEVEL value X means that all nodes with an indentation-level &lt;= X are
expanded and all other are collapsed. A negative LEVEL value means all visible
nodes are collapsed.

<p>Nodes which are not indented have indentation-level 0!

<p>Which node-types are expanded (rsp. collapsed) by this command
depends on the options <code>ecb-methods-nodes-expand-spec</code> and
<code>ecb-methods-nodes-collapse-spec</code>! With optional argument
<var>FORCE-ALL</var> all tags will be expanded/collapsed regardless of
the values of these options.

<p>Examples:
<ul>
<li>LEVEL = 0
expands only nodes which have no indentation itself. 
<li>LEVEL = 2
expands nodes which are either not indented or indented indented once
or twice
<li>LEVEL ~ 10
should normally expand all nodes expect there are nodes which are
indented deeper than 10. 
</ul>

<p>Note 1: This command switches off auto. expanding of the method-buffer
if <code>ecb-expand-methods-switch-off-auto-expand</code> is not nil. But it
can be switched on again quickly with
<code>ecb-toggle-auto-expand-tag-tree</code> or <kbd>[C-c . a]</kbd>.

<p>Note 2: All this is only valid for file-types parsed by semantic. For
other file types which are parsed by imenu or etags (see
<code>ecb-process-non-semantic-files</code>) <var>FORCE-ALL</var> is always true! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>eshell-current-buffer-sync</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Synchronize the eshell with the directory of current source-buffer. 
This is only done if the eshell is currently visible in the
compile-window of ECB and if either this function is called
interactively or <code>ecb-eshell-synchronize</code> is not nil. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>eshell-recenter</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Recenter the eshell window so that the prompt is at the buffer-end. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>expand-directory-nodes</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Set the expand level of the nodes in the ECB-directories-buffer. For
argument LEVEL see <code>ecb-expand-methods-nodes</code>.

<p>Be aware that for deep structured paths and a lot of source-paths this
command can last a long time - depending of machine- and
disk-performance. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-compilation</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Goto the ecb compilation window <code>ecb-compile-window</code>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-directories</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the ECB-directories window the current window. If
<code>ecb-use-speedbar-instead-native-tree-buffer</code> is <code>dir</code> then
goto to the speedbar-window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-edit1</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the (first) edit-window window the current window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-edit2</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the second edit-window (if available) window the current window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-edit-last</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the last selected edit-window window the current window. This is
the same as if <code>ecb-mouse-click-destination</code> is set to
<code>last-point</code>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-history</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the ECB-history window the current window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-methods</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the ECB-methods window the current window. If
<code>ecb-use-speedbar-instead-native-tree-buffer</code> is <code>method</code>
then goto to the speedbar-window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>goto-window-sources</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Make the ECB-sources window the current window. If
<code>ecb-use-speedbar-instead-native-tree-buffer</code> is <code>source</code>
then goto to the speedbar-window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>history-filter</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Apply a filter to the history-buffer to reduce the number of entries. 
So you get a better overlooking. There are three choices:

<ul>
<li>Filter by extension:
Just insert the extension you want the History-buffer being filtered. 
Insert the extension without leading dot!

<li>Filter by regexp:
Insert the filter as regular expression.

<li>No filter:
This means to display an entry for all currently living file-buffers. 
</ul>
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>jde-display-class-at-point</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Display in the ECB-methods-buffer the contents (methods, attributes
etc...) of the class which contains the definition of the "thing"
under point (this can be a variable-name, class-name, method-name,
attribute-name). This function needs the same requirements to work as
the method-completion feature of JDEE (see
<code>jde-complete</code>)!. The source-file is searched first in
<code>jde-sourcepath</code>, then in <code>jde-global-classpath</code>, then in
<var>$CLASSPATH</var>, then in current-directory.

<p>Works only for classes where the source-code (i.e. the *.java-file) is
available. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>maximize-window-directories</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Maximize the ECB-directories-window, i.e. delete all other
ECB-windows, so only one ECB-window and the edit-window(s) are visible
(and maybe a compile-window). Works also if the ECB-directories-window
is not visible in current layout. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>maximize-window-sources</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Maximize the ECB-sources-window, i.e. delete all other ECB-windows, so
only one ECB-window and the edit-window(s) are visible (and maybe a
compile-window). Works also if the ECB-sources-window is not visible
in current layout. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>maximize-window-methods</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Maximize the ECB-methods-window, i.e. delete all other ECB-windows, so
only one ECB-window and the edit-window(s) are visible (and maybe a
compile-window). Works also if the ECB-methods-window is not visible
in current layout. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>maximize-window-history</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Maximize the ECB-history-window, i.e. delete all other ECB-windows, so
only one ECB-window and the edit-window(s) are visible (and maybe a
compile-window). Works also if the ECB-history-window is not visible
in current layout. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>maximize-window-speedbar</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Maximize the ECB-speedbar-window, i.e. delete all other ECB-windows,
so only one ECB-window and the edit-window(s) are visible (and maybe a
compile-window). Does nothing if the speedbar-window is not visible
within the ECB-frame. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>minor-mode</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle ECB minor mode. With prefix argument <var>ARG</var>, turn on if
positive, otherwise off. Return non-<code>nil</code> if the minor mode is
enabled. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>nav-goto-previous</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Go backward in the navigation history-list, see <a href="Back-forward-navigation.html#Back%2fforward%20navigation">Back/forward navigation</a>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>nav-goto-next</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Go forward in the navigation history-list, see <a href="Back-forward-navigation.html#Back%2fforward%20navigation">Back/forward navigation</a>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>rebuild-methods-buffer</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Updates the methods buffer with the current buffer after deleting the
complete previous parser-information, means no semantic-cache is used! 
Point must stay in an edit-window otherwise nothing is done. This
method is merely needed for semantic parsed buffers if semantic parses
not the whole buffer because it reaches a not parse-able code or for
buffers not supported by semantic but by imenu or etags.

<p>Examples when a call to this function can be necessary:

<ul>
<li>If an Elisp-file is parsed which contains in the middle a defun X
where the closing ) is missing then semantic parses only until this
defun X is reached and you will get an incomplete ECB-method buffer. 
In such a case you must complete the defun X and then call this
function to completely reparse the Elisp-file and rebuild the ECB
method buffer!

<li>For not semantic supported buffers which can be parsed by imenu or
etags (see <code>ecb-process-non-semantic-files</code>) because for these
buffers there is no built-in auto-rebuild mechanism. For these buffers
this command calls <code>ecb-rebuild-methods-buffer-for-non-semantic</code>. 
</ul>

<p>For non-semantic-sources supported by etags the option
<code>ecb-auto-save-before-etags-methods-rebuild</code> is checked before
rescanning the source-buffer and rebuilding the methods-buffer.

<p>If point is in one of the ecb-windows or in the compile-window then
this command rebuids the methods-buffer with the contents of the
source-buffer the last selected edit-window. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>redraw-layout</b><i> &amp;optional ARG
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Redraw the ECB screen.

<p>Do not call this command from elisp-program but only interactively!

<p>Called without a prefix-argument the state of the ECB-frame-layout
will preserved. This means:

<ul>
<li>The state of compile-window (hidden or visible) will be preserved but
if visible then the height will be as specified in
<code>ecb-compile-window-height</code>.

<li>The state of the ECB-windows will be preserved (hidden or visible) but
if visible then the sizes will be as specified in the layout (and with
the options <code>ecb-windows-width</code> and <code>ecb-windows-height</code>) or
as stored with <code>ecb-store-window-sizes</code>. 
</ul>

<p>If called with ONE prefix-argument (<kbd>[C-u]</kbd>) then the layout will
be drawn with all ECB-windows and also with a visible compile-window
(when <code>ecb-compile-window-height</code> is not nil). The
splitting-state of the edit-area will be preserved.

<p>If called with TWO prefix-arguments (i.e. hitting <kbd>[C-u]</kbd> twice:
(<kbd>[C-u]</kbd> <kbd>[C-u]</kbd>) then an emergency-redraw will be performed. 
This means the same as if called with one prefix-argument (s.a.) but
the splitting-state of the edit-area will NOT be preserved but all
edit-windows besides the current one will be deleted. Use this only if
there are some anomalies after standard redraws!

<p>If the variable <code>ecb-redraw-layout-quickly</code> is not nil then the
redraw is done by the <code>ecb-redraw-layout-quickly</code> function,
otherwise by <code>ecb-redraw-layout-full</code>.

<p>Please not: It's strongly recommended to use the quick redraw only if
you have really slow machines where a full redraw takes several
seconds because the quick redraw is not really safe and has some
annoying drawbacks! On normal machines the full redraw should be done
in &lt;&lt; 1s so there should be no need for the quick version! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>restore-default-window-sizes</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Resets the sizes of the ECB windows to their default values. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>restore-window-sizes</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Sets the sizes of the ECB windows to their stored values. See option
<code>ecb-layout-window-sizes</code> and command
<code>ecb-store-window-sizes</code>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>select-ecb-frame</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Selects the <code>ecb-frame</code> if ECB is activated - otherwise reports
an error. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>show-help</b><i> &amp;optional format
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Shows the online help of ECB either in Info or in HTML format
depending of the value of <code>ecb-show-help-format</code>. If called with
prefix argument, i.e. if <var>FORMAT</var> is not nil then the user is
prompted to choose the format of the help (Info or HTML). If an error
about not finding the needed help-file occurs please take a look at
the options <code>ecb-help-info-start-file</code> and
<code>ecb-help-html-start-file</code>!

<p>Note: If you got ECB as a standard XEmacs-package maybe the
HTML-online-documentation is not included. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>show-layout-help</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Select a name of a layout and shows the documentation of the
associated layout-function. At least for the built-in layouts the
documentation contains a picture of the outline of the chosen layout. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>show-tip-of-the-day</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Show tip of the day if <code>ecb-tip-of-the-day</code> is not nil or if
called interactively. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>sources-filter</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Apply a filter to the sources-buffer to reduce the number of entries. 
So you get a better overlooking. There are three choices:

<ul>
<li>Filter by extension:
Just insert the extension you want the Sources-buffer being filtered. 
Insert the extension without leading dot!

<li>Filter by regexp:
Insert the filter as regular expression.

<li>No filter:
This means to display an entry for every file in the current selected
directory (all except these filter already filtered out by
<code>ecb-source-file-regexps</code> and
<code>ecb-sources-exclude-cvsignore</code>). 
</ul>

<p>Such a filter is only applied to the current selected directory, i.e. each
directory has its own filtered sources-buffer. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>store-window-sizes</b><i> &amp;optional fix
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Stores the sizes of the ECB windows for the current layout. The size
of the ECB windows will be set to their stored values when
<code>ecb-redraw-layout</code> or <code>ecb-restore-window-sizes</code> is called. 
To reset the window sizes to their default values call
<code>ecb-restore-default-window-sizes</code>. Please read also the
documentation of <code>ecb-layout-window-sizes</code>!

<p>The windows sizes are stored per default as fractions of current
frame-width and -height of the ecb-frame, so the stored values will
"work" for other frame sizes too. But if <var>FIX</var> is not nil (means
called with a prefix argument) then the fixed values of current width
and height are stored! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>submit-problem-report</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Submit a problem report for the ECB to the ECB mailing-list. This
command generates in the edit-window a problem-report which contains
already the current values of all ECB options, the current
backtrace-buffer if there is any and the current message-buffer. You
will be asked for a problem-report subject and then you must insert a
description of the problem. Please describe the problem as detailed as
possible! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-auto-expand-tag-tree</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle auto expanding of the ECB-methods-buffer. With prefix argument
<var>ARG</var>, make switch on if positive, otherwise switch off. If the
effect is that auto-expanding is switched off then the current value
of <code>ecb-auto-expand-tag-tree</code> is saved so it can be used for
the next switch on by this command. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-compile-window</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle the visibility of the compile-window of ECB. With prefix
argument ARG, make visible if positive, otherwise invisible. The
height of the compile-window is always the current value of
<code>ecb-compile-window-height</code>! If called and
<code>ecb-compile-window-height</code> is nil then ECB asks for the height
of the compile-window, sets this height as new value of
<code>ecb-compile-window-height</code> and displays the compile-window (so
if you have called this command by mistake and you do not want a
compile-window you have to quit with &lt;C-g&gt;). 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-compile-window-height</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle whether the <code>ecb-compile-window</code> is enlarged or not. If
<var>ARG</var> &gt; 0 then shrink or enlarge the the compile-window according
to the value of <code>ecb-enlarged-compilation-window-max-height</code>. But
never shrink below the value of <code>ecb-compile-window-height</code>. If
<var>ARG</var> &lt;= 0 then shrink <code>ecb-compile-window</code> to
<code>ecb-compile-window-height</code> and if <var>ARG</var> is nil then toggle
the enlarge-state. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-ecb-windows</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle visibility of the ECB-windows. With prefix argument <var>ARG</var>,
make visible if positive, otherwise invisible. This has nothing to do
with (de)activating ECB but only affects the visibility of the ECB
windows. ECB minor mode remains active! 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-layout</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggles between the layouts defined in
<code>ecb-toggle-layout-sequence</code> (See also option
<code>ecb-show-sources-in-directories-buffer</code>). Note: This function
works by changing the options <code>ecb-layout-name</code> but only for
current Emacs-session. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-scroll-other-window-scrolls-compile</b><i> &amp;optional ARG
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle the state of
<code>ecb-scroll-other-window-scrolls-compile-window</code>. With prefix
argument <var>ARG</var>, set it to <code>t</code>, otherwise to <code>nil</code>. For
all details about the scroll-behavior of <code>scroll-other-window</code>
see the advice documentation of <code>other-window-for-scrolling</code>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>toggle-window-sync</b><i> &amp;optional arg
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Toggle auto synchronizing of the ECB-windows. With prefix argument
<var>ARG</var>, switch on if positive, otherwise switch off. If the effect
is that auto-synchronizing is switched off then the current value of
the option <code>ecb-window-sync</code> is saved so it can be used for the
next switch on by this command. See also the option
<code>ecb-window-sync</code>. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>update-directories-buffer</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Updates the ECB directories buffer. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>upgrade-options</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Check for all ECB-options if their current value is compatible to the
defined type. If not upgrade it to the new type or reset it to the
default-value of current ECB. Try also to upgrade renamed options. 
Displays all upgraded or reset options with their old (before the
upgrade/reset) and new values. 
</td></tr>
</table>

<p>
<table width="100%">
<tr>
<td align="left"><b>window-sync</b><i>
</i></td>
<td align="right">Command</td>
</tr>
</table>
<table width="95%" align="center">
<tr><td>
Synchronizes all special ECB-buffers with current buffer.

<p>Depending on the contents of current buffer this command performs different
synchronizing tasks but only if ECB is active and point stays in an
edit-window.

<ul>
<li>If current buffer is a file-buffer then all special ECB-tree-buffers are
synchronized with current buffer.

<li>If current buffer is a dired-buffer then the directory- and
the sources-tree-buffer are synchronized if visible
</ul>

<p>In addition to this the hooks in <code>ecb-current-buffer-sync-hook</code>
run. 
</td></tr>
</table>

<p>Most of these functions are also available via the menu "ECB" and
also via the ECB key-map with prefix <kbd>C-c .</kbd> (see
<code>ecb-minor-mode</code> for a complete list of the keybindings).

</body></html>