all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Alexandre LAURENT <shaoner@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Slow emacsclient after some time
Date: Tue, 20 Nov 2012 18:48:27 +0100	[thread overview]
Message-ID: <20121120174827.GH21595@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAC8hHhkh_a_LngUqB+T+ye33mnfXQVBHghhcwDCfaK8kgkiEUw@mail.gmail.com>

On Tue, Nov 20, 2012 at 05:41:07PM +0100, Alexandre LAURENT wrote:
> On Tue, Nov 20, 2012 at 4:40 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> 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.



      reply	other threads:[~2012-11-20 17:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 14:30 Slow emacsclient after some time Alexandre LAURENT
2012-11-19 15:08 ` Alexandre LAURENT
2012-11-19 16:37   ` Thorsten Jolitz
2012-11-19 17:11     ` Alexandre LAURENT
2012-11-20 13:06       ` Suvayu Ali
2012-11-20 15:28         ` Alexandre LAURENT
2012-11-20 15:40           ` Suvayu Ali
2012-11-20 16:41             ` Alexandre LAURENT
2012-11-20 17:48               ` Suvayu Ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121120174827.GH21595@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=shaoner@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.