emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smartquotes.el -- Insertion of unicode quotes in text documents


From: David Kastrup
Subject: Re: smartquotes.el -- Insertion of unicode quotes in text documents
Date: Thu, 30 Aug 2007 14:32:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

> In article <address@hidden>, David Kastrup <address@hidden> writes:
>
>> I think that we should distinguish between user-visible
>> language-related input methods, and the quail mechanism being
>> available to minor modes internally.
>
>> The relation is similar between major and minor buffer modes: while
>> you usually don't have more than one major mode active, minor modes
>> are on _top_ of that, and often multiple such modes make sense.
>
> I'm not sure it is good to associate input methods with a
> minor mode.  We may have to have stacked input methods, and
> turn on and off them at once.

AUCTeX has something like LaTeX-math-mode (a proper minor mode) which
offers shortcuts for inputting math macros.  It also has some magic
surrounding various dash and quote combinations depending on Babel
package options (those don't form or warrant minor modes).

Having those work in read-string calls with INHERIT-INPUT-METHOD set
would be quite less surprising to the user.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]