GNU bug report logs - #5785
24.0.50; Fail to bind C-. in emacs -nw from xterm.

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Fri, 26 Mar 2010 18:50:02 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01166.html

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 5785 <at> debbugs.gnu.org
Subject: bug#5785: 24.0.50; Fail to bind C-. in emacs -nw from xterm.
Date: Sun, 15 Sep 2019 17:55:55 +0200
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> Hi,
> I am unable to bind C-. in xterm.
>
> A)
>
> 1) I start xterm without my config of .Xdefaults.
> 2) In scratch i write and eval:
> (global-set-key (kbd "C-.") #'(lambda () (interactive) (message "hello")))
>
> 3) When i hit C-. "~" is printed in buffer (*scratch*).
>
> B)
>
> If i bind the same key (C-.) in a function that use the minibuffer,
> (define-key anything-map (kbd "C-.") 'anything-find-files-down-one-level)
>
> then,
> 27;6;46~ is printed in anything prompt.
>
> NOTE:
> ----
> Also,
> Alt doesn't work in emacs without proper Xterm config in .Xdefault:
> XTerm*metaSendsEscape:  True
>
> You can verify with simple command (e.g `insert-parentheses' `M-(')

This was reported nine years ago.  It seems to me that the conclusion
from the discussion at the time was that it might have been something
wrong in your setup, or some specific issue in xterm on Gentoo, rather
than a bug in Emacs.

I also can't reproduce this issue here, using Emacs 26.2 and XTerm(344).

Can you still reproduce this on a modern version of Emacs?  If I don't
hear back from you in a couple of weeks, I'll just close this as
unreproducible.

Best regards,
Stefan Kangas




This bug report was last modified 5 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.