From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#54074: [External] : bug#54074: 29.0.50; Feature request emacs keymap-set and minor-modes Date: Sun, 20 Feb 2022 22:34:10 +0000 Message-ID: References: <87ley5iclc.fsf.ref@aol.com> <87ley5iclc.fsf@aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18731"; mail-complaints-to="usenet@ciao.gmane.io" To: Ergus , "54074@debbugs.gnu.org" <54074@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 20 23:35:14 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 1nLunS-0004ii-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 23:35:14 +0100 Original-Received: from localhost ([::1]:59278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLunQ-0003ew-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Feb 2022 17:35:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLunH-0003eY-7S for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 17:35:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLunG-0000ts-U9 for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 17:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLunG-0006sL-Dx for bug-gnu-emacs@gnu.org; Sun, 20 Feb 2022 17:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Feb 2022 22:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54074 X-GNU-PR-Package: emacs Original-Received: via spool by 54074-submit@debbugs.gnu.org id=B54074.164539646326381 (code B ref 54074); Sun, 20 Feb 2022 22:35:02 +0000 Original-Received: (at 54074) by debbugs.gnu.org; 20 Feb 2022 22:34:23 +0000 Original-Received: from localhost ([127.0.0.1]:34118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLumd-0006rR-93 for submit@debbugs.gnu.org; Sun, 20 Feb 2022 17:34:23 -0500 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:5802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLumb-0006rI-7E for 54074@debbugs.gnu.org; Sun, 20 Feb 2022 17:34:21 -0500 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21KA1g90015336; Sun, 20 Feb 2022 22:34:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=t+x8SC8F7aNmbvEhsAoWTKMFb/PVNybw7Ggt608pH1w=; b=FGonyfuL2yEaLnslLQjCgU3Aerb1VVt9ht9mi2+YbrqA0jb3TtMfRvx6f6TdQRAeeKsb P9MDMQV0VyeTYMMdUzN6t+sAj+occv2zQD0HUwcnFZH7sw7uQN5RGqC0N/HnCpYyMUR4 g8HyIA1bnkgyfZpwy0jlxgwJcE7qdvlzHjIlA+nlpRV/x/VjBEq1V23Iic/Ty3td09/R qWLp4vHVG67pUKjM6JUh2eWIbWd9Cc2qVxNVfwil9wk8lFGPHlTFR6hzdC+3rOOsXdd8 7OiAuKXrZ9KxmQxobj9lkJmTFPd6Bvn8+3Uk57LGGnZIG+gx/8bmWUszg2ArwLRbHmAn 1Q== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3eapye2jv4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Feb 2022 22:34:18 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21KMUReJ188413; Sun, 20 Feb 2022 22:34:12 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2104.outbound.protection.outlook.com [104.47.58.104]) by userp3020.oracle.com with ESMTP id 3eat0jtwuq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Feb 2022 22:34:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j4o6yzW23qj0qxCywi7fVYBXQQ+6BPRJtsDFFGPXd5P46fCys5WZx+V60Wlv3pwsq1hMi+MDgXeMNhA7g1Zl7RNCuNNTQb1HTPn74tSzQpIoh/41yln57rOJWtL6ZC4tFyEn5y+t85R7uONjnCj7zluz3kdgxJNPxeDvrUjF/OZyKvRs9XyZ1IbTc/llo0s16OlorjugCXQEMzsx2tvTIMx/mBaZx7/wO/8HBAS9Rv3dzWwlQ3BhMrfb9lb169z2h2j4dDS6z+5J05WogGVi7rsX0iU9Ds574zuwA2N85FVnelxmMAI7pVeTO+cE8EdKshYa89T0hfRd3G2fjM72HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t+x8SC8F7aNmbvEhsAoWTKMFb/PVNybw7Ggt608pH1w=; b=TmufL3ynlb3CV0EG1ZDk7IMcqoIRGz7iutWR2to6w9KltBemb/FPFWQaSVdhS6XKc/U0ez5U8qpVepfQGVSnqhBuu2+RzpyteGtD1WtVlisRbwr1Y5B9AnxsdQyiwUtTflnqmNzYcdJ7IaW02aCSy/8ph5pDtWUeOik5pQqahtwFscBtkOxVm5J3hEhsk3mK6GJ0wLZmnzI1L/st4Xv1i59HnAangGEA0izemfAD/pMEYdr35zF8GH7qR2av65lZVGp5rdIPMVic6VQfPjyM6k4QhwcLuEXITLdiCiv06CWSegp+bRq8xJ9Pqhd/dJos6karotGBB76D9ay9mbqC8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t+x8SC8F7aNmbvEhsAoWTKMFb/PVNybw7Ggt608pH1w=; b=gfgg4p60Sinx1qInfQUeQ77z+TJCG1Ijbf9WWi72MTmD9lfppjkFO5SVB0u6q/kt/008Zx99uA9bVZdNw9KBmtxoic7L/XbmjaPbLbnaO7pXAbT8OFOQjGGZ4q75HJCD5PIrq6ecC5cnqvpyJKuYrpQglzPq285IfrveHGiifRs= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN6PR1001MB2148.namprd10.prod.outlook.com (2603:10b6:405:2f::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Sun, 20 Feb 2022 22:34:10 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::6d28:e29d:4c51:6d04]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::6d28:e29d:4c51:6d04%5]) with mapi id 15.20.4995.027; Sun, 20 Feb 2022 22:34:10 +0000 Thread-Topic: [External] : bug#54074: 29.0.50; Feature request emacs keymap-set and minor-modes Thread-Index: AQHYJoztkmda15WwYECzdRaLrIkJCaydBfmw In-Reply-To: <87ley5iclc.fsf@aol.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b996717d-92b0-455b-bf65-08d9f4c11d35 x-ms-traffictypediagnostic: BN6PR1001MB2148:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cUPlqhfbKMuvLBg3LxBEhdXZBoK8JdWGe6SH3cUqJuTju2J400vgu4cLUGBFf0x/3YSLkYxAci25Sarh1c+OltSyiubi88xGGodoTzM7Uxoev773Tash3fsRAc1/5J8D8lHL3AjouE5QjbG/L7v531Gn8+qUqBhOD9TZFSBQNgkD4T2uGRwhO8mhme7zg+SeYeYIq18UuwUl6aXRVU47n5NbIVTuF6ArBcTF1qU94vU5PZ2mbtCoC+ZVhNdDPNvCQv/kOka1ko05psjKHULSLCcSwPC0He6eOkiDDb0mCzGD4pkgP0ddMWGkgKpIBRfFTRsbMLuwyIEI3eqlfPWbJoc6cPxQl36/2g2zxK2knNetlWgokzP2i5NWmWr7xYzgQfaSCqfsmRyE+zEXiIh2zakC+HNuTQRLnHzeEoaDQPqDOQPTrg1xoA4asw0dCR/Y3uvzxhWnEMWFYd5g/9q41r9+uDU90Mx44HmYxcGH+iuTtlK2u48zLn0lD9jRpvMZR5NZ74a8YhEnttG9rGDlWarRW0GYi5B3fdANdD1wTNUObIEXA+vlj4HFB3rN1WOLNUMFUabvyePI9HZs6HE7tfETYfi+cCG287rKKa/J29ls4fc3HuF5yH6GuG4MdcmUs5iQTqwSBkGhfQn03/IJ+Cz4TkjGgZd93FHCEgQw2nPFW60F0kCXNIzxXapuTqkRq4FZK1yYKQbqjc+zMPrMIw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(55016003)(76116006)(38070700005)(86362001)(2906002)(38100700002)(71200400001)(33656002)(508600001)(66446008)(66476007)(6506007)(7696005)(8676002)(66556008)(44832011)(64756008)(66946007)(4744005)(52536014)(9686003)(316002)(83380400001)(8936002)(26005)(5660300002)(186003)(122000001)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 7qmyywEm7EX369yale/Yvvn4xQKsf3mIaTCX11A2a8PPvv575deMp6blHe4a4fRLIxykvYWLd+1F0+wT82kIa1ZJye7KBUwiU5RtW6xwlw8wz/VI5AeRHjeAfivp9hSqPZYAhsfpD8EIr++kqfhx2zGtKdq29NgFIJTV4+ttsHWvz6dO3gaNtUfdvFUR3JBA6e5cGi1GN7LqbXMd6YgVt7Vob7uacaB4xSDBuCeH2CLJmhTN+WDrO1v71ih2YevwbeS7t4vFvYOW4YizR76MkPWsA4SzeerBKjHUK2yEsbur4Vh9TUF/mh/MJrpf6bux+LGdxhJNam9qI8D/fYt7bjvsX7wxBay1WHROgKhGHs2or2mi1flWgTh9ilc52z0GbNNsm8klSCNVIs9n1o4zUYtutxO4wZcBwmzKExbnTLkDURq2J/2SCuO4xqO0iM1D+UOA96c/Vhvp0rq+FCrODHjJXRWOOmPiTDEN0oC7ws1iwmI5MfaI6ACSAxoSXQxIMNKjRhnz2JzYY43pHlffQ/LpYDauI3uGZcZQa4YWsOSXftv7OFjgKV0bDhJzQrWgbwjEogxc4gnZTjsbLCXvFze+FcQpYw21Hj2s5tnjLbtbrpIPVyzYN+HQJDa71J284S+otKovDg0HTJjaBFeguClC6oOw113Zt9jM3dl36I4sdZIAzRnaf4ZeblZjDyHB7aZPqSWDucQusDKjjMnb/0/+3KZKd1dYWJQZuUpP1HXBNjPOJJaOgQDq0Z k3QJQaO6SpHiH3MTSeNdDYcnfUZLsZo0kcpykwnp2Fn1t7eO4SAs91sc2hgYdKvnvBmtnqqAZTd6J/arNuhw9eQdbeLwhlS33X X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b996717d-92b0-455b-bf65-08d9f4c11d35 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2022 22:34:10.3220 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0F/hgD7hgEoYCPcXX8m0X3d2TAl6FYw5IkiWDEuvLs4cVbOL0hbtjP48NsDVU61WGqiWeBea3sQCbcwbQbDTQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1001MB2148 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10264 signatures=677614 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 adultscore=0 mlxlogscore=700 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202200146 X-Proofpoint-ORIG-GUID: qZ52GhwlJ1MQNt2hPXnc4gbgES2OxFRB X-Proofpoint-GUID: qZ52GhwlJ1MQNt2hPXnc4gbgES2OxFRB 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:227288 Archived-At: FWIW, in Icicles I save the bindings before `icicle-mode' (minor mode) is turned on, and restore them when it is later turned off. (I do the same for some functions I redefine. The same can be done with adding and removing advice.) However, bindings that something or someone makes in the interim are of course not taken into consideration. That is, what's restored is the state before `icicle-mode' was turned on. I don't think there's a great general solution. No way to know what something or someone really might want, for example.