Re: [AUCTeX] Help with getting AUCTeX to parse my personal *.sty files for macros?

2018-01-15 Thread gojjoe
Hi Brian, that's great. Happy AUCTeXing! J On 2018-01-16 05:38, Brian Merchant wrote: > Hi J, > > Generating the .el files for my own .sty files, and making sure they were in > the write auto folder worked for me. See this question's answer for details: > https://tex.stackexchange.com/questions

Re: [AUCTeX] Help with getting AUCTeX to parse my personal *.sty files for macros?

2018-01-15 Thread gojjoe
PS: It's also good if you visit your own .sty files with Emacs, ensure that you're in LaTeX-mode, and issue a C-u C-c C-n there too, so their corresponding style (.el) files will be created. Also, style .el files for your personal packages (.sty) sometimes need to be tweaked by hand to ensure

Re: [AUCTeX] Help with getting AUCTeX to parse my personal *.sty files for macros?

2018-01-15 Thread gojjoe
Hi Brian, The help for "TeX-parse-self" says "Parse file after loading it if no style hook is found for it". Is it possible that an old style file (.el) already exists for your file and therefore no reparsing is done? This happens to me from time to time. Try typing C-u C-c C-n while you're

Re: [AUCTeX] Help with getting AUCTeX to parse my personal *.sty files for macros?

2018-01-15 Thread Brian Merchant
Hi J, I have AUCTeX 12.1.0 and Emacs 25.3.1, with spacemacs on top. I tried out your suggestion (setq TeX-macro-private (quote ("./" "c:/Users/LilMonkey/texmf/tex/latex/local/"))), but no luck :( Can you explain what you mean by "set all those variables via customize"? Do you mean using M-x cust