reddit / emacs

Is emacs works well with Windows?

[deleted] · 2022-05-24 21:03
MitchellMarquez42 · 2022-05-24 21:33
Not "works well", but works okayish. Startup is slower. Scrolling (especially down) causes flashing redraws. Things like org-export that require external Unix tools are broken unless you install them. But it works and it's better than notepad...
HM0880 · 2022-05-24 22:47
I use [1] to get a very Unix-y experience on Windows; [1] even has `pdf-tools` for PDF viewing on Windows! I have the following saved in `emacs.bat`; set the path as-needed. rem To run on WindowsOS. rem Set the HOME directory to be one level up from the .emacs.d rem directory to match the Unix file structure. rem Use the -Q flag to open Emacs with no config loaded and go rem directly to the *scratch* buffer. set HOME=..\..\ ..\..\bin\emax64\bin\runemacs.exe --debug-init [1] https://github.com/m-parashar/emax64/releases
berenddeboer · 2022-05-24 23:59
It's a long time ago I used Emacs on Windows, but it worked perfectly fine at that time.
fufaka · 2022-05-25 00:21
Completely agreed on the Unix tools. Even `eshell` loses its mind when dealing with Windows `find`. The shell started behaving itself when I switched to running Emacs in cygwin. Unfortunately when in cygwin some modes get confused about path syntax which is a little different from both Windows and Unix. If your setup is pretty vanilla though I think cygwin is the best.
harunokashiwa · 2022-05-25 00:55
> Scrolling (especially down) causes flashing redraws. Fixed in emacs 29 > Emacs now supports double-buffering on MS-Windows to reduce display flicker.(This was supported on Free systems since Emacs 26.1.) https://github.com/emacs-mirror/emacs/blob/c77ef7d193cfba2e06846012abeb684e37d228a9/etc/NEWS#L2234-L2247
MitchellMarquez42 · 2022-05-25 01:35
Good to know, thanks! Still on 28 because I didn't want to bother compiling...
rwilcox · 2022-05-25 02:42
To me Windows support was the thing that got me using Emacs. The joke is that Emacs is a bad text editor but a great OS.. and I needed a unified OS between Win, Linux and Mac. I was on Win7 at the time but wanted to use Unix tools like ls and pipes etc. Eshell implements enough of that stuff so the basics work. Because I really did not want to install Cygwin or whatever it is now. I can use Elisp to extend the editor if I want to hack up commands that call Powershell nonsense. Anyway, works great. Execute external program stuff works great, although you may find yourself fighting with which way the / or \ s go. *BUT* I was mostly using Emacs as a Markdown/PlantUML/Graphviz/very light coding editor, so YMMV.
worthless-trash · 2022-05-25 02:45
thanks mate! thats the first time ive seen that repo. I think it needs a bit more awareness.
HM0880 · 2022-05-25 03:19
You're welcome! The great thing is that repo doesn't need Cygwin, WSL, etc. Took me a while to figure out that batch file, so I'm happy to share. (Also setting up PDF tools took some time; I'm happy to share my config for that too.)
Horrih · 2022-05-25 06:00
The vanilla emacs experience is decent. If you factor in packages + your work PC antivirus it gets really slow/unusable for some use cases like magit
schnirz · 2022-05-25 06:22
I use emacs on Windows at work. Okayish sums it up well. Everything is a bit slower, not having Unix tools limits functionality, magit is sensationally slow (this is more of a git on Windows thing than an emacs issue). Still better than any alternative.
[deleted] · 2022-05-25 09:14
For me Vim is better because more fast i think.
_viz_ · 2022-05-25 09:56
Doesn't a recent git update make magit (git) noticeably faster in windows?
veer66 · 2022-05-25 10:32
Yes, it is.
schnirz · 2022-05-25 13:14
It does, but I still sigh a breath of relief when I get back to my personal Linux machine at home.
unix_hacker · 2022-05-25 14:23
It works well, but an even better experience may be Emacs on WSLv2: https://docs.microsoft.com/en-us/windows/wsl/install
oantolin · 2022-05-25 15:10
> not having Unix tools limits functionality I solve this by simply installing them on Windows. I've found I really only need `find`, `grep`, some compression programs and a spell checker.
jcs090218 · 2022-06-04 08:17
From my 7 years experience with Emacs, many packages are broken (does not support Windows) or with bad UX. It sucks comparing to Emacs in Linux but better than Notpad in Windows. What do you say?