help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to input opening quote (inverted single quote)?


From: B. T. Raven
Subject: Re: How to input opening quote (inverted single quote)?
Date: Tue, 5 Sep 2006 23:30:14 -0500

"Ryo" <furufuru@ccsr.u-tokyo.ac.jp> wrote in message
1157506962.356156.107060@m73g2000cwd.googlegroups.com">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 "&lsquo;"
> For example, "&lsquo;hello&rsquo;" 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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]