Tassilo Horn <[email protected]> writes: >>> ;; The stuff only expert users of a package will use >>> (when (TeX-include-advanced-macros/envs "this-style") >>> (TeX-add-symbols ...) >>> (LaTeX-add-environments ...)) >>> >>> Does that sound reasonable to anyone? If noone objects, I'll >>> implement it that way. >> >> Your suggestion looks good to me, I didn't manage to come up with a >> better solution. > > Ok, I've implemented that. I also added docs to the manual, both for > users as well as for style file authors. > > In contrast to the above, I've decided to name the variable/predicate > "TeX-add-" instead of "TeX-include-". > > So Mads, now I'm happy to accept all your patches that add missing > macros/environments, but please wrap those that can be identified as > "rarely used/useful" or "only for experts" by looking at the docs like > so: > > (when (TeX-add-advanced-macros/envs-p "packagename") > (TeX-add-symbols ...) > (LaTeX-add-environments ...))
Uh, that interface does not seem to offer restrained completion (where some commands are offered for completion only when no "ordinary" commands fit completion any more). Worse, it does nothing for making restrained completion implementable at a latter point of time. -- David Kastrup _______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
