[cedet-semantic] Confusion about semanticdb-find-default-throttle
Brought to you by:
zappo
From: Bruce S. <bru...@ce...> - 2005-02-08 23:53:11
|
If I understand things correctly (and I almost certainly don't), semanticdb-find-default-throttle is mixing two quite different kinds of setting: `file' - The file the search is being performed from. This option is here for completeness only, and is assumed to always be on. `local' - Tables from the same local directory are included. This includes files directly referenced by a file name which might be in a different directory. `project' - Tables from the same local project are included If `project' is specified, then `local' is assumed. `unloaded' - If a table is not in memory, load it. If it is not cached on disk either, get the source, parse it, and create the table. `system' - Tables from system databases. These are specifically tables from system header files, or language equivalent. `recursive' - For include based searches, includes tables referenced by included files. `omniscience' - Included system databases which are omniscience, or somehow know everything. Omniscience databases are found in `semanticdb-project-system-databases'. The Emacs Lisp system DB is an omniscience database. file, local, project, system, and recursive seem to be about what tables will be searched for a tag, but doesn't say that they'll be loaded (so if they're somehow already loaded then they'll be searched, but otherwise they won't). (By "searched", I really mean this tooltips thing that shows function prototypes when you leave point alone for long enough; I'm sure there are other kinds of search, but I can never seem to remember how to get to them.) And unloaded and omniscience indicate how tables might be loaded, if they haven't already been. (Maybe not omniscience, but unloaded is surely that.) Presuming that's right, why isn't unloaded a separate flag? And why isn't it two separate flags (one for automatically loading cached tables, and one for parsing if necessary)? |