From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Genovese Newsgroups: gmane.emacs.bugs Subject: bug#10190: eventp can give incorrect results (subr.el), Emacs 23 and 24 Date: Fri, 2 Dec 2011 10:17:37 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04190b406316ba04b31d79ff X-Trace: dough.gmane.org 1322839145 28941 80.91.229.12 (2 Dec 2011 15:19:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 15:19:05 +0000 (UTC) Cc: 10190@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 16:19:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWUtA-0000XF-Be for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 16:19:00 +0100 Original-Received: from localhost ([::1]:60691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWUt9-0000Rr-Sg for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2011 10:18:59 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWUt6-0000NB-Kh for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 10:18:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWUsx-0000r7-Fi for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 10:18:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWUsx-0000r3-Ce for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 10:18:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RWUtC-0008Ky-9r for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2011 10:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Genovese Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2011 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10190-submit@debbugs.gnu.org id=B10190.132283909731986 (code B ref 10190); Fri, 02 Dec 2011 15:19:02 +0000 Original-Received: (at 10190) by debbugs.gnu.org; 2 Dec 2011 15:18:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWUsT-0008Jr-Mo for submit@debbugs.gnu.org; Fri, 02 Dec 2011 10:18:17 -0500 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWUsQ-0008Jg-VN for 10190@debbugs.gnu.org; Fri, 02 Dec 2011 10:18:15 -0500 Original-Received: by dadv40 with SMTP id v40so1670848dad.3 for <10190@debbugs.gnu.org>; Fri, 02 Dec 2011 07:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1SDzQEKsttfyET43yHjwGXuRB46S379eeSdys12WUBk=; b=mfh102rANMMLocOgoOodoQYsIfFPlViC3/HC0QpvQdEa4baB61s3FV25gUiK50eWih +GnWSA9+e2+rtrE7Htv0C0HaPKjDKv1LXcqnTPsgrP0dyVHLtsZDflMnStEzCw4Up85P amX9F3rhC0TRQ04aFtvjcnaJx0bI9s5wZmDvA= Original-Received: by 10.68.72.36 with SMTP id a4mr15167655pbv.4.1322839078802; Fri, 02 Dec 2011 07:17:58 -0800 (PST) Original-Received: by 10.142.155.7 with HTTP; Fri, 2 Dec 2011 07:17:37 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 02 Dec 2011 10:19:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54617 Archived-At: --f46d04190b406316ba04b31d79ff Content-Type: text/plain; charset=ISO-8859-1 > > > 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 --f46d04190b406316ba04b31d79ff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0
> Neither of these seems like desirable behaviors.

I tend to agree. =A0But I'm also curious in which circumstance did you<= br> bump into this problem.

I'm finishing up a pac= kage to give easy and flexible management of imports
during initializati= on, and in using the package, I had a function that made some settings
based on a user-specified help character or event.=A0 Failures showed up in=
the test cases that used more obscure events like M-S-f5,
and the nil ev= entp caused unexpected behavior. (I've since changed
my approach.)=A0
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.=A0 It's not a critical issue.

Thanks for your= help.

=A0 -- Chris


--f46d04190b406316ba04b31d79ff--