I've just installed ecb-2.27 on my GNU Emacs 21.3, and I obviously need to
set up ecb-source-path before I can use ECB.
The info page "Setq or Customize - what should I use?" states, rather
> The best way to customize all the options of ECB is via the
> customize-feature of (X)Emacs, i.e. means calling the commands
> `customize-option' or `customize-group' etc. This is also the strongly
> recommended way.
My list of source directories came from "# find . -type d > directories.txt",
and is of a length I would rather not admit to online. ;-) If I have to
enter each one of them individually into "customize-option"'s point-and-click
interface, then ECB is sadly not the right tool for me. :-(
Obviously, I need to massage my "directories.txt" into something which will be
the right-hand-side of a `setq', then load-file this when I start ECB.
Looking at C-h v ecb-source-path sadly gives no clue as to what form the
list of directories should take. Is it simply a Lisp list? Or a list of
dotted pairs (DIRECTORY . ALIAS)? Or something else?
Now I can enter a few directories by hand in `customize-group', save these
settings, then look at my .emacs to see what the format is. But I think it
would be better if ECB's Info pages dealt with this situation (a very large
number of source directories), and ecb-source-path's doc-string actually
described the format of ecb-source-path's value.
[A cc of follow-ups to <acm@...> would be much appreciated.]
Alan Mackenzie (Motorola, Munich, Germany)
Get latest updates about Open Source Projects, Conferences and News.