wushuang
V2EX  ›  问与答

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

  •  
  •   wushuang · Oct 18, 2014 · 5175 views
    This topic created in 4257 days ago, the information mentioned may be changed or developed.
    OS X 升级到10.10之后,鼠须管的app_options 不起作用了?
    没办法再对sublime或者iterm2之类的程序单独设置初始输入为英文
    4 replies    2014-11-05 19:47:30 +08:00
    tongluobing
        1
    tongluobing  
       Oct 21, 2014
    我也遇到这个问题,请问找到解决的办法了吗
    wushuang
        2
    wushuang  
    OP
       Oct 21, 2014
    莫有,临时换了个搜狗输入法用着。
    ecchanger
        3
    ecchanger  
       Oct 24, 2014
    我也一样...
    chjlu
        4
    chjlu  
       Nov 5, 2014   ❤️ 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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1035 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 18:12 · PVG 02:12 · LAX 11:12 · JFK 14:12
    ♥ Do have faith in what you're doing.