V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
guoxx_
V2EX  ›  分享发现

忍不住吐槽emacs

  •  
  •   guoxx_ · 2012-06-12 22:24:15 +08:00 · 3972 次点击
    这是一个创建于 4372 天前的主题,其中的信息可能已经有所发展或是发生改变。
    更新24.1之后
    (tool-bar-mode 0)

    maximize-frame之后最上面几行字被挡住了
    滚动之后那效果想死的心都有了
    不知道怎么贴图,就不上图了

    emacs就没有关心过mac用户么
    使用的是 http://emacsformacosx.com/ 这个版本
    11 条回复    1970-01-01 08:00:00 +08:00
    hzlzh
        1
    hzlzh  
       2012-06-12 22:53:34 +08:00
    这么巧,今天某Vim君还转去使用了一下 emacs,为了打开5k-6k行的代码。然后就不知道结果了
    demon386
        2
    demon386  
       2012-06-12 23:02:04 +08:00
    我也出现这种情况

    目前的解决办法是用AppleScript启动Emacs并调整大小,如下:
    tell application "Emacs" to activate

    tell application "System Events"
    repeat until exists window 1 of process "Emacs"
    delay 1
    end repeat
    tell (process 1 whose name is "Emacs")
    set position of window 1 to {0, 20}
    set size of window 1 to {800, 780}
    end tell
    end tell
    guoxx_
        3
    guoxx_  
    OP
       2012-06-12 23:07:07 +08:00
    @demon386 我又回去用23.4了 暂时不升级了
    demon386
        4
    demon386  
       2012-06-12 23:10:05 +08:00
    感觉24.1还是有很多改善的,感觉顺了很多。

    目前唯一发现的就是这个问题。由于我基本上只是开机时打开一个Emacs Frame一直用,用这个脚本启动也没什么问题。
    huangdawei
        5
    huangdawei  
       2012-06-12 23:41:01 +08:00
    homebrew 装的 24.1 用 ns-toggle-fullscreen 没有出现这个问题。
    demon386
        6
    demon386  
       2012-06-14 11:19:12 +08:00
    @huangdawei 不是fullscreen的问题,而是maxframe的问题,就是”最大化“而不是”全屏“。他用的应该是这个包 http://www.emacswiki.org/emacs/Maximize
    demon386
        7
    demon386  
       2012-06-14 11:20:49 +08:00
    弄错了,应该是这个包: http://files.emacsblog.org/ryan/elisp/maxframe.el
    huangdawei
        8
    huangdawei  
       2012-06-14 15:20:09 +08:00
    @demon386 谢谢。其实我是建议用 fullscreen 啦。
    guoxx_
        9
    guoxx_  
    OP
       2012-06-14 15:54:06 +08:00
    @huangdawei 额 我到是不太习惯用fullscreen,来回切屏幕太累了,也不喜欢动画的方式
    simohayha
        10
    simohayha  
       2012-06-14 16:23:03 +08:00
    为啥不用aquamacs呢。。
    huangdawei
        11
    huangdawei  
       2012-06-14 17:00:35 +08:00
    @guoxx_ 这个 ns-toggle-fullscreen 只是在当前桌面全屏显示,并不会像其他应用那样新建一个工作空间,需要用其他应用的时候直接 cmd+h, 或者用 cmd+tab 切换。 这种方式恰好也解决了 Lion 的全屏在多显示器的情况下的 bug(某个程序在一个显示器下全屏会导致其他显示器都显示那一坨布纹)。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   899 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:41 · PVG 04:41 · LAX 13:41 · JFK 16:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.