all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joost.m.kremers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Inputting characters with specialist diacritic marks in emacs
Date: 22 Jan 2016 01:27:18 GMT	[thread overview]
Message-ID: <dgdermFl90nU1@mid.individual.net> (raw)
In-Reply-To: n7rues018dp@news6.newsguy.com

B. T. Raven wrote:
> P.S.  When will Emacs support a ring or stack of input method 
> invocations by the C-\ keychord?

Not really a ring or stack, and not stock Emacs, as it requires the
hydra package, but the following works nicely:

```
(defhydra jk-hydra-input-method (:exit t :hint nil :idle 1)
  "
Current input method: %s(or current-input-method \"none\")

_l_: latin-9-prefix    _t_: TeX           _s_: set input method
_i_: IPA               _x_: X-SAMPA
"
  ("s" set-input-method)
  ("i" (set-input-method "ipa"))
  ("x" (set-input-method "ipa-x-sampa"))
  ("t" (set-input-method "TeX"))
  ("l" (set-input-method "latin-9-prefix"))
  ("C-\\" (toggle-input-method)))
(bind-key "C-\\" #'jk-hydra-input-method/body)
```



-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


  parent reply	other threads:[~2016-01-22  1:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [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

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=dgdermFl90nU1@mid.individual.net \
    --to=joost.m.kremers@gmail.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.