From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergei Organov Newsgroups: gmane.emacs.help Subject: Re: Typing accented text. Date: Wed, 11 Jul 2012 18:57:15 +0400 Message-ID: References: <87obnm8rcd.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1342018844 9436 80.91.229.3 (11 Jul 2012 15:00:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 15:00:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 17:00:44 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 1SoyPD-0006sK-KO for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 17:00:43 +0200 Original-Received: from localhost ([::1]:38485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyPC-0002A4-Pb for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 11:00:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyOy-00029l-Oo for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 11:00:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoyOs-00089N-IH for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 11:00:28 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoyOs-00088m-Ba for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 11:00:22 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SoyOo-0006IG-OW for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 17:00:18 +0200 Original-Received: from 89.175.180.246 ([89.175.180.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 17:00:18 +0200 Original-Received: from osv by 89.175.180.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jul 2012 17:00:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 89.175.180.246 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:85804 Archived-At: Yuri Khan writes: > 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.: >> >> Вот 'очень кор'откий прим'ер >> >> 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. That's what I actually meant, I believe. > 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)) Thanks, that looks like what I've asked for! -- Sergei.