unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Genovese <genovese.cr@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 10190@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	[thread overview]
Message-ID: <CAPum5Fj=Yar+gHsT4CFRxztZ0bQ7zDopEJW0UG_rARtF5Yq1gg@mail.gmail.com> (raw)
In-Reply-To: <jwvzkfb831i.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

>
> > 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

[-- Attachment #2: Type: text/html, Size: 1163 bytes --]

  reply	other threads:[~2011-12-02 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02  5:55 bug#10190: eventp can give incorrect results (subr.el), Emacs 23 and 24 Christopher Genovese
2011-12-02 14:31 ` Stefan Monnier
2011-12-02 15:17   ` Christopher Genovese [this message]
2012-07-19  6:25   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPum5Fj=Yar+gHsT4CFRxztZ0bQ7zDopEJW0UG_rARtF5Yq1gg@mail.gmail.com' \
    --to=genovese.cr@gmail.com \
    --cc=10190@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).