From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Ascii character typeing Date: Sun, 23 Jul 2006 08:45:46 -0500 Organization: UseNetServer.com Message-ID: <799f$44c37e22$49fa638$4569@DIALUPUSA.NET> 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="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153665637 31345 80.91.229.2 (23 Jul 2006 14:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2006 14:40:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 23 16:40:32 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 1G4f8A-0008Sb-2D for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jul 2006 16:40:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4f89-0003cm-Lz for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Jul 2006 10:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 39 Original-X-Trace: 0799f44c37e22a13a039d04569 Original-Xref: shelby.stanford.edu gnu.emacs.help:140550 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:36175 Archived-At: "Kevin Rodgers" wrote in message news:mailman.4342.1153642971.9609.help-gnu-emacs@gnu.org... > B. T. Raven wrote: > > 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. > > I doubt your buffer uses the us-ascii coding system. `C-h v > buffer-file-coding-system' to see what it does use. Right you are. This varialbe shows "utf-8." And, as Pascal notes, everything above char 127 is out of ASCII range. If I remember right, back in the early '80's on the IBM PC this was called extended ascii, which included some Western European vowels with diacritics and box drawing characters. > > What you see displayed also depends on whether the font includes a glyph > at each code point. I usally use arialuni.ttf which has fairly good coverage of the Basic Multi-lingual Plane (used with 21.3 w32 build). Ed