help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyboard-translate not working with emacs daemon


From: Ryo
Subject: Re: keyboard-translate not working with emacs daemon
Date: Tue, 13 Oct 2009 10:33:10 -0700 (PDT)
User-agent: G2/1.0

On Oct 12, 4:40 pm, Vassil Nikolov <vniko...@pobox.com> wrote:
> On Mon, 12 Oct 2009 12:48:03 -0700 (PDT), Ryo <ryofu...@gmail.com> said:
[. . .]
> > What is a "terminal" in our context?  At first, I thought you are
> > saying that the table is local to each emacs frame.  But, it doesn't
> > seem to be the case.  I did the following experiment:
> >    $ emacs23 --daemon
> >    $ emacsclient -c  # <-- keyboard-translate is not effective.
> >             # On this client, I evaluate (keyboard-translate ?\C-h ?\C-?)
> >    $ emacsclient -c # another client: keyboard-translate is effective.
>
>   Are you running the two emacsclient processes on the same X display?
>   What happens if you run them without X (and therefore on two
>   different terminals)?

Good point!  If emacsclients are run from different terminals without
using X, then they are independent in terms of keyboard translation:

term-A$ emacs23 --daemon
term-B$ emacsclient -c -nw # <-- keyboard-translate is not effective.
    # On this client, evaluate (keyboard-translate ?\C-h ?\C-?).
term-C$ emacsclient -c -nw # another client:
    # keyboard-translate is NOT effective.

Furthermore, I realized even on X, keyboard translation seems to
vanish after the first client is exited:

  $ emacs23 --daemon
  $ emacsclient -c # <-- keyboard-translate is not effective.
    # On this client, evaluate (keyboard-translate ?\C-h ?\C-?).
    # EXIT.
  $ emacsclient -c -nw # another client:
    # keyboard-translate is NOT effective.

Yesterday, I submitted a report to emacsbugs.donarmstrong.com.  The
issue number is "bug#4709".

Regards,
Ryo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]