Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I can use process-name to get the name of the process, but can I change the name after starting it? I looked in the manual, and even in the source and haven't found anything that seems like it would do this.

like image 665
Michael Hoffman Avatar asked Jun 24 '11 23:06

Michael Hoffman


1 Answers

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

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

like image 99
Thomas Avatar answered Nov 09 '22 21:11

Thomas