From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.bugs Subject: bug#74936: 30.0.91; special-event-map does not respect t Date: Thu, 19 Dec 2024 20:54:56 +0900 Message-ID: References: <86h671m6v0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39754"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Psionic K , 74936@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 19 12:57:23 2024 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 1tOF9e-000A7S-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 12:57:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOF9L-0002mS-Qt; Thu, 19 Dec 2024 06:57:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOF9L-0002mI-3i for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:57:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOF9K-0004gB-P5 for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=uVb5Lmxk1PrAhafmRyis2uZbORJ2nLRTxAP5B3nUY08=; b=eDpx7HAxl8Kh/dUn3GRJL48nWQRiOXhX4qvtbBwZK4ZiP9c0bq43fFzLg8lSQq7xSPTUeezTBwnZdiczYwxGbgiQCKToFjTZEpG4Xjrm8wz43yuaAX0kZI0lsp804TTJQR2k4jZVGoaeFZNEcEPxr8Hsyv66MaRBNRfPSpPf22kJ5F9hRb8hkPi7pQPQ4k6Lr6M09FT7fK69eXCOViUwCY0C5cTty36KzJQWCVxu1H26gK5/0yOZh4X6V0dC2VjklLlqupIrFiP6osXXwZy3lvPp3xsLxV+OSJUEr+GJ254oVSVJY4iFNemZwpmL9XqMpCizi1Rdvdl/bx/gK3BWlg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOF9K-0003mT-HR for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 06:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Psionic K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 11:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74936 X-GNU-PR-Package: emacs Original-Received: via spool by 74936-submit@debbugs.gnu.org id=B74936.173460937514467 (code B ref 74936); Thu, 19 Dec 2024 11:57:02 +0000 Original-Received: (at 74936) by debbugs.gnu.org; 19 Dec 2024 11:56:15 +0000 Original-Received: from localhost ([127.0.0.1]:37757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF8Y-0003lH-Sq for submit@debbugs.gnu.org; Thu, 19 Dec 2024 06:56:15 -0500 Original-Received: from mail-yw1-f174.google.com ([209.85.128.174]:47288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOF8W-0003kz-U4 for 74936@debbugs.gnu.org; Thu, 19 Dec 2024 06:56:13 -0500 Original-Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-6ef4b6719d1so5739417b3.2 for <74936@debbugs.gnu.org>; Thu, 19 Dec 2024 03:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1734609307; x=1735214107; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uVb5Lmxk1PrAhafmRyis2uZbORJ2nLRTxAP5B3nUY08=; b=MygpoyTckbvkAiPq7UIqo97mcwhv6SqQBDG/VE2MBGfOPdtNo+qcKlztf2H2sfrhHV DqFRwBBd9cSI8tRFxnPIk6fFFT3qMP3S3YY/3Ab7PoyZc7aWufxFF790byJy/ULGjXxD tTvDe0846R9yuvUXSgJHxZ7blLI8JPekB5OQ08oynBcT0YMCC4YDHO1tPC8KH+dOZHBY F4AKdr2ur/i7tZbg5zSMqkL9FshmsD6xLLeHfJTYY1FOOaPBw+OzSOoHc5CpR8eRb1DB b2sQEPbbG4Su5j6VB1HREdmUa3umA5UwWGKHZwIK6KMlWpm2zYLGA6kNMBb0B5gAbEHz VlDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734609307; x=1735214107; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uVb5Lmxk1PrAhafmRyis2uZbORJ2nLRTxAP5B3nUY08=; b=EPMLK+T1bxt6GE69PjDInKtVM98P7BnweRNZKmflE7ufKMu8UBmmneGGkzBLozQ6LE XW+T2sG1mzuuEKJvufdN3PmTmJ9+e37UW94TOhhH8gOiACVII3KocRxzBqwMGj6VNwoS Xn9xrHCHOoZspjnOl+X8R8NPNdS3s6ai5wCxg1Q1qPqne5aUpwQDrQ9Uhx+tSLTz2h3D 6v8noKXa8AjzlmnQFyH0icm4Y0lIn6oz9SwqhzhtS6LDkzY78H/k4U0IL+KjHdjJlORm ff89HPKbYo99IqHiVaF4yB0HQgEOYOpxLuxY3bv6Flq/LPVMd1Y9fosngyoiHilz65fK 4L3A== X-Forwarded-Encrypted: i=1; AJvYcCUgs/n9d5Z3GuAIwZi0tCxBLsm/t9DnQWUPqrCNSbeLEp7k99G9IrsMayGwlx296V6nqcqigw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxO5c5ZL5Dancje24BpDyNq0RolxrNmciXgkr98enQt9QY17DAm bIisWNfQ54cr2eZdiSdWWFJjcyMMJEzZzZ50R6MFhAXtrckOxfc2PLajw9ZMJcTeIz/DkwvWi9B R4yCxBuIEQ1a/wfVIUnH+dexWcnxNgdzLiBpj+A== X-Gm-Gg: ASbGncu9PvRqoiUHqLwIaGlYSh7WZggH/cm0Blq9Eu3+7HgIV+JqQL1Sb2zgPlreKQR XwCsz7SSJ0uEBmcozvoamdILuX+XbWSzJIZB5lFil X-Google-Smtp-Source: AGHT+IF3rKUoXxUUzv/39XKtDUsJliAe4v3reWmwsCfENd43hcBqGGMqCHbBQZkJ7Zz8EvTVfzc1olS135gjWFH1mWI= X-Received: by 2002:a05:690c:45c1:b0:6ee:694f:fea3 with SMTP id 00721157ae682-6f3d0e1ecc2mr55954467b3.14.1734609307376; Thu, 19 Dec 2024 03:55:07 -0800 (PST) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297383 Archived-At: I'll try the patch tomorrow. > could be satisfied in many other ways Since I have code that will need to work on Emacs 30-ish, I have to ask if any of the other ways are good ways? In the meantime I've thought of using `overriding-terminal-local-map' with a keyhole nil binding for only my expected input in between idling. A "keyhole" map that allows 'e' through. (let ((km (list 'keymap (cons t #'pmx--haha)))) (keymap-set km "M-x" #'counsel-M-x) (keymap-set km "e" nil) (use-local-map km)) (current-local-map) To completely prevent fat-fingers, I then need to close the keyhole after each first pass. Then there's the problem of input calling commands that clobber `overriding-terminal-local-map'. In conclusion, the special map feels like the only correct one to express the idea.