[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pre-command-hook with input methods
From: |
Stefan Monnier |
Subject: |
Re: pre-command-hook with input methods |
Date: |
Fri, 06 Feb 2015 18:58:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> That's because by default there's no input method active. So, I guess,
> the trick would be to use input-method-activate-hook to advice the
> input-method-function.
The Right Way to fix this is to change the default value to be non-nil.
In this case, I think using #'list might work.
>> (you'll need an :around advice, and you'll need to check the orig
>> function (in case it's nil) before calling it).
>> There's clearly room for improvement here.
> A bit messy, yes. I blame all foreigners and their diacritics.
Obviously if we could ditch those damn foreigners things would be
a lot easier.
Stefan
- pre-command-hook with input methods, Phillip Lord, 2015/02/05
- Re: pre-command-hook with input methods, Stefan Monnier, 2015/02/05
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/06
- Re: pre-command-hook with input methods, Stefan Monnier, 2015/02/06
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/06
- Re: pre-command-hook with input methods,
Stefan Monnier <=
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/09
- Re: pre-command-hook with input methods, Stefan Monnier, 2015/02/09
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/09
- Re: pre-command-hook with input methods, Stefan Monnier, 2015/02/09
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/10
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/11
- Re: pre-command-hook with input methods, Stefan Monnier, 2015/02/11
- Re: pre-command-hook with input methods, Phillip Lord, 2015/02/12