Menu

#66 xcscope: Bind to RET correctly

open
Darryl
5
2013-08-06
2009-04-21
No

For some reason, binding to [return] doesn't always work (namely, it doesn't work for me when I run emacs from a terminal), so here's a patch to use "\r" instead, which works for emacs run on a both terminals and a window-systems. (And it's how the emacs user manual says to do it, too: http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-Rebinding.html\)

Discussion

  • Samuel Bronson

    Samuel Bronson - 2009-04-21

    Fix RET binding

     
  • Samuel Bronson

    Samuel Bronson - 2009-04-21
    • summary: Bind to RET correctly --> xcscope: Bind to RET correctly
     
  • Nobody/Anonymous

    type \r doesn't seem to work, is it the right way to use this patch?

     
  • Darryl

    Darryl - 2013-08-06

    I kept the old line, and added the new one. I'm not sure this is quite right ("[ret]" is what you use with XEmacs), but it works for both.

     

Log in to post a comment.