无法在 emacs 中输入大括号和方括号 [英] Unable to type braces and square braces in emacs

查看:26
本文介绍了无法在 emacs 中输入大括号和方括号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行的是 Mac OS X 和 GNU Emacs 22.3.1.我使用瑞典语键盘.我无法在 emacs 中输入大括号 { }, [ ] .尝试键入大括号时,我得到括号.由于我对 Mac 和 emacs 还很陌生,因此我需要一些帮助来配置 emacs 以确保正确.

I'm running Mac OS X and GNU Emacs 22.3.1. I use a swedish keyboard. I am unable to type braces { }, [ ] in emacs. When trying to type braces I get parenthesis. Since I'm quite new to Mac and emacs I need a little help on configuring emacs to get this right.

推荐答案

(setq mac-option-modifier nil
      mac-command-modifier 'meta
      x-select-enable-clipboard t)

这就是我的瑞典语键盘所用的.它甚至适用于 svorak A5,如果你使用它:)

This is what I use for my swedish keyboard. It even works with svorak A5, if you use it :)

这篇关于无法在 emacs 中输入大括号和方括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆