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: How to input opening quote (inverted single quote)? Date: Tue, 5 Sep 2006 23:30:14 -0500 Organization: UseNetServer.com Message-ID: References: <1157506962.356156.107060@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1157517765 846 80.91.229.2 (6 Sep 2006 04:42:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2006 04:42:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 06 06:42:44 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 1GKpFF-00078H-Dq for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Sep 2006 06:42:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKpFE-0005CP-VV for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Sep 2006 00:42:37 -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: 38 Original-X-Trace: b3a1144fe4de6a13b7b5e11993 Original-Xref: shelby.stanford.edu gnu.emacs.help:141562 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:37183 Archived-At: "Ryo" wrote in message news:1157506962.356156.107060@m73g2000cwd.googlegroups.com... > Hello all, > > I'm wondering whether it's possible to input an opening single > quotation mark (inverted quotation mark) on emacs. I'm using > emacs 21.4 on Debian GNU/Linux (testing). > > In HTML, you can get the character using "‘" > For example, "‘hello’" is displayed as > `hello' but with a nice inverted opening quotation mark. > > I'd like to compose email messages containing some Hawaiian > words, some of which require inverted single quatation marks > to indicate glottal stops, such as "Hawai`i". Other special > characters such as "a" ("a" with a macron or bar on its top) > can be input in the latin-4-postfix mode of emacs. (I looked > at Latin-1, -2, -3, and -4 coding set, but I don't think > there's an inverted quotation mark included in them.) > > Thanks, > Ryo > Hawai‘i. These are Unicode points U+2018-19. I think that version 22 has a nifty unicode character insert function. If you're not using that then you could just put something like this in your .emacs: (global-set-key "\C-cl" (lambda () (interactive) (insert ?‘ ))) (global-set-key "\C-cr" (lambda () (interactive) (insert ?’ ))) You should see these characters if you look at this under a utf-8 encoding. Ed Btw, does Hawaian use macrons? I knew that Māori did (I think).