unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 16677@debbugs.gnu.org
Subject: bug#16677: 24.3.50; Wrong type argument: char-or-string-p, 67108923
Date: Fri, 07 Feb 2014 10:01:59 +0200	[thread overview]
Message-ID: <83ppmzxseg.fsf@gnu.org> (raw)
In-Reply-To: <CAAeL0STsVYYLN+AVaGkA-NAcV5WKyHevGrcdMjBntVWC5Oy=Eg@mail.gmail.com>

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 7 Feb 2014 04:55:04 +0100
> Cc: 16677@debbugs.gnu.org
> 
> +    (unless (characterp char)
> +      (user-error "%s is not a character"
> +                  (help-key-description (vector char) nil)))

"%s is not a valid character" is a better error message, IMO.





  reply	other threads:[~2014-02-07  8:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07  2:57 bug#16677: 24.3.50; Wrong type argument: char-or-string-p, 67108923 Drew Adams
2014-02-07  3:55 ` Juanma Barranquero
2014-02-07  8:01   ` Eli Zaretskii [this message]
2014-02-07 10:52     ` Juanma Barranquero
2014-02-07 11:15       ` Juanma Barranquero
2014-02-08 10:20       ` Juri Linkov
     [not found] <<2ba9d857-f8b1-4f0b-8640-41229d998838@default>
     [not found] ` <<CAAeL0STsVYYLN+AVaGkA-NAcV5WKyHevGrcdMjBntVWC5Oy=Eg@mail.gmail.com>
     [not found]   ` <<83ppmzxseg.fsf@gnu.org>
2014-02-07 17:02     ` Drew Adams

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=83ppmzxseg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16677@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /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).