From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Ascii character typeing Date: Sat, 22 Jul 2006 01:06:38 +0200 Organization: Informatimago Message-ID: <87psfyy2v5.fsf@thalassa.informatimago.com> References: <1153217054.336610.9850@b28g2000cwb.googlegroups.com> <87ejwhofsj.fsf@thalassa.informatimago.com> <87ac75mjnw.fsf@thalassa.informatimago.com> <91aa7$44c143a4$49ede01$14044@DIALUPUSA.NET> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153525271 32263 80.91.229.2 (21 Jul 2006 23:41:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 23:41:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 22 01:41:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G44c4-0001Bu-LJ for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Jul 2006 01:40:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G44c3-0004rk-P3 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2006 19:40:55 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-X-Trace: individual.net GmrScTzHA2OBg+G/2+R73w/EQQIquG5cCzx2mhJufjf+bhinQt Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:8jzq7O7LwSFFDsr7AdgppZi2IbM= Original-Xref: shelby.stanford.edu gnu.emacs.help:140473 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36151 Archived-At: "B. T. Raven" writes: > "Brian Elmegaard" wrote in message > news:uejwh2tsy.fsf@rkspeed-rugby.dk... >> Pascal Bourguignon 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