From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandre LAURENT Newsgroups: gmane.emacs.help Subject: Re: Slow emacsclient after some time Date: Tue, 20 Nov 2012 17:41:07 +0100 Message-ID: References: <87fw45wntk.fsf@googlemail.com> <20121120130631.GB21595@kuru.dyndns-at-home.com> <20121120154033.GF21595@kuru.dyndns-at-home.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1353429710 29883 80.91.229.3 (20 Nov 2012 16:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 16:41:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Suvayu Ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 17:42:01 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Taqtc-0006YH-CR for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 17:42:00 +0100 Original-Received: from localhost ([::1]:38879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaqtS-0005H1-3K for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 11:41:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaqtH-0005G2-Np for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 11:41:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Taqt6-0008Uw-Jj for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 11:41:39 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:41045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Taqt6-0008Uq-DY for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 11:41:28 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id xa7so4617152pbc.0 for ; Tue, 20 Nov 2012 08:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LQeO4V5R2/KJpZE9korHZgDPWy7gUjKxrN/1ZMXqOHc=; b=Bnj6dc7vxZ9v6mTlivBouCsu5PmuvDK4hfjTZKkVPOv3ljEGUZ2XCbE8mN3EmoX1Eg ePLgSdUsaVVEZAd4AEjBHfC80tE2tkUgb01S4/8yrIrewy1/UYjB1XFbLFJgxO1q/+i7 WtWKPqCTA54CZgSjSfBlcowwtQ1JmAoXfwdSS1HzeJdKyc8DBb/9iLM0/qkiSEVl1OAZ 5r79eZP+M2F9OjZFHeSmrgUCrZnO/6j8S/OrwS5IdTimWO3d48JMjtjZIs/Y2oz6e+tO vW39gWYijVpNyVV/yCxEIOOQRoA+vwn4TfAxyfKCnDWqUfhZa0BLEVXpNd//UZZghOqy YsMA== Original-Received: by 10.66.84.40 with SMTP id v8mr9297982pay.47.1353429687559; Tue, 20 Nov 2012 08:41:27 -0800 (PST) Original-Received: by 10.68.64.4 with HTTP; Tue, 20 Nov 2012 08:41:07 -0800 (PST) In-Reply-To: <20121120154033.GF21595@kuru.dyndns-at-home.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87816 Archived-At: On Tue, Nov 20, 2012 at 4:40 PM, Suvayu Ali wrote: > > If you do not mind sharing, I would be interested in this solution. I > also set term to xterm for flow control and better meta key support for > fullscreen applications in screen. > Sure! That's the only hack I've found that seems to work well with xterm/tmux/rxvt-unicode/etc. : ;; Remap escape sequences to correct keybindings (defun my-term-setup-hook () (define-key function-key-map "\e[1;3A" [M-up]) (define-key function-key-map "\e[1;3B" [M-down]) (define-key function-key-map "\e[1;3C" [M-right]) (define-key function-key-map "\e[1;3D" [M-left]) (define-key function-key-map "\e[1;5A" [C-up]) (define-key function-key-map "\e[1;5B" [C-down]) (define-key function-key-map "\e[1;5C" [C-right]) (define-key function-key-map "\e[1;5D" [C-left])) (add-hook 'term-setup-hook 'my-term-setup-hook) (global-set-key [M-up] 'windmove-up) (global-set-key [M-down] 'windmove-down) (global-set-key [M-right] 'windmove-right) (global-set-key [M-left] 'windmove-left) I previously had only this: ;; (windmove-default-keybindings 'meta) -- Alexandre LAURENT EPITA GISTR 2011