all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergei Organov <osv@javad.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Typing accented text.
Date: Wed, 11 Jul 2012 18:57:15 +0400	[thread overview]
Message-ID: <jtk48b$2q3$2@dough.gmane.org> (raw)
In-Reply-To: CAP_d_8WkL1D3Js+K9k1NOQcdYM_uU_sj_7cmzzXZCyofZ+QD=Q@mail.gmail.com

Yuri Khan <yuri.v.khan@gmail.com> writes:

> On Wed, Jul 11, 2012 at 8:40 PM, Sergei Organov <osv@javad.com> wrote:
>>> Sergei Organov <osv@javad.com> 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.




  reply	other threads:[~2012-07-11 14:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4558.1342005053.855.help-gnu-emacs@gnu.org>
2012-07-11 11:33 ` Typing accented text Pascal J. Bourguignon
2012-07-11 13:40   ` Sergei Organov
2012-07-11 14:45     ` Yuri Khan
2012-07-11 14:57       ` Sergei Organov [this message]
2012-07-12 10:26       ` Sergei Organov
2012-07-11 13:10 ` B. T. Raven
2012-07-11 13:58   ` Sergei Organov
2012-07-11 14:42     ` Eric Abrahamsen
2012-07-11 14:54       ` Sergei Organov
2012-07-11 14:53     ` Doug Lewan
2012-07-11 11:10 Sergei Organov

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

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

  git send-email \
    --in-reply-to='jtk48b$2q3$2@dough.gmane.org' \
    --to=osv@javad.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.