From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: system-wide input methods and unmodified keys Date: Thu, 26 Jun 2014 10:28:16 -0700 Message-ID: <87egybd1hr.fsf@ericabrahamsen.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403803745 14005 80.91.229.3 (26 Jun 2014 17:29:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2014 17:29:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 26 19:28:55 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1X0DTh-0002cB-0T for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 19:28:53 +0200 Original-Received: from localhost ([::1]:46156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0DTg-0005EE-8j for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 13:28:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0DTP-0005E6-6k for help-gnu-emacs@gnu.org; Thu, 26 Jun 2014 13:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0DTH-0000fr-Sw for help-gnu-emacs@gnu.org; Thu, 26 Jun 2014 13:28:35 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0DTH-0000fU-Ms for help-gnu-emacs@gnu.org; Thu, 26 Jun 2014 13:28:27 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X0DTG-0002JU-1W for help-gnu-emacs@gnu.org; Thu, 26 Jun 2014 19:28:26 +0200 Original-Received: from c-76-28-195-250.hsd1.wa.comcast.net ([76.28.195.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 19:28:26 +0200 Original-Received: from eric by c-76-28-195-250.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 19:28:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-195-250.hsd1.wa.comcast.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:U6qkKQBqFqGu9E4tyjkU4CI0aVI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98422 Archived-At: Stefan Monnier writes: >> Ideally, the IM would only ever handle keypresses that would eventually >> call `self-insert-command' in emacs. I have no idea how this works, >> however -- I don't know which application "comes first" in receiving >> keypresses, and whether emacs could conceivably intercept these >> unmodified keys and prevent the IM from reading them. I imagine if the >> IM comes first, then there's no hope. > > The IM comes first, indeed, hence the problems. Maybe there's a way for > Emacs to temporarily suspend the external IM processing. IF so, someone > will have to implement support for it :-( > > But if/when such support is installed, we could maybe automatically > disable IM processing after C-x or in windows displaying > special-mode buffers. That would be really welcome. Bad news, but not a surprise. I would have no idea how to start implementing that. Something tells me we'll all be using Wayland before anyone gets to it :)