bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7006: Reader oddity after ?\^ --- should signal error if invalid ins


From: Lars Magne Ingebrigtsen
Subject: bug#7006: Reader oddity after ?\^ --- should signal error if invalid instead of being garbage
Date: Thu, 14 Jul 2011 15:57:05 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Daniel Colascione <dan.colascione@gmail.com> writes:

> ?\^ is supposed to be the prefix for a control character --- for
> example, ?\^g. However, the character following the ^ can be a
> non-existent control character like ' ' or ')'. Currently, the reader
> outputs a nonsense value in this case. Instead, the reader ought to
> signal an error.

Hm, yes:

?\^9
=> 67108921

That seems awfully confusing.  

(format "%x" 67108921)
=> "4000039"

Does anybody know whether this a feature or a bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]