待辦事項 #27449

Character pass through

啟用日期: 2012-02-08 14:05 最後更新: 2013-01-29 00:44

回報者:
(匿名)
負責人:
類型:
狀態:
開啟 [Owner assigned]
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

I like to bind additional functionality in Visual Studio to Emacs prefixes. For example a significantly nicer find file dialog to say C-x C-f. If I disable that feature in XKeymacs I still can't use that key combination because XKeymacs consumes the C-x and only passes through the C-f. I believe this is incorrect behavior since it should either pass through BOTH characters or neither and you should be able to choose which. Emacs itself would consume both characters if the 2nd character wasn't bound to a command. Perhaps a simple check box to determine behavior, or alternatively a built-in "pass-through" command which I could then bind multiple key combinations to and it would simply re-send the key combinations when received...

Thanks!

Ticket History (3/3 Histories)

2012-02-08 14:05 Updated by: None
  • New Ticket "Character pass through" created
2012-02-08 16:13 Updated by: None
評語

Update. I found a workaround from this thread: http://lexicalclosures.blogspot.com/2010/10/emacs-resharper-visual-studio-xkeymacs.html which is interesting since it documents a number of subtle issues with visual studio and xkeymacs interactions.

Anyway idea for use with Visual Studio is to use (fset 'some-name "<unused-key>") in the *.xkeymacs file then from the advanced -> original commands tab bind it to the key you really want. Then go ahead and define the command you want to run in Visual Studio to the <unused-key>. I suppose this would work with any program that allows you define your own keybindings...

2013-01-29 00:44 Updated by: fujieda
  • 負責人 Update from (無) to fujieda
評語

I'm sorry for my too late response. If you want "C-xC-f" does nothing, you should bind "C-xC-f" with the function "Ignore" on the Advanced tab on the property dialog. If you want further tips, please give me an actual example of what you want to do with XKeymacs.

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入