unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Greg Minshall <minshall@acm.org>
Cc: emacs-devel@gnu.org
Subject: Re: Tweaking quail input methods
Date: Sat, 30 Sep 2017 14:49:57 +0300	[thread overview]
Message-ID: <83lgkw4d96.fsf@gnu.org> (raw)
In-Reply-To: <11413.1506260207@minshall-apollo.minshall.org> (message from Greg Minshall on Sun, 24 Sep 2017 16:36:47 +0300)

> From: Greg Minshall <minshall@acm.org>
> Date: Sun, 24 Sep 2017 16:36:47 +0300
> 
> hi.  my question is similar to Stefan's (of many months ago), at least
> in being related to re-using quail.
> 
> i would like to add an Azerbaijani Cyrillic input method.  95% of this
> method is the same as, e.g., "russian-computer".
> 
> is there an obvious way to "subclass" an existing method?  i notice (in
> leim/quail/cyrillic.el), for example, that "russian-computer" doesn't
> "subclass" "russian-typewriter" (though they share much).
> 
> i could do something like cyrillic.el does for "cyrillic-jcuken", i.e.,
> capture the entire "russian-computer" under a new name, then use
> quail-active-hook (suggested by K. Handa) to add some modifications.
> when ever "azerbaijani-cyrillic" is activated.  but, that seems a bit
> convoluted (but, maybe is what i should do?).

I think you should just copy the rules of russian-computer and modify
whatever you need for the Azerbaijani Cyrillic input method.

Thanks.



  reply	other threads:[~2017-09-30 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 17:36 Tweaking quail input methods Stefan Monnier
2017-03-11 15:14 ` handa
2017-09-24 13:36 ` Greg Minshall
2017-09-30 11:49   ` Eli Zaretskii [this message]
2017-10-15 10:42     ` Greg Minshall

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83lgkw4d96.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=minshall@acm.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 public inbox

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

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