From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54027: Wishlist: Support full CSI u specification for terminal input Date: Mon, 28 Feb 2022 15:31:49 +0200 Message-ID: <83k0dfm81m.fsf@gnu.org> References: <8335kg1srp.fsf@gnu.org> <83mtieoxpj.fsf@gnu.org> <831qznnq1i.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31165"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alexhutcheson@google.com, 54027@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 28 14:43:39 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nOgJO-0007x3-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Feb 2022 14:43:38 +0100 Original-Received: from localhost ([::1]:41266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOgJL-0003jn-GJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Feb 2022 08:43:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOg99-00016h-7N for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 08:33:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOg98-0003x5-F8 for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 08:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOg98-00085w-5B for bug-gnu-emacs@gnu.org; Mon, 28 Feb 2022 08:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Feb 2022 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54027 X-GNU-PR-Package: emacs Original-Received: via spool by 54027-submit@debbugs.gnu.org id=B54027.164605512831053 (code B ref 54027); Mon, 28 Feb 2022 13:33:02 +0000 Original-Received: (at 54027) by debbugs.gnu.org; 28 Feb 2022 13:32:08 +0000 Original-Received: from localhost ([127.0.0.1]:60535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOg8G-00084n-48 for submit@debbugs.gnu.org; Mon, 28 Feb 2022 08:32:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOg8E-00084K-9I for 54027@debbugs.gnu.org; Mon, 28 Feb 2022 08:32:06 -0500 Original-Received: from [2001:470:142:3::e] (port=40332 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOg89-0003oF-18; Mon, 28 Feb 2022 08:32:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5Dui8q0Wz95ncH82eFmmjy5fT+ix/YsK7RhMpxQsqeg=; b=f7l/ViKhA34A tj3MTGEfJPk6sD8dFID6YLHCW8QcyslIfYBVZ234w78dfr01/mRKayQEqRT374hDolJIDCOqJYJ7C SKoJ0z/hh+a4b/hK6HZoqrXyab5HWkGFFHnv7Q17grjVHrymTeaqcnrj1hgOAzdgT+g2vrRQNY1VL TUlGSRCYN34UuyQmM0+aFWfh1uGDUbChuFC7sQztTzuITE9wZObwApR2dJ9F/GGJDkpzSn8TsNqQd mJ7wiiMZT4VtPS8n879JnzPDbhMcw9wp7UNg1i+6oO9cigXDh/hErRAvQhgQFgO/sxKI0LeBDTUDV eivTV9L1Wsva866a7T5UuQ==; Original-Received: from [87.69.77.57] (port=2040 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOg86-0001u6-UP; Mon, 28 Feb 2022 08:32:00 -0500 In-Reply-To: (message from Stefan Monnier on Mon, 28 Feb 2022 08:22:05 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227813 Archived-At: > From: Stefan Monnier > Cc: alexhutcheson@google.com, 54027@debbugs.gnu.org > Date: Mon, 28 Feb 2022 08:22:05 -0500 > > > Thanks, but what is your opinion about which of the combinations we > > need to add? > > The patch I posted adds all of them, and that reflects my opinion (tho > the patch only bothered to do it for the `ESC [ 27 ...` format). Then I must be missing something. Do you mean this part: + (while (<= #x30 final #x3F) + (push final params) ;And read more. + (setq final (read-char))) + (while (<= #x20 final #x2F) + (push final intermediates) + (setq final (read-char))) This doesn't add all the 96 characters with the modifiers, it only adds the digits and the punctuation characters.