unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: upcase-word, &c. for non-latin alphabets
Date: Thu, 10 Apr 2014 09:55:40 +0700	[thread overview]
Message-ID: <CAP_d_8WqiqAp-gB5EBT+2y5Mm6vcjrOTC19apm-EjK9rFfDJgg@mail.gmail.com> (raw)
In-Reply-To: <831tx65sjy.fsf@gnu.org>

On Thu, Apr 10, 2014 at 12:19 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> Does it also do the right thing for the Turkic dotted and dotless I
>> (which is about the only thing in Unicode that cannot be up/downcased
>> without knowing the language)?
>
> N o, Emacs doesn't yet support titlecase.

As far as I understand, titlecase is when you capitalize each word in
a sentence (in English; in other languages rules differ). My question
was not about that.

In Turkic languages (including but not limited to Turkish), the
lowercase of ?I is not ?i but ?ı (U+0131 Latin small letter dotless
i), and the uppercase of ?i is ?İ (U+0130 Latin capital letter I with
dot above).

$ emacs --version
GNU Emacs 24.3.1
[…]
$ emacs -Q
M-x set-language-environment
Turkish
(in *scratch*) M-< M-u
==> ;; THIS buffer… (wrong for Turkish)
<down> <home> M-l
==> ;; if you want… (also wrong for Turkish)

Further, if I paste the above paragraph and try M-u and M-l on those
funny letters, Emacs does nothing to them.

This happens even when I do “sudo locale-gen tr_TR.utf8” and/or start
Emacs as “LANG=tr_TR.utf8 emacs -Q”.



  reply	other threads:[~2014-04-10  2:55 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 [this message]
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
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=CAP_d_8WqiqAp-gB5EBT+2y5Mm6vcjrOTC19apm-EjK9rFfDJgg@mail.gmail.com \
    --to=yuri.v.khan@gmail.com \
    --cc=eliz@gnu.org \
    --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).