开发者

emacsw32 - keybindings - no meta - clojure box

开发者 https://www.devze.com 2023-02-24 10:12 出处:网络
I have installed clojure-box on my Windows 7 laptop, this by default installs emacsW32. I understand that this version remaps slightly the standard Emacs keybindings to be more windows friendly, howev

I have installed clojure-box on my Windows 7 laptop, this by default installs emacsW32. I understand that this version remaps slightly the standard Emacs keybindings to be more windows friendly, however I cannot find my META key.

Usually META is ALT, but I cannot locate it o开发者_运维百科n this install, would it be possible to define META M-x as ALT GR or the apps key? Or is there a way to find out where my META key is by default?

Clojure Box


By default clojure box does have alt mapped to META, atleast that's how it was for me.

Go to the scratch buffer and type

w32-alt-is-meta

and then place your cursor at the end of the line and press C-x C-e If the mini buffer shows nil , that means alt is not the meta key. It shows "t" in my emacs.

Check out http://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-Keyboard.html

OTOH, if you already have an emacs version installed other than the one that came with clojure box, you just can install slime on that one and play with clojure. Slime can be installed stand alone or from ELPA.

Update: Answer that worked: Type the following in scratch buffer and eval it using C-x C-e to make alt the meta key again.

(setq w32-alt-is-meta \t)

0

精彩评论

暂无评论...
验证码 换一张
取 消