[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preventing accidental prefix match in input-method
From: |
Stefan Monnier |
Subject: |
Re: Preventing accidental prefix match in input-method |
Date: |
Fri, 23 Nov 2018 18:03:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> IOW I'd like to be able to say something like "\b is rewritten to β but
>> only if immediately followed by a word boundary".
[...]
> The way to deal with this, AFAICT, is to add a binding that effectively
> cancels the "special" character. For example, latin-9-prefix uses space for
> this: typing ' followed by a gives «á», but ' + space + a gives «'a». The
> TeX input method allows you to type backslash twice to get
> a single backslash.
Yes, that's what I do now. Doubling backslash works well in cases where
it's only needed in unusual circumstances.
But I find it very inconvenient in latex-mode because I very frequently
need to type a normal \<something>.
Stefan