Questions tagged «gui»

3
Emacsclient:从启动开始一直一直只有一个emacs进程,永远不会关闭,更好地隐藏GUI
由于emacsclient可以适当地处理较长的程序包加载时间,因此我真的想保留至少一个emacs进程,并且大多数时候只保留一个emacs进程,作为后台进程打开并更好地隐藏GUI。 现在,我在.bashrc中定义了以下函数: emc () { if [[ $# -eq 0 ]]; then emacs --eval "(suspend-frame)" & return fi args=($*); setsid emacsclient -c -e "(find-file \"${args[*]}\")" } 在.bashrc中也有以下行: emc 因此,每次打开外壳程序时,我都会遇到一个新的emacs进程。 问题是打开许多外壳后,我将有许多其他不必要的emacs进程。但是,我只希望在启动后一直保持一个emacs进程更好,更好地隐藏GUI。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.