emacs-devel
[Top][All Lists]
Advanced

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

Re: NS Port keeps crashing when FN key combo is pressed.


From: David Reitter
Subject: Re: NS Port keeps crashing when FN key combo is pressed.
Date: Thu, 14 Jan 2010 17:54:53 -0500

On Jan 14, 2010, at 4:48 PM, Jimmy Yuen Ho Wong wrote:

> Sometime since the last change few changes in nsterm.m, whenever I hit a 
> function key combo, Emacs.app immediately crashes with no stack trace. I'm 
> not sure what's happening.
> 
> I'm running on Mac OS X 10.5.8 PPC.


Indeed it crashes, but getting a trace was no problem for me.

Try the patch below, which fixes the issue for me.
(I believe it does not need a Qmodifier_value attribute, as the function 
modifier isn't checked in xterm.c.)

- David


 
diff --git a/src/nsterm.m b/src/nsterm.m
index ff2e47a..ce6cca5 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6707,6 +6707,7 @@ syms_of_nsterm ()
   DEFSYM (Qmeta, "meta");
   DEFSYM (Qsuper, "super");
   DEFSYM (Qcontrol, "control");
+  DEFSYM (Qnone, "none");
   Fput (Qalt, Qmodifier_value, make_number (alt_modifier));
   Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier));
   Fput (Qmeta, Qmodifier_value, make_number (meta_modifier));


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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