From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#29150: Fwd: 26.0.90; Input decoding is sometimes skipped in TTY (xterm-mouse-mode) Date: Wed, 08 Nov 2017 15:30:15 -0600 Message-ID: <8760akjw60.fsf@gmail.com> References: <87y3nka4ez.fsf@t-online.de> <87wp34a2i1.fsf@t-online.de> <87a7zwjxo6.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510176672 7300 195.159.176.226 (8 Nov 2017 21:31:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 21:31:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 29150@debbugs.gnu.org, Stefan Monnier To: Olaf Rogalsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 22:31:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCXw9-0001c9-5F for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 22:31:05 +0100 Original-Received: from localhost ([::1]:33979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCXwG-0001a8-Ac for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 16:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCXw9-0001ZR-D4 for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 16:31:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCXw6-0004lD-9K for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 16:31:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCXw6-0004l1-4I for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 16:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCXw5-0008G7-Sv for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 16:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29150-submit@debbugs.gnu.org id=B29150.151017662631697 (code B ref 29150); Wed, 08 Nov 2017 21:31:01 +0000 Original-Received: (at 29150) by debbugs.gnu.org; 8 Nov 2017 21:30:26 +0000 Original-Received: from localhost ([127.0.0.1]:59020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCXvV-0008FA-LE for submit@debbugs.gnu.org; Wed, 08 Nov 2017 16:30:25 -0500 Original-Received: from mail-it0-f47.google.com ([209.85.214.47]:55775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCXvU-0008Ey-1v for 29150@debbugs.gnu.org; Wed, 08 Nov 2017 16:30:24 -0500 Original-Received: by mail-it0-f47.google.com with SMTP id l196so8228135itl.4 for <29150@debbugs.gnu.org>; Wed, 08 Nov 2017 13:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ESW3isR1+R+p2NPSdJm8zU3cQj26Hf0YbpZpUeRS42U=; b=c8skBZNW8BHk10eFjuDnHw8duzP1KXpNGBBdeVZGbuVtMOwNpw8QLf2PV5TgTZeQkN TFLTdiprN/TXic4gt1E4/Ov1SKNLUNVGjH3PLGTg6wnV8n131OzHHiGVCbP6MgpRfLsj PmA/Iql6gx58PucDIOwF/eeofAX7xvkLJPSdkxvrAVIC/p1zBQlsm+tCw569/YLxT0Gq p/7ps6geiZ0EruMp2KzaZheGTRH6Bx+84Z3RuYTD98WsrFy1qPPCnDhAVDydg05uAhoT Q4TiF75u7CupvJ9fUGNAM2wgOTPWSxqWprFws5PbZbnCv/P1Ovp+O3nmgOnxHIyR2ior 9ugg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ESW3isR1+R+p2NPSdJm8zU3cQj26Hf0YbpZpUeRS42U=; b=Pypwlfy9ba+z84sFhnjgIGzV2Z1DCdKq+2neeQwsmSG8s6qt8G1J7ZLAxKAOpbvJTH nlBNVaIIlGD7ZN5ZUxolYXzyygHoBN4uB7Nm+o9CcdVlSov8BJCcDKwaKGbkhzMG73RN U0xubrTk/vUbBogJSeLgskK5fNJD2BIFUV5v0IUk9tqvpsLp0J5IxgV9DfnE4iIUzbgU 6OZEaN4Wyx13WpqUDozVAz7T8OL+AT8zZsHJhoh+FJl02c0MvOJptzDpVizh9A2Wx6wR TOQVruEinDE7nDwwr1yk9atiwqN10FKEenyg1aYdab4b1L2vkRciD5v8w5YxADJL4c5j vENg== X-Gm-Message-State: AJaThX6XyJHp/2CajfvJhigYz+/e0D5xDAXc2JVb4BMS06t0TqorSIq6 73KT1g4eGGLrcD/KdUF7hBc= X-Google-Smtp-Source: ABhQp+SY61T5ppF/0ITPSdhQ83robRidWXAODZCdVWl2iHD5Qge0l8eQmlihboKucp8TZkIeSvgGzg== X-Received: by 10.36.26.150 with SMTP id 144mr2629745iti.38.1510176618291; Wed, 08 Nov 2017 13:30:18 -0800 (PST) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id e142sm2682195ite.28.2017.11.08.13.30.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Nov 2017 13:30:17 -0800 (PST) In-Reply-To: <87a7zwjxo6.fsf@gmail.com> (Alex's message of "Wed, 08 Nov 2017 14:57:45 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139635 Archived-At: Alex writes: > This old code uses `read-event', which, as you mentioned in your other > reply, doesn't use `input-decode-map'. Replacing it with: > > (aref (read-key-sequence-vector nil) 0) > > fixes Bug#29143. > > Eli, Stefan, does it make sense that `read-event' doesn't take into > account `input-decode-map'? If so, then is there a better alternative to > the above workaround? Perhaps there could be a new optional argument to > `read-event'? Wait, isn't this just `read-key'? So instead of the above aref/read-key-sequence-vector, it should just be `read-key'? Perhaps the docstring of `input-decode-map' should mention `read-key' as well?