I’ve hacked an i3 script which realized one of my long time desires – swap workspaces on dual monitors. For example, I have Firefox on my laptop monitor and Emacs on the external monitor. After pressing some keyboard shortcut, Emacs is placed on the laptop monitor and Firefox is moved to the external monitor.
Monthly Archives: August 2014
Leave a reply
i3: 对换两个显示器上的工作区
最近用 i3 实现了一个在我脑中转了很久的念头――对换两个显示器上的工作区。比如:Firefox 在笔记本显示器上,Emacs 在外接显示器上,按一个快捷键,将 Emacs 放到笔记本显示器上,将 Firefox 放到外接显示器上。
Emacs: org-html-export returns org-html-fontify-code: Wrong number of arguments…
A few days ago, for no reason (for fun, maybe), I cloned the Github mirror of Emacs and built a latest Emacs. I also removed my old Emacs (I was silly, I blame Melbourne’s weather :D). Many subtle problems occurred since then, for example, executing org-html-export-as-html
often causes the following error:
org-html-fontify-code: Wrong number of arguments: #[(_beg _end) "À " [font-lock-fontify-buffer] 1], 0
emacs-moz-controller: View Page Source
I’ve added a new functionality to emacs-moz-controller: with some simple configurations, you can press C-c m u
in Emacs to view the source of the current Firefox page.
Emacs: org-html-export 时出现 org-html-fontify-code: Wrong number of arguments…
前几天心血来潮,克隆了 Emacs 的 Github 镜像,自己编译了一个最新的 Emacs。而且非常无脑地把原来的 Emacs 删掉了。自此,各种小问题层出不穷,比如 org-html-export-as-html
时,经常会出现:
org-html-fontify-code: Wrong number of arguments: #[(_beg _end) "À " [font-lock-fontify-buffer] 1], 0