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

Re: END Key in Emacs (only in Xterm)



[ The END key no longer works in "emacs -nw" in an xterm. ]

Rodrigo Castro <rcastro@emporio-linux.com.br> writes:
>  The problem, in my opinion, comes when it reads xterm.elc and this
> file doesn't assign correctly.

That's it.  The problem is with the xterm.el (and xterm.elc) files of
all four flavors of emacs, because they contain the line:

(define-key function-key-map "\e[4~" [select])

It looks like xemacs also breaks the HOME key.

The files in question are:

  /usr/share/emacs/19.34/lisp/term/xterm.elc
  /usr/share/emacs/19.34/lisp/term/xterm.el
  /usr/share/emacs/20.5/lisp/term/xterm.elc
  /usr/share/emacs/20.5/lisp/term/xterm.el
  /usr/lib/xemacs-20.4/lisp/term/xterm.elc
  /usr/lib/xemacs-20.4/lisp/term/xterm.el.gz
  /usr/lib/xemacs-21.1.8/lisp/term/xterm.elc
  /usr/lib/xemacs-21.1.8/lisp/term/xterm.el.gz

and they come from the following packages:

  emacs19
  emacs20
  emacs20-el
  xemacs20-support
  xemacs20-supportel
  xemacs21-support
  xemacs21-supportel

A makeshift solution is to remove the offending .elc file and either
edit the .el file or just removed it as well.  (You can byte compile
your edited .el file if you wish, but it is pretty small.)

I sent a note about this problem to debian-emacsen.

Kirk Hilliard


Reply to: