From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Inputting characters with specialist diacritic marks in emacs Date: 22 Jan 2016 01:27:18 GMT Message-ID: References: <571eb6f1-614e-4ec0-9c55-bbe1fbfb9ddc@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1453426222 25287 80.91.229.3 (22 Jan 2016 01:30:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jan 2016 01:30:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 22 02:30:22 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 1aMQYP-0007sT-G1 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jan 2016 02:30:21 +0100 Original-Received: from localhost ([::1]:50309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMQYO-00046A-PO for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jan 2016 20:30:20 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: individual.net fML5s2B49S2R3q2jyor0DwWh9nKLK7GRLH95ZiVPCkjRzECNt5 Cancel-Lock: sha1:V4TCYo4CgivDKdMfL0kJf6MZ0AU= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:216528 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:108819 Archived-At: 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)