aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-10-28 22:50:00 +0000
committerDave Love2002-10-28 22:50:00 +0000
commit853efefb2894f5a525e6cf924f587c261b911ee6 (patch)
tree3d930c92aa768e2cf3a7439443fb091ce33a441b /src
parent2d0fb51c1e3828fc59f21f4d81e1d83496e66b0e (diff)
downloademacs-853efefb2894f5a525e6cf924f587c261b911ee6.tar.gz
emacs-853efefb2894f5a525e6cf924f587c261b911ee6.zip
(lispy_accent_codes, lispy_accent_keys): Extend.
(lispy_kana_keys): Comment out. (make_lispy_event) [XK_kana_A]: Comment out.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c53
1 files changed, 50 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index a578c05e3bc..0c155063a70 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4258,6 +4258,41 @@ static int lispy_accent_codes[] =
4258#else 4258#else
4259 0, 4259 0,
4260#endif 4260#endif
4261#ifdef XK_dead_abovering
4262 XK_dead_abovering,
4263#else
4264 0,
4265#endif
4266#ifdef XK_dead_iota
4267 XK_dead_iota,
4268#else
4269 0,
4270#endif
4271#ifdef XK_dead_belowdot
4272 XK_dead_belowdot,
4273#else
4274 0,
4275#endif
4276#ifdef XK_dead_voiced_sound
4277 XK_dead_voiced_sound,
4278#else
4279 0,
4280#endif
4281#ifdef XK_dead_semivoiced_sound
4282 XK_dead_semivoiced_sound,
4283#else
4284 0,
4285#endif
4286#ifdef XK_dead_hook
4287 XK_dead_hook,
4288#else
4289 0,
4290#endif
4291#ifdef XK_dead_horn
4292 XK_dead_horn,
4293#else
4294 0,
4295#endif
4261}; 4296};
4262 4297
4263/* This is a list of Lisp names for special "accent" characters. 4298/* This is a list of Lisp names for special "accent" characters.
@@ -4278,6 +4313,13 @@ static char *lispy_accent_keys[] =
4278 "dead-caron", 4313 "dead-caron",
4279 "dead-doubleacute", 4314 "dead-doubleacute",
4280 "dead-abovedot", 4315 "dead-abovedot",
4316 "dead-abovering",
4317 "dead-iota",
4318 "dead-belowdot",
4319 "dead-voiced-sound",
4320 "dead-semivoiced-sound",
4321 "dead-hook",
4322 "dead-horn",
4281}; 4323};
4282 4324
4283#ifdef HAVE_NTGUI 4325#ifdef HAVE_NTGUI
@@ -4444,6 +4486,10 @@ char *lispy_function_keys[] =
4444 4486
4445#else /* not HAVE_NTGUI */ 4487#else /* not HAVE_NTGUI */
4446 4488
4489/* This should be dealt with in XTread_socket now, and that doesn't
4490 depend on the client system having the Kana syms defined. See also
4491 the XK_kana_A case below. */
4492#if 0
4447#ifdef XK_kana_A 4493#ifdef XK_kana_A
4448static char *lispy_kana_keys[] = 4494static char *lispy_kana_keys[] =
4449 { 4495 {
@@ -4478,6 +4524,7 @@ static char *lispy_kana_keys[] =
4478 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x4f0 .. 0x4ff */ 4524 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x4f0 .. 0x4ff */
4479 }; 4525 };
4480#endif /* XK_kana_A */ 4526#endif /* XK_kana_A */
4527#endif /* 0 */
4481 4528
4482#define FUNCTION_KEY_OFFSET 0xff00 4529#define FUNCTION_KEY_OFFSET 0xff00
4483 4530
@@ -4747,6 +4794,7 @@ make_lispy_event (event)
4747 (unsigned)-1); 4794 (unsigned)-1);
4748 } 4795 }
4749 4796
4797#if 0
4750#ifdef XK_kana_A 4798#ifdef XK_kana_A
4751 if (event->code >= 0x400 && event->code < 0x500) 4799 if (event->code >= 0x400 && event->code < 0x500)
4752 return modify_event_symbol (event->code - 0x400, 4800 return modify_event_symbol (event->code - 0x400,
@@ -4756,6 +4804,7 @@ make_lispy_event (event)
4756 (sizeof (lispy_kana_keys) 4804 (sizeof (lispy_kana_keys)
4757 / sizeof (lispy_kana_keys[0]))); 4805 / sizeof (lispy_kana_keys[0])));
4758#endif /* XK_kana_A */ 4806#endif /* XK_kana_A */
4807#endif /* 0 */
4759 4808
4760#ifdef ISO_FUNCTION_KEY_OFFSET 4809#ifdef ISO_FUNCTION_KEY_OFFSET
4761 if (event->code < FUNCTION_KEY_OFFSET 4810 if (event->code < FUNCTION_KEY_OFFSET
@@ -4774,9 +4823,7 @@ make_lispy_event (event)
4774 || (event->code - FUNCTION_KEY_OFFSET 4823 || (event->code - FUNCTION_KEY_OFFSET
4775 >= sizeof lispy_function_keys / sizeof *lispy_function_keys)) 4824 >= sizeof lispy_function_keys / sizeof *lispy_function_keys))
4776 { 4825 {
4777 /* EVENT->code is an unknown keysym, for example someone 4826 /* EVENT->code is an unknown keysym. */
4778 assigned `ccaron' to a key in a locale where
4779 XmbLookupString doesn't return a translation for it. */
4780 char *name; 4827 char *name;
4781 Lisp_Object symbol; 4828 Lisp_Object symbol;
4782 4829