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

核能气质少年 提交于 2019-12-10 13:22:16

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/6474803/emacs-can-i-change-the-name-of-a-started-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!