all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: David Kastrup <dak@gnu.org>, 8479@debbugs.gnu.org
Subject: bug#8479: 24.0.50; Strange error message upon M-z M-z
Date: Fri, 07 Oct 2011 02:59:36 -0400	[thread overview]
Message-ID: <7kehypl21z.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83tye4ral2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 11 Apr 2011 19:56:09 +0300")


This is a general issue, eg:

M-x number-to-register RET M-z

Wrong type argument: characterp, 134217850

It seems reasonable to me to get an error in these circumstances.

How about just making the error message more explicit:

*** src/callint.c	2011-07-09 07:06:04 +0000
--- src/callint.c	2011-10-07 06:55:53 +0000
***************
*** 535,540 ****
--- 535,541 ----
  	  message1_nolog ((char *) 0);
  	  /* Passing args[i] directly stimulates compiler bug */
  	  teml = args[i];
+ 	  if (! CHARACTERP (teml)) error ("Non-character input-event");
  	  visargs[i] = Fchar_to_string (teml);
  	  break;





  reply	other threads:[~2011-10-07  6:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 16:01 bug#8479: 24.0.50; Strange error message upon M-z M-z David Kastrup
2011-04-11 16:56 ` Eli Zaretskii
2011-10-07  6:59   ` Glenn Morris [this message]
2011-10-07 12:17     ` Eli Zaretskii
2011-10-08 21:07     ` Glenn Morris
2011-04-11 22:10 ` Andy Moreton
2011-04-12  5:15   ` Kevin Rodgers
2011-04-12  6:00     ` Eli Zaretskii
2011-04-14  2:05       ` Kevin Rodgers
2011-04-15  1:17     ` 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

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

  git send-email \
    --in-reply-to=7kehypl21z.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=8479@debbugs.gnu.org \
    --cc=dak@gnu.org \
    --cc=eliz@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.