Timeline for Taking action depending on the presence of particular message in the echo area
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 25, 2016 at 21:43 | answer | added | giordano | timeline score: 2 | |
Oct 24, 2016 at 10:05 | comment | added | giordano |
I agree with other comments above, it's better not to read the echo area. You may want to define your own sentinel. Take a look to TeX-LaTeX-sentinel . After you define you're own sentinel function, set TeX-sentinel-default-function to the name of that function in LaTeX buffers.
|
|
Oct 24, 2016 at 5:50 | comment | added | lawlist | To learn more about process filters, see the related section in the manual: gnu.org/software/emacs/manual/html_node/elisp/… | |
Oct 24, 2016 at 5:44 | comment | added | lawlist |
You should not be listening to the echo area, but instead be listening to the process running in the background using a process filter. There are already process filters in existence with AUCTex. Unfortunately, that library is so darn complex, you need a forum participant like Giordano to guide you further. I use my own function with start-process that calls latexmk.pl and have my own process filter without using AUCTeX, so for me it would be a lot easier because I have just one filter and I know right were it is. To get a head start, look for the process filters in AUCTeX.
|
|
Oct 24, 2016 at 5:43 | comment | added | JeanPierre |
Perhaps by advising the message function? But I would try to get the information from elsewhere.
|
|
Oct 24, 2016 at 5:19 | history | asked | Name | CC BY-SA 3.0 |