From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: patrick mc allister Newsgroups: gmane.emacs.help Subject: Re: Inputting characters with specialist diacritic marks in emacs Date: Tue, 19 Jan 2016 16:26:05 +0100 Message-ID: <20160119152605.GC1670@rdorte.org> References: <571eb6f1-614e-4ec0-9c55-bbe1fbfb9ddc@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1453217194 22645 80.91.229.3 (19 Jan 2016 15:26:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 15:26:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: mikew2801@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 19 16:26:27 2016 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 1aLYAs-0001dl-Kp for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 16:26:26 +0100 Original-Received: from localhost ([::1]:37512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLYAr-0003lA-Vm for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 10:26:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLYAh-0003l2-1K for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 10:26:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLYAb-00087w-Aj for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 10:26:14 -0500 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:37941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLYAa-00087j-Vu for help-gnu-emacs@gnu.org; Tue, 19 Jan 2016 10:26:09 -0500 Original-Received: by mail-wm0-x235.google.com with SMTP id b14so176791575wmb.1 for ; Tue, 19 Jan 2016 07:26:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rdorte-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=BEe+B/GY1XAATzuCJq8eK4YVevVBgaQaDJPO8IggN/E=; b=jjxrI38Hl/O62RvrpNyEkKCdPw7jlfzNnWc5yvsMq65yLM92oH1FsxSmcQrxc984j1 OlvOXp5+I3KaMt/viJ3d1EtOubKV8JOtZWhIzw+9vHRLtaUKGEuWo08UFQMFxTezS5FL RlDuJ9jaGylqwvJjedBnOVoUT+LQJ5Su8MFY7/np+9JEu1r60K2BMNLrR+8QrahAi1x3 ECnh29Rx6CoWlrIiZJQyXOhbkjgp+CbBtQqAab+QitjozmPJ4yUPI+fJ6C3GFsjDYSYt ZcgW7iUaYrwkPewI533u2RmDV01rOECSXT+4sTsSLLLpAPQsRtOHbq3t/eRCjaoaZUQV JX3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=BEe+B/GY1XAATzuCJq8eK4YVevVBgaQaDJPO8IggN/E=; b=iHOcPpTHpDuYx266MUA5J28XjSV7nG2Lcvl7nqwwE4hHvTMA9WAsBXCf1YDuDSLicQ qYtQM4fLgbqtjUZQcHZZ7ax1D4qYrW14ZduJywJzZqU3C/NmJFAyezq8VaEfL6EA9EfR 7PHCLU4bB22OGgCdkDwJcTTjwkzgmtvctssIhYzMe+7voE3anP0G1ivut4gOYlbC2gl/ AcZHC92JGiN3H4GdwU/V+Pp87yoIizJkkjtKrS51LiOPRGn4WTrXQm1nTBU+BBtR9tzA H1yBgSQPrR4gS8A/Ad2weSjvMabvJ5blhrpSw0q3ygT1aZANMghi0zKvdML4KLjPCcos p2lA== X-Gm-Message-State: ALoCoQnrW41BM6S92+pGMRPOflQGhiBs26hZnQ/TDw4lSgTH34HQLgkwb6dfyNvfk8rc5djsCShLxzakmZh8WDs1zIjTxjgJIw== X-Received: by 10.194.22.167 with SMTP id e7mr36175999wjf.29.1453217168005; Tue, 19 Jan 2016 07:26:08 -0800 (PST) Original-Received: from rdorte.org (kjc-WS084.kjc.uni-heidelberg.de. [147.142.246.55]) by smtp.gmail.com with ESMTPSA id i2sm28867230wjx.42.2016.01.19.07.26.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jan 2016 07:26:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <571eb6f1-614e-4ec0-9c55-bbe1fbfb9ddc@googlegroups.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 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:108779 Archived-At: On Tue, Jan 19, 2016 at 05:30:00AM -0800, mikew2801@gmail.com wrote: > 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. Stefan Baums wrote an input method: http://stefanbaums.com/unicode/sanskrit.el Save this somewhere (in your ~/.emacs.d/ is a good idea), and then call ~M-x load-file sanskrit.el~ when you need it. Or put this in your .emacs file: (load "~/.emacs.d/sanskrit.el") You can then enable it with ~M-x set-input-method sanskrit~. Then, typing "=a" should give you "ā". See ~M-x describe-input-method~ for more info. If you prefer the "aa" -> "ā" conversion, you'll have to add "("aa" ?ā)" etc. to sanskrit.el. Most alternatives built in to emacs have only partial support for all the characters you'll need, AFAIK: TeX or latin-postfix/prefix input methods. Best regards, -- patrick