From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Typing accented text. Date: Wed, 11 Jul 2012 21:45:15 +0700 Message-ID: References: <87obnm8rcd.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342017938 1366 80.91.229.3 (11 Jul 2012 14:45:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 14:45:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sergei Organov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 16:45:38 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoyAa-0001Tm-Tq for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 16:45:37 +0200 Original-Received: from localhost ([::1]:58199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyAZ-0005Qt-UK for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 10:45:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyAP-0005Ql-Lb for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 10:45:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoyAJ-0003DH-0a for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 10:45:25 -0400 Original-Received: from mail-gg0-f169.google.com ([209.85.161.169]:47048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyAI-0003Ct-Qe for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 10:45:18 -0400 Original-Received: by ggm4 with SMTP id 4so1492802ggm.0 for ; Wed, 11 Jul 2012 07:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/DLSJBTplaal2UgpQy7Y5HCOKDjpcDr9irSyxsqaGRE=; b=v+Uy4bsjFNom8Pq9GVkr6gwEJiDI4yGH8VH4DtjNmAYKQTkSKuGfGvoYg6NUG6FhBQ lCRu3k6vuDrG/8TTIvwgHB1gku3P1FjYMy4qzeQjpYts1XV7zJU/2RTmepziuirt+H3Z DsuxfwwkkDM721N0H3cULfWqEu22zJjIBKRrFbQmtleFr8crt1C6D7JpXaLUInvwYPtK NqRxFwI0QSibeacT4i28wqPh9RbDf5LQXTnAOPmlCV1dLOjbhQBh1I7IhkdLENHDyMLx Zi1FaC9KSUKFgWRuUciutdqpIzGTtIi1ts8+RRoxyBRRswaUJ2/h+LvCBFsDOcTOhgVX vk5g== Original-Received: by 10.68.223.129 with SMTP id qu1mr78126810pbc.165.1342017915766; Wed, 11 Jul 2012 07:45:15 -0700 (PDT) Original-Received: by 10.143.29.10 with HTTP; Wed, 11 Jul 2012 07:45:15 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: z5gNNGTDWMl0cTy2tYdJGBRRfcI X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85799 Archived-At: On Wed, Jul 11, 2012 at 8:40 PM, Sergei Organov wrote: >> Sergei Organov writes: >> > OK, thanks, but as far as I can see this works with English, and not > with something else, like Russian? Then how do I type, e.g.: > > =F7=CF=D4 '=CF=DE=C5=CE=D8 =CB=CF=D2'=CF=D4=CB=C9=CA =D0=D2=C9=CD'=C5=D2 > > in the same manner? There is no such thing as precomposed accented Cyrillic letters in Unicode (and those who fake it by using similarly shaped accented Latin letters are just jerks with no respect for proper semantic). One is supposed to insert a combining accent codepoint (U+0301) after the character to be accented. Now, your question boils down to "How do I enter a combining accent [in Emacs]?" I personally prefer using an XKB layout that has the combining accent somewhere on level 3, as it gives me consistent experience across my whole desktop environment. E.g. the +typo modification has it on Level3+AC01 (the key where latin A is usually located). You can also bind the following function to a key of your choice, but it will only work in Emacs: (defun insert-combining-acute (count) (interactive "p") (insert-char #x0301 count))