unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug with tmux/screen and special characters
@ 2014-05-27  4:39 Danil Orlov
  2014-05-27  7:10 ` Andreas Schwab
  2014-05-27 12:47 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Danil Orlov @ 2014-05-27  4:39 UTC (permalink / raw)
  To: emacs-devel

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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-27 12:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27  4:39 Bug with tmux/screen and special characters Danil Orlov
2014-05-27  7:10 ` Andreas Schwab
2014-05-27 12:47 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).