branch: externals/auctex-label-numbers commit 92d855b4efb9d1ecc478bbd247d2c7eab083bca7 Author: Paul Nelson <ultr...@gmail.com> Commit: Paul Nelson <ultr...@gmail.com>
Add note of externaldocument shortcoming --- auctex-label-numbers.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auctex-label-numbers.el b/auctex-label-numbers.el index 1b294ec832..bef6813e91 100644 --- a/auctex-label-numbers.el +++ b/auctex-label-numbers.el @@ -73,6 +73,9 @@ return the corresponding label number as a string, or nil if that number cannot be retrieved." :type '(choice (const :tag "Default" nil) function)) +;; FIXME: we don't properly handle the optional arguments to +;; \externaldocument, i.e., prefixes for labels. + (defconst auctex-label-numbers--external-document-regexp "\\\\external\\(?:cite\\)?document\\(?:\\[[^]]+\\]\\)\\{0,2\\}{\\([^}]+\\)}")