Solving a magit issue with Emacs 26.3

Some point after my Emacs was upgraded to 26.3, I started seeing errors whenever I try to open file from git repository (i.e. directories with .git subdirectory). The error was annoying as it prevented me from opening files. So I dig a little into the error and found out that it was from magit (the package that deals with git stuff). The error was caused by wrong argument number provided to function magit-turn-on-auto-revert-mode-if-desired: ...

December 18, 2019 · 2 min · Ping Zhou

Run Emacs Server on MacOS

Ok, I’ve been using Emacs for a long time and my Emacs config file is getting bigger and more complex. Emacs is a powerful tool, but it can take longer time to start up with a big config file. However, I want Emacs to be my go-to editor instead of just a heavy-weight IDE. I want to use Emacs when I want to quickly edit something (like “vim <something>” or “nano <something>”). How do I do that with Emacs? ...

August 27, 2019 · 2 min · Ping Zhou

How to Run GUI Application in Windows Subsystem for Linux (WSL)

Install WSL Basically you need to turn on WSL in Program Features. Refer to this document for the steps: https://docs.microsoft.com/en-us/windows/wsl/install-win10 Install Linux distribution in WSL Refer to same document for steps. I installed Ubuntu but there are other distributions available. https://docs.microsoft.com/en-us/windows/wsl/install-win10 Install Dependencies GUI applications may have additional dependencies (libraries, etc). An easy way to install proper libraries is by installing some GUI programs, which will automatically resolve and install needed libraries. For example: ...

August 10, 2019 · 2 min · Ping Zhou

Easy Web Hosting on Alibaba Cloud – Simple Application Server + HTTPS Setup

I’ve been thinking about creating a personal website for a while, and finally I put it into action! There are lots of ways to host a personal website on Alibaba Cloud, just like you will expect from other cloud providers. I picked Simple Application Server which is pretty much a lightweight virtual machine instance with pre-installed configurations (WordPress, Apache, etc). This gives me flexibility of a VM instance, but saves me from the initial setup. A good balance between their Web Hosting and Elastic Computing Service (ECS) in my opinion. ...

July 29, 2019 · 4 min · Ping Zhou