From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Best way to intercept terminal escape sequences? Date: Sat, 28 Aug 2010 01:54:23 +0200 Message-ID: References: <20100827142724.E1DD712F@hazard.ece.cmu.edu> <4C77CF3C.6050406@ece.cmu.edu> <834oegm5c3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282953289 15617 80.91.229.12 (27 Aug 2010 23:54:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 23:54:49 +0000 (UTC) Cc: Ryan Johnson , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 28 01:54:46 2010 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.69) (envelope-from ) id 1Op8kv-0000eJ-Rs for ged-emacs-devel@m.gmane.org; Sat, 28 Aug 2010 01:54:46 +0200 Original-Received: from localhost ([127.0.0.1]:43853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op8kv-0004iw-CP for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 19:54:45 -0400 Original-Received: from [140.186.70.92] (port=49044 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Op8kl-0004ha-GV for emacs-devel@gnu.org; Fri, 27 Aug 2010 19:54:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Op8kg-0002mN-Kd for emacs-devel@gnu.org; Fri, 27 Aug 2010 19:54:35 -0400 Original-Received: from smtp23.services.sfr.fr ([93.17.128.19]:17398) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Op8kb-0002lM-Du; Fri, 27 Aug 2010 19:54:25 -0400 Original-Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2303.sfr.fr (SMTP Server) with ESMTP id 776337000088; Sat, 28 Aug 2010 01:54:24 +0200 (CEST) Original-Received: from fmsmemgm.homelinux.net (97.92.71-86.rev.gaoland.net [86.71.92.97]) by msfrf2303.sfr.fr (SMTP Server) with ESMTP id 3A26A7000087; Sat, 28 Aug 2010 01:54:24 +0200 (CEST) X-SFR-UUID: 20100827235424238.3A26A7000087@msfrf2303.sfr.fr Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id DEC11AE3C6; Sat, 28 Aug 2010 01:54:23 +0200 (CEST) In-Reply-To: <834oegm5c3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Aug 2010 18:40:44 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:129325 Archived-At: > I think the only way that is easier and cleaner would be if Emacs > could read the mouse input from a separate file descriptor. We could Note that under older Emacsen, read-event did not obey the keyboard-coding-system at all: it only applied to read-key-sequence. So maybe we should simply change read-event not to try and decoding keyboard input. Stefan