Skip to main content



Emacs Chinese-related Settings

·1 min
Auto Switch Input Method in Evil #This setting makes it possible to switch input method based on the context of cursor when entering insert mode. sis #I’m using sis package with this configuration. You may need to install macism if you’re not using railwaycat/emacsmacport.


C-m, RET and Return Key in Emacs

·2 mins
I use Emacs to write blog. In the recent update, I found M-RET no longer behave as leader key in org mode, but behave as org-meta-return. And even more strange is that in other mode, it behave as leader key. And M-RET also works in terminal in org mode.


Preview LaTeX in Org Mode with Emacs in MacOS

·1 min
Using the right Emacs Version #I failed to preview LaTeX with emacs-plus. If you have installed d12frosted/emacs-plus, uninstall it and use emacs-mac. brew tap railwaycat/emacsmacport brew install emacs-mac If you like the fancy spacemacs icon, install it with cask: brew cask install emacs-mac-spacemacs-icon