I have a computer where the char [ is made with AltGr+è so I can't use the command Ctrl+[ of RefTeX. Is there a solution to this?

closed as off topic by lockstep, Seamus, Claudio Fiandrino, Martin Schröder, Werner Jan 28 '13 at 15:15

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    For the close-voters: I would wait with such decision and definitely not close a question after 3 minutes! – yo' Jan 28 '13 at 12:18
  • 1
    Hello and Welcome to TeX.SE! I'm not sure if this is really a question for this site. You want to define a different keyboard shortcut for the action than Ctrl+[ ? – yo' Jan 28 '13 at 12:19
  • 3
    There isn't anything specifically TeX related about this question as I understand it. You're probably better off googling "emacs change keybinding". – Seamus Jan 28 '13 at 12:33

I'm moving my comment here as it gives me more space:

But then again, there are quite a lot of Emacs + reftex users reading this site as well. C-c [, runs reftex-citation, you you could just define your own short cut. Here is what I would do

; unset C-z, to be used to make my own C-z prefix
(global-unset-key [(control z)])
(global-set-key [(control z) (c)] 'reftex-citation)


The above is how I normally add my own short cuts. By using C-z as a prefix, I'm usually not messing with some existing ones.

  • Sure, there are lots of emacs+reftex users on this site. But there are lots of mathematicians on this site: that doesn't make maths questions on-topic. Some reftex related questions should count as on-topic (I think) but those relating just to generic emacs problems (such as this one) aren't on-topic. – Seamus Jan 28 '13 at 14:02
  • @Seamus RefTeX is TeX-related extension of emacs so the question is IMHO boundary but fine. – yo' Jan 28 '13 at 14:06
  • But the question isn't really about reftex. That's the point. It's asked as if it related to reftex, but as is obvious from your answer, there's nothing specific to reftex about the answer. Any other mode's keybindings could be reset in the same way. – Seamus Jan 28 '13 at 14:11
  • I understand what @Seamus is saying and I'm sorry but daleif answer was very useful to me – Alessandro Jan 28 '13 at 15:30

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