Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Win10 + Emacs 25.* how to configure Server Client mode

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about Win10 + Emacs 25.* how to configure Server Client mode, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Configure emacs to start in server mode

In the emacs directory, copy the shortcut to runemacs.exe, then right-click Properties, fill in the following in the target bar, and replace% EMACS% with the path to your machine. % EMACS_HOME%/bin / runemacs.exe-- daemon, double-click the shortcut to start emacs as daemon.

Add emacs to boot self-boot

Type shell:startup in the start-> run box and drag the shortcut to the newly opened window.

Configure to implement client shortcuts

Copy the shortcut to emacsw.exe and enter the following value in target,% EMACS_HOME%/bin/emacsclientw.exe-n-a "% EMACS_HOME%/bin/runemacs.exe"-c-n, and replace% EMACS_HOME% with the path of your environment. For convenience, you can send this shortcut to your desktop or other location.

Add to right-click menu

Configure right to use emacs to open

Open the registry editor, create a new key,key name Edit with Emacs under HKEY_CLASSES_ROOT\ *\ shell, then create a new key,key named command under Edit with Emacs, and then add C:\ emacs\ bin\ emacsclientw.exe-n-a "C:\ emacs\ bin\ runemacs.exe"-c-n "% 1" to the value of Default under command. Then you can add the menu opened with emacs in the right button.

Note: if emacs does not start in daemon mode, or manual startup fails, delete the server file under emacs.d/server under the HOME path, because after starting in server mode, the corresponding client connection information will be generated here. If emacs exits abnormally, this server file may exist, causing emacs to fail to start.

The above is Win10 + Emacs 25.* how to configure Server Client mode. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report