Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to use iedit-mode together with paredit-mode. When I bind C-; to iedit-mode globally, I still always get 'paredit-semicolon when I press C-;. I thought this was kind of weird. I recorded a keyboard macro to see if it would help me see which keys emacs was seeing and it only shows that I pressed ;, not C-;. Does this mean emacs isn't getting the C somehow? If so, why?

I am doing this with the latest homebrew emacs (24.2) in an iterm2 terminal window on a mac.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I don't think terminals distinguish between ; and C-;. If you want to use C-;, I'm afraid you'll have to use the GUI version. See for example this question about C-(. You may be able to tell iTerm2 to send a hex code upon pressing C-; which you would then bind in emacs. I haven't tried it though.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.