From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: utf8 char display in buffer Date: Tue, 09 Jun 2009 06:24:25 -0400 Message-ID: <4A2E3859.2070804@mousecar.com> References: Reply-To: gebser@mousecar.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1244543132 20422 80.91.229.12 (9 Jun 2009 10:25:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jun 2009 10:25:32 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 09 12:25:29 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDyWE-0000sZ-88 for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2009 12:25:26 +0200 Original-Received: from localhost ([127.0.0.1]:45003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDyWD-00037Q-Fd for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jun 2009 06:25:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDyVT-00035T-JX for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 06:24:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDyVR-000350-HF for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 06:24:38 -0400 Original-Received: from [199.232.76.173] (port=39194 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDyVR-00034x-Ax for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 06:24:37 -0400 Original-Received: from mout.perfora.net ([74.208.4.194]:55915) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MDyVQ-0003XF-NO for help-gnu-emacs@gnu.org; Tue, 09 Jun 2009 06:24:37 -0400 Original-Received: from [192.168.0.26] (dsl093-011-017.cle1.dsl.speakeasy.net [66.93.11.17]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1MDyVH3TEx-000g4y; Tue, 09 Jun 2009 06:24:29 -0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=5AD091E7 X-Provags-ID: V01U2FsdGVkX19Ys9RK7lZxqGfbTGYuPIYaKWt9XgjKf9z+zor hi8a9APzNE92aKdmpASfDmV6647REeXZ9OU429j2gLJ1V78hlx P9Cxp/pbDMubwrYTwwj9VUeP70+8J+b X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:65084 Archived-At: On 06/08/2009 04:43 PM B. T. Raven wrote: > ken wrote: >> Hey, group, >> >> I already use a few utf8 characters in emacs (and in web pages), but >> recently needed to use a couple more. One is an 'a' with a horizontal >> line above it, the other an 'i' with a horizontal line above it. How do I >> input these into a buffer? >> >> >> tia, >> ken >> > > C-x ret C-\ latin-4-postfix > > then a,e,i,o,u followed by hyphen generate macroned vowels > > If you don't want all these then you could just put something like this > in .emacs > > (global-set-key "\C-ca" (lambda () (interactive) (insert ?ā ))) > (global-set-key "\C-ci" (lambda () (interactive) (insert ?ī ))) > > assuming you have these C-c combos free. > > Ed Fantastic! But... when I save and close the buffer and then open it up again, in place of the beautiful and correct characters, there are little boxes. I tried using ‘C-x C-m c utf-8 RET’ prior to 'C-x C-f filename'... but no joy. Same no-go with 'C-x C-m c mule-utf-8 RET'. The fact that these non-English characters display properly in the buffer initially tells me that I have the requisite fonts installed. So what little connection is emacs not making (and how do I tell it to make that connection)? Thanks, all.