1 |
/* X Communication module for terminals which understand the X protocol. |
/* X Communication module for terminals which understand the X protocol. |
2 |
Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 2001 |
Copyright (C) 1989, 93, 94, 95, 96, 1997, 1998, 1999, 2000, 01, 02 |
3 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of GNU Emacs. |
This file is part of GNU Emacs. |
10650 |
temp_buffer[temp_index++] = keysym; |
temp_buffer[temp_index++] = keysym; |
10651 |
/* First deal with keysyms which have |
/* First deal with keysyms which have |
10652 |
defined translations to characters. */ |
defined translations to characters. */ |
10653 |
if (keysym > 0 && keysym < 128) |
if (keysym >= 32 && keysym < 128) |
10654 |
/* Fixme: Is this always right? It avoids |
/* Fixme: Is this always right? It avoids |
10655 |
explicitly decoding each ASCII character. */ |
explicitly decoding each ASCII character. */ |
10656 |
{ |
{ |
10660 |
else if (! EQ ((c = Fgethash (make_number (keysym), |
else if (! EQ ((c = Fgethash (make_number (keysym), |
10661 |
Vx_keysym_table, |
Vx_keysym_table, |
10662 |
Qnil)), |
Qnil)), |
10663 |
Qnil)) |
Qnil)) |
10664 |
{ |
{ |
10665 |
bufp->kind = (ASCII_CHAR_P (c) |
bufp->kind = (ASCII_CHAR_P (c) |
10666 |
? ascii_keystroke |
? ascii_keystroke |