Tassilo Horn writes: > Arash Esbati writes: > >> The is due to the second regexp in `reftex-label-regexps'. Please >> find attached a patch fixing this issue. Any comments welcome. > > Pushed to emacs master. Thanks a lot! Hi Tassilo, many thanks for installing the patch. Unfortunately, my last patch wasn't good enough since I forgot that the ctable package provides a macro and not an environment. The patch attached fixes this issue. This patch hardcodes the search to the environments/macro provided by the packages "listings", "breqn" and "ctable". I think this change is acceptable; any other envs/macros can be added easily by the user and/or AUCTeX styles. Best, Arash