From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Additional cleanup around xterm-mouse Date: Sat, 19 Dec 2020 17:50:15 -0500 Message-ID: References: <83o8jupnqd.fsf@gnu.org> <838savys2v.fsf@gnu.org> <3e3933d8ec1d5d3f6809385a8ac5f447@finder.org> <83mtz1moa5.fsf@gnu.org> <0ea60a4f2a7fb0698f84ac5957cafef3@finder.org> <83mtyxgzck.fsf@gnu.org> <2eac7957a7c20af3517a3ad0862a5b39@finder.org> <106c6d31ef09b83042ef0fab5ac0ed88@finder.org> <505d1b561cde375d1c6a55a738cd553d@finder.org> <83ft48csj5.fsf@gnu.org> <83bleptzng.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17773"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Jared Finder , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 19 23:51:16 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kql4G-0004YG-0m for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 23:51:16 +0100 Original-Received: from localhost ([::1]:42672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kql4F-0005il-1F for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Dec 2020 17:51:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kql3P-0005Ci-3u for emacs-devel@gnu.org; Sat, 19 Dec 2020 17:50:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5442) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kql3M-0001EU-G1; Sat, 19 Dec 2020 17:50:21 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B0B25806F1; Sat, 19 Dec 2020 17:50:18 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5870980784; Sat, 19 Dec 2020 17:50:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1608418217; bh=5cv7OUcUiW0WqzUuRpcg3i6mIz4qpiD4YJTM7BUZM50=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oiz3Myj4sDQwC42ud8jKs2rqKQqPavlmehW0xV2cDq5AFC41hKAlBdpKsO/oT/zBj 5mssNOETXxfLl9Xxx8Htq+vx4DPfH7OHjJhCANNO/EKpyv+wVRj074EmQNMopRJTw+ HevXc22sIEXvYKgMFCpGy4vqNHU77QxK+H3OKDwpaRLzqheRiV2Tgg2LHCm3mYrKAa 3N9Xll8JICUYoGlCqLBKCQ6MPVvRC1YYgCBsfbxOR87cM1ioHAUdyWZyhg+ub1F40v /KUiLORG4C1GaDYuFckJ/CZ5kPKi0bIYMN037B6MiJpX9RRnmbQBaChfEHVaNEE5ke 9kzDKX0Y1VqcQ== Original-Received: from alfajor (69-165-136-52.dsl.teksavvy.com [69.165.136.52]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 10B421204EB; Sat, 19 Dec 2020 17:50:17 -0500 (EST) In-Reply-To: <83bleptzng.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Dec 2020 20:32:35 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261296 Archived-At: > Let's see what Stefan suggests here. Stefan? I'm afraid I don't have much time to think about this. My suggestion is to add an option to `read-key` which makes it ignore `function-key-map` and all other hardcoded remappings that are only applied when a key sequence is not bound (i.e. those remappings which could/should conceptually be applied by `function-key-map` but aren't for various historical/technical reasons, such as dropping `down` events, demoting `drag` events, downcasing letters, ...). At the level of `read-key-sequence` this should use the `dont-downcase-last` argument (since `read-key` only reads one event, it's OK if `read-key-sequence` only applies it to the last event). Stefan