unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aidan Kehoe <kehoea@parhasard.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, 1750@emacsbugs.donarmstrong.com
Subject: bug#1750: [PATCH] Support standard ASCII-IPA mappings in leim/quail/ipa.el.
Date: Wed, 31 Dec 2008 19:51:58 +0000	[thread overview]
Message-ID: <18779.52574.593394.579421@parhasard.net> (raw)
In-Reply-To: <jwvocysp4wc.fsf-monnier+emacsbugreports@gnu.org>

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 2461 bytes --]


 Ar an t-aonú lá is triochad de mí na Nollaig, scríobh Stefan Monnier: 

 > > I was asked to resend this after the release; see
 > > http://mid.gmane.org/17834.14174.503231.877601@parhasard.net and
 > > http://thread.gmane.org/gmane.emacs.pretest.bugs/16625 for the associated
 > > thread.
 > 
 > I was tempted to switch to utf-8 already so as to split your patch into
 > 2 steps where the second results in a cleaner patch.  But I see that
 > ipa.el contains some chars (IIUC there are 5 of those) that Emacs
 > doesn't know how to encode into utf-8.  E.g. the char associated with
 > "/3~".  Your patch seems to just remove that one.  Can you explain
 > what's going on with those?

Those characters are precomposed nasalised vowels (see the attached pic; see
also character code 54, which is just o, there is nothing special about the
o in IPA versus its use in most Roman-alpahbet languages. The pic uses a
font from https://launchpad.net/ubuntu/+source/xfonts-kappa20/0.396-1 .) 
Nasalisation is indicated in the IPA with a combining tilde, U+0303--Unicode
includes some vowels with precombined tildes, but not those.

I was going to say that the mapping of "~" to U+0303 in the input method
meant that equivalent text was input (with, for example "/3~" now giving
"\u025b\u0303"), but now I double-check, the mapping of "~" to U+0303 is
included in the other two input methods in the file, but not in that one. It
would be sensible to add it, though I hope people use the Kirshenbaum or
X-SAMPA input methods instead, there’s no good reason to learn that
ASCII-IPA mapping. 

The change at http://mid.gmane.org/18779.31070.155006.447104@parhasard.net
would also be helpful. Here’s a patch to the file including both:

--- ipa-20070114.el	2007-01-14 13:49:36.000000000 +0000
+++ ipa-20070114.el.new	2008-12-31 19:46:57.000000000 +0000
@@ -103,7 +103,8 @@
  ("M" ?ʍ)
  ("'" ?ˈ)
  ("`" ?ˌ)
- (":" ?ː))
+ (":" ?ː)
+ ("~" ?\u0303))
 
 (quail-define-package
  "kirshenbaum-ipa" "IPA" "IPA-K" t
@@ -138,7 +139,7 @@
  ("M" "ɱ")	;; Labio-dental nasal			U+0271
  ("N" "ŋ")	;; Velar nasal				U+014B
  ("O" "ɔ")	;; Low-mid back rounded vowel		U+0254
- ("P" "Φ")	;; Voiceless bilabial fricative		U+03A6
+ ("P" "ɸ")	;; Voiceless bilabial fricative		U+0278
  ("Q" "ɣ")	;; Voiced velar fricative		U+0263
  ("R" ["ʀ"	;; Alveolar trill			U+0280
        "ɚ"])    ;; Rhotacised schwa			U+025A




[-- Attachment #2: ipa-characters.png --]
[-- Type: image/png, Size: 6979 bytes --]

[-- Attachment #3: .signature --]
[-- Type: text/plain, Size: 141 bytes --]


-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?

  reply	other threads:[~2008-12-31 19:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y6p050zo.fsf@mail.jurta.org>
2008-12-31 13:41 ` bug#1750: [PATCH] Support standard ASCII-IPA mappings in leim/quail/ipa.el Aidan Kehoe
2008-12-31 18:40   ` Stefan Monnier
2008-12-31 19:51     ` Aidan Kehoe [this message]
2009-01-19  7:11       ` Aidan Kehoe
2008-12-31 19:57   ` James Cloos
2009-08-30 23:40   ` bug#1750: marked as done ([PATCH] Support standard ASCII-IPA mappings in leim/quail/ipa.el. ) Emacs bug Tracking System
     [not found] <4A807E29.1030405@gmail.com>
2009-08-10 20:30 ` bug#4109: Status of IPA patch? Aidan Kehoe
2009-08-30 23:40   ` bug#4109: marked as done (Status of IPA patch?) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18779.52574.593394.579421@parhasard.net \
    --to=kehoea@parhasard.net \
    --cc=1750@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).