Saturday, March 16, 2013
Wednesday, September 7, 2011
Thursday, August 18, 2011
Friday, May 15, 2009
ISOSHU没有未来
爱搜书 ISOSHU,没有未来的网站。为什么?看看ALEXA上的访问分析吧。对,仔细分析一下。访问受众没有可扩展性。不能谈及未来。如果再这样下去,提前关门大吉最好。看看起点吧,受众很明确,起点比ISOSHU高很多,有经济收入的访问者是起点的最大用户。但是ISOSHU呢?看来一个网站对日志和受众的分析是最重要的。
Tuesday, May 12, 2009
Wednesday, April 29, 2009
Wednesday, April 15, 2009
Emacs skeleton-pair Funcionality
> I have enabled skeleton-pair funcionality with what I have found in here:
> http://littlechina.org/~cmarcelo/paren-experiment.el
> It works in most modes, but in C++ mode it only works for [ and not for (,{
> or ".
Try:
(define-key c-mode-base-map (kbd "(") #'skeleton-pair-insert-maybe)
;; same for the other keys here...
or
(add-hook 'c-mode-common-hook
#'(lambda ()
(local-set-key (kbd "(") #'skeleton-pair-insert-maybe)
;; same for the other keys here...
))
If you don't like the way skeleton decides whether to insert a pair or
not but to insert a pair always use `insert-pair' instead of
`skeleton-pair-insert-maybe'.
Some thing others.
Labels:
emacs
Subscribe to:
Posts (Atom)