[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21510: output
From: |
Drew Adams |
Subject: |
bug#21510: output |
Date: |
Fri, 18 Sep 2015 07:41:04 -0700 (PDT) |
> (defvar PPSCmc (car list-of-ppsc))
> PPSCmc
> output is quite strange
> 8 (#o10, #x8, ?\C-h)
> why?
Didn't bother to read the rest of your message, so apologies
if my guess is wrong. My guess is that you are wondering
why a number (in this case 8) is shown that way.
If so, that's how Emacs shows a character interactively:
in decimal (8), octal (#o10), hexadecimal (#x8), and as a
character (?\C-h). (In Emacs Lisp, a character is an
integer.)
So:
(setq foo ?\C-h) ; 8
M-: foo RET ; evaluate foo and print the value
8 (#o10, #x8, ?\C-h)
Same thing for (setq foo 8).