Uwe Brauer <[email protected]> writes: > So honestly I don't understand really what Arash wants to implement > in addition to that feature.
Arash wants to implement in-buffer completion for \ref like macros where one get a list of available labels incl. the context. AUCTeX sets the variable `TeX-complete-list' which caters this list of completion when invoked inside a \ref macro:
With my change, the list is enhanced with the context gathered from RefTeX and it looks like this:
Note that it all happens in the file buffer and not in a RefTeX selection buffer. Best, Arash
