Hi Paul, >>>>> "Paul D. Nelson" <[email protected]> writes: > Making RefTeX work well with non-file buffers always seemed to me like a > major undertaking. The commands
> ;; reftex-add-index-macros > ;; reftex-add-section-levels > ;; reftex-add-label-environments > ;; reftex-scanning-info-available-p > ;; reftex-access-parse-file > ;; reftex-access-scan-info > ;; reftex-ref-style-list > ;; reftex-ref-style-toggle > ;; reftex-set-cite-format > each call reftex-tie-multifile-symbols, which in turn calls > reftex-TeX-master-file, which fails (with a hard landing) in a non-file > buffer for which TeX-master has not been set to a tex file. Is `reftex-TeX-master-file' the only source of RefTeX non-file buffer difficulties? If so, I expect there is a possibility that we can amend it so that RefTeX would not stumble in non-file buffer. For example, `TeX-master-file' returns "<none>.tex" if it can't find a sensible master file. What if we implement similar fallback for `reftex-TeX-master-file'? Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
