From: Pascal Bourguignon <pjb@informatimago.com>
Subject: Re: Ascii character typeing
Date: Sat, 22 Jul 2006 01:06:38 +0200 [thread overview]
Message-ID: <87psfyy2v5.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 91aa7$44c143a4$49ede01$14044@DIALUPUSA.NET
"B. T. Raven" <ecinmn@alcisp.com> writes:
> "Brian Elmegaard" <brian@rkspeed-rugby.dk> wrote in message
> news:uejwh2tsy.fsf@rkspeed-rugby.dk...
>> Pascal Bourguignon <pjb@informatimago.com> writes:
>>
>> > Then you can type M-x ascii RET
>> > in any buffer to see the ISO-8859-1 characters.
>>
>> Thanks for the hint. Do I get something better with quoted characters
>> than with enabling input methods? These look as quite strong tools to
>> me.
>
> Or if you don't have the loop and do functions, this kludge will work:
>
> (defun ascii ()
> (interactive)
> (setq i 0)
> (while (<= i 255)
> (when (zerop (mod i 8)) (insert "\n"))
> (insert (format " %3d %c " i i))
> (setq i (1+ i))
> )
> ) ;; maybe let i would work here instead of setq i.
>
> For some reason it doesn't produce a glyph for chars 128-159, only the
> octal code \nnn. This is really out of the ascii range but so is 160 to
> 255, for which I see the glyphs.
This is wrong. The ASCII standard only defines codes between 0 and 127.
--
__Pascal Bourguignon__ http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein
next prev parent reply other threads:[~2006-07-21 23:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-18 10:04 Ascii character typeing Sonu
2006-07-18 11:40 ` Pascal Bourguignon
2006-07-18 12:23 ` Mathias Dahl
2006-07-19 9:19 ` Brian Elmegaard
2006-07-19 14:00 ` Pascal Bourguignon
2006-07-19 20:04 ` Brian Elmegaard
2006-07-19 20:20 ` Pascal Bourguignon
2006-07-19 21:01 ` Brian Elmegaard
2006-07-21 21:12 ` B. T. Raven
2006-07-21 21:58 ` Kevin Rodgers
2006-07-21 23:06 ` Pascal Bourguignon [this message]
[not found] ` <mailman.4342.1153642971.9609.help-gnu-emacs@gnu.org>
2006-07-23 13:45 ` B. T. Raven
2006-08-01 11:17 ` David Combs
2006-07-19 20:15 ` Peter Lee
2006-07-18 13:57 ` B. T. Raven
2006-07-18 21:48 ` Mark Geary
2006-07-19 0:54 ` B. T. Raven
2006-07-19 9:31 ` Brian Elmegaard
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=87psfyy2v5.fsf@thalassa.informatimago.com \
--to=pjb@informatimago.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 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.