Emacs: can I change the name of the process started?

I can use process-name to get the process name, but can I change the name after it starts? I looked in the manual and even in the source and did not find anything like that he would do it.

+5
process emacs elisp
source share
1 answer

There is only one line in the source file of Emacs process.c , where p->name set for process p , and this is in the make_process function. All other functions simply read this value, they never (re) set it. So the answer to your question seems to be no.

You could, of course, try to implement your own function, which changes the name of the process. See here for more information.

+4
source share

Source: https://habr.com/ru/post/650653/


All Articles