Ticket #27449

Character pass through

Open Date: 2012-02-08 14:05 Last Update: 2013-01-29 00:44

Reporter:
(Anonymous)
Owner:
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None

Details

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!

Attachment File List

No attachments

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
Comment

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
  • Owner Update from (None) to fujieda
Comment

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.

Edit

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