haichong20
V2EX  ›  问与答

Mac OS 下 Emacs Control+g 显示异常

  •  
  •   haichong20 · Nov 5, 2015 · 2983 views
    This topic created in 4017 days ago, the information mentioned may be changed or developed.
    不知道什么原因,在 Emacs 中使用 Control+g 做取消的时候总是在窗口的中间部位出现一个这么大的正方型窗口
    不过好像并不影响操作,当光标经过那个正方型区域的时候,区域里面的文字会显示出来

    其实不影响 Emacs 的任何功能,但总是有些别扭

    看图片吧
    2 replies  •  2015-11-05 10:08:31 +08:00
    sinxccc
    sinxccc
    Nov 5, 2015
    1
    这是 Emacs Nextstep 的 visible bell 的效果, NS port 只有这一种巨丑的风格。

    解决方法是

    (setq visible-bell nil)

    或者试试看 Emacs mac port: https://github.com/railwaycat/homebrew-emacsmacport
    haichong20
    haichong20
    OP
    Nov 5, 2015
    2
    @sinxccc 非常感谢,已解决了。是我的配置文件里设置了

    (sets visible-bell t)

    已经修改
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1426 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 22:28 · PVG 06:28 · LAX 14:28 · JFK 17:28
    ♥ Do have faith in what you're doing.