emacs:一个简单的问题

Vim、Emacs配置和使用
回复
头像
Qiqidone
帖子: 37
注册时间: 2009-07-16 8:53

emacs:一个简单的问题

#1

帖子 Qiqidone » 2011-06-29 21:48

为什么(message "Hello it is %s, %d" (buffer-name) (fill-column)) 会出错,而
(message "Hello it is %s, %d" (buffer-name) fill-column)可以输出
"Hello it is *scratch*, 80"
因为fill-column 是变量?函数?

请求帮忙解释下 :em11
多读点书:什么都略懂一点,生活更精彩一些
GNU Suit : Linux | Emacs | GCC | GDB | Make......
C++ = C + OOP + Tmp + STL;
Python: Simple is beauty
(Lisp 'Big Picture)
头像
Qiqidone
帖子: 37
注册时间: 2009-07-16 8:53

Re: emacs:一个简单的问题

#2

帖子 Qiqidone » 2011-06-30 9:42

:em11 明白了
buffer-name是函数 fill-column是变量
多读点书:什么都略懂一点,生活更精彩一些
GNU Suit : Linux | Emacs | GCC | GDB | Make......
C++ = C + OOP + Tmp + STL;
Python: Simple is beauty
(Lisp 'Big Picture)
回复