Part of pida.editors.emacs.emacs View In Hierarchy
Emacs editor callback behaviours. Communication with Emacs process is handled by EmacsClient in the pIDA->Emacs way, and EmacsServer the other way. On occurence of a message, EmacsServer extracts a request name and arguments, and then tries to invoke the matching method on the EmacsCallback object. Callbacks' names are built with the Emacs message names, prefixed with 'cb_'. Each callback accepts exactly one argument.
Line # | Kind | Name | Docs |
---|---|---|---|
193 | Method | __init__ | Constructor. |
199 | Method | connect | Establish the link with Emacs. |
203 | Method | cb_pida_pong | Emacs response to a ping. |
212 | Method | cb_window_configuration_change_hook | Buffer changed event. |
230 | Method | cb_kill_buffer_hook | Buffer closed event. |
238 | Method | cb_find_file_hooks | File opened event. |
246 | Method | cb_after_save_hook | Buffer saved event. |
252 | Method | cb_kill_emacs_hook | Emacs killed event. |
This message is used to test connection at startup.