unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Will Parsons <varro@nodomain.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: upcase-word, &c. for non-latin alphabets
Date: 10 Apr 2014 00:38:24 GMT	[thread overview]
Message-ID: <slrnlkbq00.1h5.varro@anukis.local> (raw)
In-Reply-To: mailman.19307.1397061058.10748.help-gnu-emacs@gnu.org

Eli Zaretskii wrote:
>> From: Will Parsons <varro@nodomain.invalid>
>> Date: 9 Apr 2014 15:52:04 GMT
>> 
>> I'd like to be able use the upcase/downcase/capitalize-word functions
>> (or equivalents) for non-Latin alphabets (utf-8 encoding).  Can anyone
>> give me any hints on how to go about it?
>
> Just use M-u, M-l, and M-c.  Emacs already knows about all the
> alphabets it supports (which is all of the Unicode).

I thought I tried it and it didn't work, but on retrying, I see that
is does work, partially.  I.e., some letters change case, but not
others.  The alphabet I'm working with is fairly exotic, viz. Coptic,
so I'm not supprised there are problems (in fact I'm surprised it
works even partially), so perhaps this qualifies as a bug?

I'm curious though, since upcase-word &al. are built-in, does that
mean that that the base Emacs code contains enormous correspondance
tables for the large number of Unicode code blocks that must exist?

-- 
Will


  parent reply	other threads:[~2014-04-10  0:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-09 15:52 upcase-word, &c. for non-latin alphabets Will Parsons
2014-04-09 16:30 ` Eli Zaretskii
2014-04-09 16:59   ` Yuri Khan
2014-04-09 17:19     ` Eli Zaretskii
2014-04-10  2:55       ` Yuri Khan
2014-04-10 15:26         ` Eli Zaretskii
     [not found] ` <mailman.19307.1397061058.10748.help-gnu-emacs@gnu.org>
2014-04-10  0:38   ` Will Parsons [this message]
2014-04-10  2:45     ` Eli Zaretskii

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=slrnlkbq00.1h5.varro@anukis.local \
    --to=varro@nodomain.invalid \
    --cc=gyliamos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).