Massimo Lauria <[email protected]> writes: Hi Massimo,
> When AUCTeX creates LaTeX buffers anhd files with `TeX-region-create' > it uses the function `find-file-noselect', which is wrong since it > triggers all modes and hooks that should not be triggered in such a > case. What's the alternative? Since it compares the contents of the old region file with the new region, there's no way not to find the old region file. But hooks and stuff could be omitted by using the RAWFILE argument of `find-file-noselect'. Oh, but then the buffer is unibyte and you run into problems if you region contains multibyte chars... Ok, so now I disabled the major-mode search, local variables, and find-file hooks when finding the region file. That should hopefully work for you. Bye, Tassilo _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
