GNU bug report logs - #4836
"<S-packet> is undefined" when using AutoHotKey

Previous Next

Packages: emacs, w32;

Reported by: Glenn Linderman <ml <at> g.nevcal.com>

Date: Fri, 30 Oct 2009 23:45:04 UTC

Severity: normal

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 4836-done <at> debbugs.gnu.org (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Glenn Linderman <ml <at> g.nevcal.com>, 
 4836-done <at> debbugs.gnu.org
Subject: Re: bug#4836: "<S-packet> is undefined" when using AutoHotKey
Date: Sat, 14 Aug 2010 15:57:58 +0800
 On 31/10/2009 7:36 AM, Glenn Linderman wrote:
> emacs 22.1.1 worked fine with autohotkey.  I have macros for 
> correcting my common typos, and accelerating commonly entered items, 
> and entering characters not found on the keyboard.
>
> Seems none of the autohotkey macros works with emacs 23.1, instead 
> they generate an error "<S-packet> is undefined".

Apparently the "packet" key code is special, so we shouldn't treat it as 
a function key.

I have removed it from the list of function keys that Emacs recognizes, 
so the behaviour should go back to what it was before.  However my 
testing shows that we cannot receive Unicode characters outside the 
current codepage using VK_PACKET as Windows replaces such characters 
with '?' by the time we receive them. It appears that a low level 
keyboard hook may be able to retrieve the original character though, so 
if we receive Lennart's cleaned up keyboard hook patches I'll try to 
look at VK_PACKET support again.





This bug report was last modified 14 years and 272 days ago.

Previous Next


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