In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
How to analyze and compare the original Emacs of Windows and the GUI version of Wsl2, I believe that many inexperienced people are at a loss about this. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
After using the original Emacs of windows for more than three months, see the 11 steps of Emacs27.1 on Windows. Finally, I have no choice but to use wsl2-gui-emacs.
First, the only reason for giving up love
The most important reason is that the windows version does not support Symbolic link. Heavy daily use of dired, do not support the establishment of soft connections, and eventually give up, other aspects seem to be bearable.
For example, if the above hyperlink to bookmarks is established, an error will be reported.
Symlink: 'cVERGARX UsersGOGOGUGUSERGUSERVE .doom.dmax bookmarks' to' c UsersGARGUSAGUSEGUSEGUSEGUSGUOGUOWeiGOUSEGUSEGARGUSAGOUSERGUSEGUSEGUOGUOGARGUSERVER: (file-error Making symbolic link Operation not permitted c:/Users/gaowei/.doom.d/bookmark)
At the same time, all the symbolic-link in the linux directory is invalid, which leads to the incomplete bookmarks of my navigation map (there are all kinds of link sets of link). If you continue to use this version, it is almost inevitable to give up all the conveniences provided by linux in wsl2-terminal and no longer use wsl2.
This is the only reason, and I do not know if it can be solved. The other comparisons below are nonsense.
2. No real Terminal is available
Eshell is available, but it is often not very smart. Sometimes when recording Linux lessons, there are often some glitches, which add unnecessary workload to the following clips.
Therefore, to record linux video, you have to go back to wsl2's terminal. As long as you go back to Linux, you have to face the problem of symbolic-link. As a result of this problem, windows and Linux are always separate systems in the computer and cannot work together.
It is also because there is no real terminal, can not install vterm, such as ntop can not be used, such as want to record a htop video traffic, it is almost impossible.
Other nonsense, such as only bash,zsh can not be used.
However, this is not the core contradiction, although there is no terminal, but day-to-day applications can bear.
Third, the part with normal function
Org-babel,org-agenda and so on are at a normal level, so I won't mention it here.
Fourth, favorite part (wsl2-gui version cannot be implemented)
The favorite part is to press the async-shell-comand key from dired and directly call the windows program to open the file, such as open pdf.
This is a real async, and no matter how much you mess with emacs, the open program will continue to run without interference.
This cannot be achieved in the wsl2-gui version because linux's graphics program is called. As a compromise, I can only open the wsl2-terminal version and specialize in opening certain files with windows programs.
The last point is the problem of thinking at the bottom.
With the windows version, there is always a "worried" devil hidden in the bottom of my heart. No matter what happens, I will be trembling and wonder if the Windows version does not support it. Almost in the repressed atmosphere, secretly using linux, the mind and body are difficult to stretch.
The trivial problem is that you need to switch thoughts between Linux and windows frequently.
But in wsl2-gui-emacs, under the skin of a virtual machine called wsl2, linux stretched out thousands of hands and took full control of windows.
In view of this, wsl2-gui-emacs was used in the end.
After reading the above, do you know how to analyze and compare the original Emacs of Windows and the GUI version of Wsl2? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.