While not a major issue, the default screenrc generated advises emacs users to switch from C-a to C-p as a command prefix. C-p is used for moving up one line in emacs making it an extremely common command. I propose changing that advice to something else (I use C-L--not a capital, just to distinguish it from one). Reproducible: Always Steps to Reproduce: 1. emerge screen 2. emacs /etc/screenrc 3. be advised to map C-p to command if using emacs. Actual Results: Advised to use C-p if using emacs. Expected Results: Be advised to choose a command that is not commonly used in emacs.
C-l isn't much better as a choice because it's also bound to an Emacs command. I'm using C-^ since a long time, i.e. in screenrc the line would be: escape ^^^^ That's also what is recommended in EmacsWiki: <http://www.emacswiki.org/emacs/GnuScreen>
Yeah, that's true. I should have mentioned that I bound it to that one because I never use that command. Also, since I am usually on my netbook, C-^ is, for me, only accessible through C-S-6 (the benefit of C-l being I can keep my hand on home row while switching). Still, you are right. Definitely a better recommendation in the config file would be C-^ as that interferes with no one's preferences. (In reply to comment #1) > C-l isn't much better as a choice because it's also bound to an Emacs command. > I'm using C-^ since a long time, i.e. in screenrc the line would be: > > escape ^^^^ > > That's also what is recommended in EmacsWiki: > <http://www.emacswiki.org/emacs/GnuScreen> >
Created attachment 260287 [details, diff] patch for files/screenrc Trivial patch attached. @swegener, shell-tools: Shall I commit this for you?
Commited.