From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: smartquotes.el -- Insertion of unicode quotes in text documents Date: Thu, 30 Aug 2007 14:32:19 +0200 Message-ID: <86myw9i4oc.fsf@lola.quinscape.zz> References: <1b151690708252221j7177cea1xe8916c52a1110190@mail.gmail.com> <1b151690708262146r56a80a4i2fb5bf3e07177bb8@mail.gmail.com> <854pikajwb.fsf@lola.goethe.zz> <86abs9juh5.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188477156 15078 80.91.229.12 (30 Aug 2007 12:32:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2007 12:32:36 +0000 (UTC) Cc: blais@furius.ca, rms@gnu.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 14:32:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQjCI-00025f-Tc for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 14:32:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQjCI-0001wR-Gv for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2007 08:32:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQjCD-0001uh-Dx for emacs-devel@gnu.org; Thu, 30 Aug 2007 08:32:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQjCB-0001sW-Pi for emacs-devel@gnu.org; Thu, 30 Aug 2007 08:32:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQjCB-0001sE-Mx for emacs-devel@gnu.org; Thu, 30 Aug 2007 08:32:23 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQjC9-0007d4-6e for emacs-devel@gnu.org; Thu, 30 Aug 2007 08:32:23 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id OAA20879 for ; Thu, 30 Aug 2007 14:32:14 +0200 X-Delivered-To: Original-Received: (qmail 27525 invoked from network); 30 Aug 2007 12:32:19 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 30 Aug 2007 12:32:19 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id E3A5BE9B24; Thu, 30 Aug 2007 14:32:19 +0200 (CEST) In-Reply-To: (Kenichi Handa's message of "Thu\, 30 Aug 2007 20\:46\:48 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77413 Archived-At: Kenichi Handa writes: > In article <86abs9juh5.fsf@lola.quinscape.zz>, David Kastrup 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