我正在使用从互联网上找到的一些片段。
而且我在使用它们时遇到了很多错误。
例如,
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
}$2${1:$(if (string-match "%" text) "\);" "")}
这是 c 模式的 printf 片段。但它总是给我[yas] elisp error! Symbol's value as variable is void: text
那么这段代码中是否有任何错误或其他地方的错误?如果是这样,我该如何调试它?