Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emacsclientを用いてファイルを開くとキー入力するまで画面が切り変わらない #36

Open
kenbeese opened this issue Jan 1, 2014 · 2 comments

Comments

@kenbeese
Copy link

kenbeese commented Jan 1, 2014

emacs-version: 24.3.1
key-combo : 20131205 (melpa)

発生手順

  • emacs -Qで何も追加していないemacsを起動
  • load-pathにkey-combo.elのパスを追加
  • server-startでサーバーの起動
  • 下記のコードを実行
(require 'key-combo)
(key-combo-mode 1)
(key-combo-load-default)
  • emacsclient hogefile でファイルを開くと何かキー入力するまで画面がhogefileに切り変わらない
@KeenS
Copy link

KeenS commented Feb 12, 2014

406行目の(read-event)が悪さをしているようです。clientからやってきてるので直前のeventが存在しないとかでしょうか。

@KeenS
Copy link

KeenS commented Feb 12, 2014

key-combo-post-command-functionserver-visit-files両方見ました。
コマンドが終わってないのにpost-command-hook走らせるserver側もserver側ですが、1コマンド毎に(read-event)key-combo-post-command-functionをサスペンドしてるので実装を変えた方が良いみたいですね。

uk-ar added a commit that referenced this issue Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants