unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Inputting characters with specialist diacritic marks in emacs
@ 2016-01-19 13:30 mikew2801
  2016-01-19 15:00 ` Haines Brown
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: mikew2801 @ 2016-01-19 13:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I am a linguist who works particularly with Indic languages. I am trying to do most of my work in emacs, but I am having problems using characters with diacritic marks (for instance ā, ī and so on) which are commonly used to transliterate old Indic languages such as Sanskrit and Pali.

My makeshift solution is to use the "global-set-key" function to bind individual characters to keys, e.g.,

(global-set-key (kbd "C-c y") (lambda () (interactive) (insert "ñ")))
(global-set-key (kbd "C-c t") (lambda () (interactive) (insert "ṭ")))
(global-set-key (kbd "C-c d") (lambda () (interactive) (insert "ḍ")))

This is not ideal since it's quite difficult to type these bindings. In Linux I use Ibus mappings which involve double-tapping a similar key (e.g., when I type "a-a" I get "ā", when I type "i-i" I get "ī" and so on.

The question is - is there a way to make similar key-bindings in Emacs? Sublime facilitates this, but I'd rather stay in emacs and emacs 24 refuses to work with Ibus (I've tried other help forums on Ibus/emacs to no avail).

Any ideas/comments would most appreciated! As you can tell I'm very new to emacs.

Mike


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-01-27  8:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 13:30 Inputting characters with specialist diacritic marks in emacs mikew2801
2016-01-19 15:00 ` Haines Brown
2016-01-19 15:25 ` Drew Adams
2016-01-19 15:26 ` patrick mc allister
2016-01-19 15:35   ` Stefan Monnier
2016-01-19 16:03 ` Teemu Likonen
2016-01-19 16:20 ` Stefan Monnier
2016-01-19 19:45 ` Emanuel Berg
2016-01-19 20:49   ` Nick Dokos
2016-01-19 20:58     ` Emanuel Berg
2016-01-19 21:05     ` Emanuel Berg
2016-01-19 22:46       ` Robert Thorpe
2016-01-20  8:25 ` mikew2801
2016-01-21  0:43   ` Emanuel Berg
2016-01-21 20:31 ` Sven Bretfeld
     [not found] ` <mailman.2611.1453232746.843.help-gnu-emacs@gnu.org>
2016-01-22  0:49   ` B. T. Raven
2016-01-22  1:24     ` Emanuel Berg
2016-01-22  1:27     ` Joost Kremers
     [not found]     ` <mailman.2729.1453425895.843.help-gnu-emacs@gnu.org>
2016-01-22  1:31       ` Joost Kremers
2016-01-22  2:30         ` Emanuel Berg
2016-01-27  8:52 ` Alan

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).