【发布时间】:2013-10-19 01:06:27
【问题描述】:
是否可以获取列表并将其保存在变量中? 我跑
(ido-completing-read "prompt: " '("one" "two" "three" "four" "five") nil nil "t")
然后 ido 生成候选人列表{two | three}。我想要这样的东西
(setq my-desired-list (ido-completing-read-silent '("one" "two" "three" "four" "five") nil nil "t"))
my-desired-list执行后的值为("two" "three")。
我对 ido 使用了复杂的设置,它为 choices 准备了非常特殊的过滤器,我想直接使用结果。
【问题讨论】:
-
我们是在处理文件、帧还是 . . . ?
-
函数
ido-completing-read在第二个参数中获取任意列表。