From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: pre-command-hook with input methods Date: Mon, 09 Feb 2015 10:47:43 +0000 Message-ID: <87iofb2wfk.fsf@newcastle.ac.uk> References: <878ugcmqr6.fsf@newcastle.ac.uk> <87fvajb0vs.fsf@newcastle.ac.uk> <87siej9h8c.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423478887 2020 80.91.229.3 (9 Feb 2015 10:48:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 10:48:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 09 11:48:07 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YKlss-0003uw-UG for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 11:48:07 +0100 Original-Received: from localhost ([::1]:60005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKlss-0007xF-8W for ged-emacs-devel@m.gmane.org; Mon, 09 Feb 2015 05:48:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKlse-0007wu-An for emacs-devel@gnu.org; Mon, 09 Feb 2015 05:47:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKlsa-0006vI-Ve for emacs-devel@gnu.org; Mon, 09 Feb 2015 05:47:52 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:43791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKlsa-0006tJ-Pk for emacs-devel@gnu.org; Mon, 09 Feb 2015 05:47:48 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1YKlsW-0006iO-DX; Mon, 09 Feb 2015 10:47:44 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YKlsV-0000Iw-V7; Mon, 09 Feb 2015 10:47:43 +0000 In-Reply-To: (Stefan Monnier's message of "Fri, 6 Feb 2015 18:58:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182673 Archived-At: Stefan Monnier writes: >> 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. I am not sure how that would work. Surely the point of having this as a variable is that it can be changed? I could just advice quail-input-method and robin-input-method which a quick grep suggests are the only two functions of relevance. Phil