GNU bug report logs - #10190
eventp can give incorrect results (subr.el), Emacs 23 and 24

Previous Next

Package: emacs;

Reported by: Christopher Genovese <genovese.cr <at> gmail.com>

Date: Fri, 2 Dec 2011 05:56:01 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Genovese <genovese.cr <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 10190 <at> debbugs.gnu.org
Subject: bug#10190: eventp can give incorrect results (subr.el), Emacs 23 and 24
Date: Fri, 2 Dec 2011 10:17:37 -0500
[Message part 1 (text/plain, inline)]
>
> > Neither of these seems like desirable behaviors.
>
> I tend to agree.  But I'm also curious in which circumstance did you
> bump into this problem.
>

I'm finishing up a package to give easy and flexible management of imports
during initialization, and in using the package, I had a function that made
some settings
based on a user-specified help character or event.  Failures showed up in
the test cases that used more obscure events like M-S-f5,
and the nil eventp caused unexpected behavior. (I've since changed
my approach.)


> My own impression is that the patch below would be an improvement, but
> I'd rather keep it for after 24.1.
>

That sounds reasonable to me.  It's not a critical issue.

Thanks for your help.

  -- Chris
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 314 days ago.

Previous Next


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