質問

How can I write a "," (comma) character in the SLIME emacs window? The , key brings up the SLIME command prompt automatically.

Thanks, a Lisp beginner

役に立ちましたか?

解決

You can insert , by C-q, (Control-q and then comma). C-q is bound to quoted-insert, which can be generally used whenever you want Emacs to read a next input character and insert it instead of invoking a command bound to the input character.

他のヒント

, only triggers REPL shortcut selection when input at the beginning of a line. In all other cases, you can input a comma by typing ,.

In the case of Common Lisp, since as long as you don't modify the reader, , can only occur within a quasi-quoted expression, this should not be a significant restriction.

If it really is a problem, refer to Deokhwan Kim's answer.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top