V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wushuang
V2EX  ›  问与答

OS X 升级到 10.10 之后,鼠须管的 app_options 不起作用了?

  •  
  •   wushuang · 2014-10-18 14:02:48 +08:00 · 4054 次点击
    这是一个创建于 3483 天前的主题,其中的信息可能已经有所发展或是发生改变。
    OS X 升级到10.10之后,鼠须管的app_options 不起作用了?
    没办法再对sublime或者iterm2之类的程序单独设置初始输入为英文
    4 条回复    2014-11-05 19:47:30 +08:00
    tongluobing
        1
    tongluobing  
       2014-10-21 17:30:31 +08:00
    我也遇到这个问题,请问找到解决的办法了吗
    wushuang
        2
    wushuang  
    OP
       2014-10-21 23:05:14 +08:00
    莫有,临时换了个搜狗输入法用着。
    ecchanger
        3
    ecchanger  
       2014-10-24 23:47:47 +08:00
    我也一样...
    chjlu
        4
    chjlu  
       2014-11-05 19:47:30 +08:00   ❤️ 1
    可以用我修改的版本: https://github.com/frank4565/squirrel,也可以复制粘贴以下的 patch 文件。
    如何编译看这里: https://code.google.com/p/rimeime/wiki/RimeWithSquirrel

    From 613a5917aa439bfb877ce6fdb47722239ee97187 Mon Sep 17 00:00:00 2001
    From: Junlu Cheng
    Date: Wed, 5 Nov 2014 19:21:08 +0800
    Subject: [PATCH] Fixed app_options not working in OS X 10.10 Yosemite.

    ---
    SquirrelInputController.m | 5 +----
    1 file changed, 1 insertion(+), 4 deletions(-)

    diff --git a/SquirrelInputController.m b/SquirrelInputController.m
    index b936aa5..e22cb4f 100644
    --- a/SquirrelInputController.m
    +++ b/SquirrelInputController.m
    @@ -240,10 +240,7 @@
    -(id)initWithServer:(IMKServer*)server delegate:(id)delegate client:(id)inputClient
    {
    //NSLog(@"initWithServer:delegate:client:");
    - if (self = [super initWithServer:server delegate:delegate client:inputClient]) {
    - _currentClient = inputClient;
    - [self createSession];
    - }
    + self = [super initWithServer:server delegate:delegate client:inputClient];
    return self;
    }

    --
    1.8.4.2

    参见: http://www.zhihu.com/question/26083714/answer/32973546
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2205 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 04:30 · PVG 12:30 · LAX 21:30 · JFK 00:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.