Well, together with the LX5 my wife also get me a Microsoft Natural Ergonomic Keyboard 4000. There’s nothing wrong with my old Dell keyboad and/or the BTC 9019URF wireless keyboard. It is my wrist. With more and more typing, I began to feel the pain of RSI so I decided to give this famous […]
¶
Posted 30 August 2007
§
freebsd
‡
I really enjoy the sudo-save.el. It makes editing files owned by root quite smoothly on a local machine.
However with the recent update of sudo to 1.6.9 in the ports tree, it print a “last login time” message every time. And breaks sudo-save.el. I didn’t find time yesterday and portdowngrade to 1.8.2.
Thanks to the explaination Makoto […]
I know ee is the default editor on FreeBSD, but never use it. The first thing I got a Unix machine is to compile Emacs on it.
However on the FreeBSD cluster I don’t want to waste the resource. So I’ll need to find some replacement. Jed is not available either. The good thing is, ee […]
¶
Posted 06 January 2007
§
freebsd
‡
Like many console people I’ve set w3m as my man pager, i.e,
alias man=’TERM=xterm LC_ALL= w3mman’
when w3m is available.
However, there’s one thing bother me alot: whenever I quit the man page (from console, not within Emacs), w3m asks if I really want to quit. This is borthing.
So I finially turns myself to the document today. And […]
¶
Posted 04 December 2006
§
freebsd
‡
When updating www/mod_scgi to 1.11 today, I found the variable USE_APACHE could use version numbers.
However, after placing it in my /etc/make.conf to replace the old WITH_APACHE2, I got an error message whenever I install a port:
Max recursion level (500) exceeded.: Resource temporarily unavailable
After some googling I found this variable should be used internal only, that […]
¶
Posted 23 August 2006
§
freebsd
‡
One of the extension I use is Copy URL +. However on my FreeBSD it doesn’t work very good: it always add some “undefined” in the copied string.
Checking the code and I found when this extension checks the navigator.platform to see if “\r”, “\n”, o “\r\n” should be used in unction eol(), it doesn’t take […]
I’m a man living in Emacs and I’ve used to use type-break to remind me to take a typing break:
;; type-break is causing trouble in batch mode
(if (not noninteractive)
(progn
;;;; Emacs reminds me to take typing breaks.
(require ‘type-break)
;; How often I should take breaks, in seconds.
(setq type-break-interval (* 60 60))
;; I’m busy, 5 minutes break […]
Well Firefox is a web browser only and it doesn’t come with a mail client, so it will call the system default mailer to handle “mailto:” links.
It is hard to say how to define the system default mailer. It’s different according to your OS: On windows they use registry, in the Unix world it depends […]
interactive shows which line is on. Useful when there’s no Emacs and gud.el
Share This
I can use xev to see what key I just pressed. Also the Emacs
C-h k runs the command describe-key
which is an interactive compiled Lisp function in `help’.
It is bound to C-h k, <f1> k, <help> k, <menu-bar> <help-menu> <describe> <describe-key>, <menu-bar> <help-menu> <describe> <describe-key-1>.
(describe-key key &optional untranslated up-event)
Display documentation of the function invoked by key.
key […]