From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Danil Orlov Newsgroups: gmane.emacs.devel Subject: Bug with tmux/screen and special characters Date: Tue, 27 May 2014 08:39:24 +0400 Message-ID: <20140527043924.GA22115@debian> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1401165584 7696 80.91.229.3 (27 May 2014 04:39:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2014 04:39:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 27 06:39:38 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wp9Al-0000Ok-SM for ged-emacs-devel@m.gmane.org; Tue, 27 May 2014 06:39:35 +0200 Original-Received: from localhost ([::1]:59750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp9Al-0004NC-FN for ged-emacs-devel@m.gmane.org; Tue, 27 May 2014 00:39:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp9Ah-0004Mw-6w for emacs-devel@gnu.org; Tue, 27 May 2014 00:39:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wp9Ag-0000kW-Gi for emacs-devel@gnu.org; Tue, 27 May 2014 00:39:31 -0400 Original-Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:32962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wp9Ag-0000kJ-7l for emacs-devel@gnu.org; Tue, 27 May 2014 00:39:30 -0400 Original-Received: by mail-la0-f44.google.com with SMTP id hr17so6200456lab.3 for ; Mon, 26 May 2014 21:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=yzoWvh7F1nxbE13iT6D1NDH6re3hsv5UdQT5PG/5dZY=; b=Y2ImGEepOSU5SYlPDIJuLSNmaLD+dEgQB6MrlcX5f9H9g6puWkxyOT5Jv6pI2g6odg /Skon+Jb7c9RnFCMdKt8+NZDmjM51umTVDKLYyA8ql8paTSyW7PisWEzREfQ1IjuMHLf mCxlyUG3WbaR14ApwFHxBolItEmij7AwTG1XQPFccSW3TxuyhZPHtJUHSGNIGh4CLgUj wDCRjq06z5wv/E/7S3U7GG7RmxzPSeYzZo9TAeu/SCwGVrAJrmfaLltT280DI7Jcfl7M NYY2evGCrsqm1rdrnD4p+g6vAQkJ8seNQ4WDceNF9nGz01ACato03sDbQWAr3XTyU49s N7EA== X-Received: by 10.152.205.5 with SMTP id lc5mr21198520lac.30.1401165568574; Mon, 26 May 2014 21:39:28 -0700 (PDT) Original-Received: from debian ([2001:5c0:1400:a::a9]) by mx.google.com with ESMTPSA id zn1sm13997916lbb.17.2014.05.26.21.39.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 26 May 2014 21:39:27 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172132 Archived-At: I've found that if I run emacs 24.3.1 under tmux or GNU screen, and add this snippet to my .emacs: (global-set-key (kbd "M-[") 'hide-subtree) (global-set-key (kbd "M-]") 'show-subtree) then I receive trouble with such keys: Home, End, PgUp, PgDown, F1-F12 . For example End key just inserts "~4" into current buffer. If I use for example: (global-set-key (kbd "M-1") 'hide-subtree) (global-set-key (kbd "M-2") 'show-subtree) Then special keys handled correct.