作者kosinyj (K)
看板Editor
标题Re: [emacs]分享Xah's Emacs Lisp Tutorial
时间Wed Jan 27 20:58:22 2010
大家好,小弟今天练习写elisp 的时候,在这个网站看到
以下的lisp 可以拿来问input
(defun query-friends-phone (name age)
"..."
(interactive "sEnter friend's name: \nnEnter friend's age: ")
(message "Name: %s, Age: %d" name age)
)
但是不知道 "..."
是作什麽用的
无奈 google 大神 不吃这样的内容
所以只好厚着脸皮跑来问版上的大大们
原文:
http://xahlee.org/emacs/elisp_idioms.html
请大家指教了 谢谢
※ 引述《zjshang (zjshang)》之铭言:
: 网址是:
: http://xahlee.org/emacs/elisp.html
: 作为开版的贺礼, 希望对大家有帮助.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.171.78.162
1F:推 superGA:"..."是function的comment啦 符合这个格式的话 01/27 21:08
2F:→ superGA:可以用<f1> f [RET] function_name 调出comment来看 01/27 21:09
3F:→ superGA:or C-h f function name 01/27 21:10
4F:→ superGA:or M-x describe-function .... 01/27 21:11
5F:推 superGA:python也用类似的写法 如果你学过就了了 01/27 21:15
6F:→ kosinyj:哦 我了解了 非常感谢superGA大 ^^ 01/27 22:21