From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: Slow emacsclient after some time Date: Tue, 20 Nov 2012 18:48:27 +0100 Message-ID: <20121120174827.GH21595@kuru.dyndns-at-home.com> 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=us-ascii X-Trace: ger.gmane.org 1353433730 5503 80.91.229.3 (20 Nov 2012 17:48:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 17:48:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alexandre LAURENT Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 18:49: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 1TarwM-0000y5-Tu for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 18:48:55 +0100 Original-Received: from localhost ([::1]:53787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TarwC-0007sd-Bj for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 12:48:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tarw4-0007rr-Cw for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 12:48:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tarvz-0007OI-V7 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 12:48:36 -0500 Original-Received: from mail-ee0-f41.google.com ([74.125.83.41]:59345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tarvz-0007O9-Pk for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 12:48:31 -0500 Original-Received: by mail-ee0-f41.google.com with SMTP id d41so4235330eek.0 for ; Tue, 20 Nov 2012 09:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=h0SDGTPfJ9tEGvvfZ+YEaifxhswHBtnnm0/Z40+Rpzs=; b=crdk9yf0HCOrRzboZG9Gl8dOnEBU41Sl67m9p3yojiSeN2UqPPbfWPE7N+NTBKJpop F2LCr5cXFfRKT2QP3MPFxcHTT1OGOqK+6/YzDT9m9ht/ZldZCxKx5hpluvc/UP//orbE uYzBCD7aVeXKVQgRrXiFBQe0lBj01uuPtFO0ba8PkReBYUtxvIRL6iPXK2Ye+FPpNp4r B0tyMo2iWzVYmZA4vvraYOIJjDbydwGjnV1ST4y9xLgqbXH37sqgYDhIFpGqCQF5KDB5 FPW9iAfLLlzSF3uj2z+oW4SQFrtcJvt7hJvC2ieHewi44gh/dd2EUja85JpaJrbr8crt vvgA== Original-Received: by 10.14.205.65 with SMTP id i41mr36296304eeo.2.1353433710995; Tue, 20 Nov 2012 09:48:30 -0800 (PST) Original-Received: from kuru.dyndns-at-home.com (pb-d-128-141-52-153.cern.ch. [128.141.52.153]) by mx.google.com with ESMTPS id 2sm31824636eef.17.2012.11.20.09.48.29 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Nov 2012 09:48:29 -0800 (PST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2011-07-01) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.83.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:87818 Archived-At: On Tue, Nov 20, 2012 at 05:41:07PM +0100, Alexandre LAURENT wrote: > 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) > Thanks a lot! I'll try these out. -- Suvayu Open source is the future. It sets us free.