bug#25674: Support for subfiles in `reftex-TeX-master-file'

2017-02-13 Thread Arash Esbati
Tassilo Horn writes: > Arash Esbati writes: > >> @Tassilo: Can please apply this patch to Emacs master? TIA. > > Done! Thanks, I close this one then. Best, Arash ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinf

bug#25674: Support for subfiles in `reftex-TeX-master-file'

2017-02-13 Thread Tassilo Horn
Arash Esbati writes: > @Tassilo: Can please apply this patch to Emacs master? TIA. Done! Bye, Tassilo ___ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex

bug#25674: Support for subfiles in `reftex-TeX-master-file'

2017-02-13 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2017-02-10 9:48 GMT+01:00 Arash Esbati : >> >> I think the regexp can be reduced to >> >> --8<---cut here---start->8--- >> (re-search-forward >> "^[[:space:]]*documentclass\\[\\([^]]+\\)\\]{subfiles

bug#25674: Support for subfiles in `reftex-TeX-master-file'

2017-02-12 Thread Mosè Giordano
Hi Arash, 2017-02-10 9:48 GMT+01:00 Arash Esbati : > Hi all, > > the function `reftex-TeX-master-file' in `reftex.el' has support for > subfiles package, but I think the regexp there does not match all > cases. Please consider a main file "subfile-main.tex" and a sub-file > "subfile-sub1.tex" lik

bug#25674: Support for subfiles in `reftex-TeX-master-file'

2017-02-10 Thread Arash Esbati
Hi all, the function `reftex-TeX-master-file' in `reftex.el' has support for subfiles package, but I think the regexp there does not match all cases. Please consider a main file "subfile-main.tex" and a sub-file "subfile-sub1.tex" like these: --8<---cut here---start--