From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#16677: 24.3.50; Wrong type argument: char-or-string-p, 67108923
Date: Thu, 6 Feb 2014 18:57:20 -0800 (PST)
Message-ID: <2ba9d857-f8b1-4f0b-8640-41229d998838@default>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1391741900 6735 80.91.229.3 (7 Feb 2014 02:58:20 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 7 Feb 2014 02:58:20 +0000 (UTC)
To: 16677@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 03:58:27 2014
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WBbe6-0003Wv-Kt
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 03:58:26 +0100
Original-Received: from localhost ([::1]:39392 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WBbe6-0003Z6-Bk
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Feb 2014 21:58:26 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59797)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WBbds-0003YR-TG
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:58:23 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WBbdi-00056i-R4
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:58:12 -0500
Original-Received: from debbugs.gnu.org ([140.186.70.43]:39892)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WBbdi-00056e-No
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:58:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1WBbdi-0003Sg-8b
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:58:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Drew Adams <drew.adams@oracle.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 07 Feb 2014 02:58:02 +0000
Resent-Message-ID: <handler.16677.B.139174187513291@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 16677
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.139174187513291
	(code B ref -1); Fri, 07 Feb 2014 02:58:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2014 02:57:55 +0000
Original-Received: from localhost ([127.0.0.1]:53911 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1WBbda-0003SJ-G9
	for submit@debbugs.gnu.org; Thu, 06 Feb 2014 21:57:54 -0500
Original-Received: from eggs.gnu.org ([208.118.235.92]:58048)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <drew.adams@oracle.com>) id 1WBbdX-0003S8-SO
	for submit@debbugs.gnu.org; Thu, 06 Feb 2014 21:57:52 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WBbdN-000559-HS
	for submit@debbugs.gnu.org; Thu, 06 Feb 2014 21:57:51 -0500
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48213)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WBbdN-000555-DR
	for submit@debbugs.gnu.org; Thu, 06 Feb 2014 21:57:41 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59664)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WBbdE-0002yL-FH
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:57:40 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WBbd5-00051S-Jd
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:57:32 -0500
Original-Received: from userp1040.oracle.com ([156.151.31.81]:39946)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WBbd5-00051G-99
	for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 21:57:23 -0500
Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93])
	by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with
	ESMTP id s172vL9O032468
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-gnu-emacs@gnu.org>; Fri, 7 Feb 2014 02:57:22 GMT
Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
	by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id
	s172vLoZ017877
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <bug-gnu-emacs@gnu.org>; Fri, 7 Feb 2014 02:57:21 GMT
Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18])
	by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id
	s172vK9Z004406
	for <bug-gnu-emacs@gnu.org>; Fri, 7 Feb 2014 02:57:21 GMT
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8  (707110) [OL
	12.0.6680.5000 (x86)]
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=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:84769
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/84769>

emacs -Q

C-q C-;

Gives the cited error message.  It should give a more user
interface-level error, saying something to the effect that the key
sequence you used does not correspond to a character.

Note: in Emacs 20, this just inserts the escape character (^[), which is
wrong.  In Emacs 22, it just inserts the semicolon character (;), which
is also wrong.

Emacs 23 got it right, but it did not make the extra effort to give the
user an error message that s?he deserves: something more helpful than a
low-level barf message (even if that message might be comprehensible to
a knowledgable Emacs user).

Emacs can do better than that - this is, after all, a command, i.e.,
something that users use directly.

(I discovered this by accident, when my fingers slipped.)

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-02 on ODIEONE
Bzr revision: 116242 rudalics@gmx.at-20140202130041-n967dw77nw7ztvy9
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs
 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib
 CPPFLAGS=3D-Ic:/Devel/emacs/include'