Subject: Re: bug#11129: 23.4; garbage inserted at the beginning of the buffer when starting Emacs in a terminal on a remote machine

From: Stefan Monnier <[email-masked]>
Date: Fri, 30 Mar 2012 08:40:34 -0400

>> It's a known problem.  You can work around it by setting
>> xterm-extra-capabilities to t or nil.
> How?
> Adding
> (setq xterm-extra-capabilities t)
> at the beginning of my .emacs doesn't change anything (of course,
> I run "emacs" without the -Q argument, so that my .emacs is run).

Did you test it with Emacs-23 or Emacs-24?  It's new in Emacs-24, so
it's no surprise if it doesn't solve your problem in Emacs-23.

        Stefan