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#62355: 30.0.50; C-g doesn't always quit minibuffer on first press Date: Thu, 23 Mar 2023 19:47:49 +0000 Message-ID: References: <831qlh79at.fsf@gnu.org> <87zg83e032.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: Sean Whitton , Eli Zaretskii , Toon claes , "62355@debbugs.gnu.org" <62355@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 23 20:48:29 2023 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 1pfQvE-0001VA-Nt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Mar 2023 20:48:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfQuq-0002MA-Rc; Thu, 23 Mar 2023 15:48:04 -0400 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 1pfQup-0002Li-08 for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 15:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfQuo-00068k-OU for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 15:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfQuo-0003KX-KM for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Mar 2023 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62355 X-GNU-PR-Package: emacs Original-Received: via spool by 62355-submit@debbugs.gnu.org id=B62355.167960087612747 (code B ref 62355); Thu, 23 Mar 2023 19:48:02 +0000 Original-Received: (at 62355) by debbugs.gnu.org; 23 Mar 2023 19:47:56 +0000 Original-Received: from localhost ([127.0.0.1]:39378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfQuh-0003JV-Pl for submit@debbugs.gnu.org; Thu, 23 Mar 2023 15:47:56 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:53042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfQuf-0003J9-HT for 62355@debbugs.gnu.org; Thu, 23 Mar 2023 15:47:54 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32NJiB52023957; Thu, 23 Mar 2023 19:47:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=h/zLs6RGjDtFdPM2jz5MRdIMVNX0uxnKUWFQDA+MYgo=; b=Iimgn/b+96+w9kfslHBD9rrL8zQMCa6/rQ8HmP1GgKzXo+LGQLdlWDoTNzcu5vaGQmBb SaSZ7v4QUUVovIJLAN51xTtU324BTIBYwgC6zJnFxrXmsTEQ0iskgyGWP2CIItztF5Yz kPZUj+H+STS2M5Rw7+/ND/NFsKpez/CD7z2s8d6lAt19XK2F/PWBOmxhrqEYVsQ935eS FdgNuCccRZiTVLRWFzK0aXHmN67D2K2K4mGLpQgbjXB/EBc8SXw5OxrX/Q2KEldyDYAJ tKr3MtPqEXOrJbGRCNWSKI6BqXfi6e5auzfTYd94Ndmk/5EcFpNLY2Pbg5Gtr2Imupeb YA== Original-Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3pgw6g807v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Mar 2023 19:47:52 +0000 Original-Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 32NIcoce027844; Thu, 23 Mar 2023 19:47:52 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3pgtpvpdkq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Mar 2023 19:47:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eUzHG+y6z4wAB/P3mRANNHvezFNPNCfmsDgNw46QW/gwklREJYxF+8MqC+W0Si3hrpw1CVjBot7X/e++J/9q0AukVpz3dgUuSsHiSTMWzGXgYMzozrdjM08gPVjXB/TZnk0AKULiM+Pt6z4JVl5v+/uzUdW4hD79gTkfBaSeSoomosuApQs/vIADYNbUrDxpWpbyOy+h7W+hPArRDq+Q+F9zkPZHk0OPpvg0AziawC+KRZYZX8hct7ieRdI0F/HelvPIen+73Q8obpzoOen3V3dbR6H52xseerHfRNulY/c0dGIuYZQjTKt3KCCDW16uJSNqxzNapDpNdxds2492hA== 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=h/zLs6RGjDtFdPM2jz5MRdIMVNX0uxnKUWFQDA+MYgo=; b=Pwc+JKM6L180Qa6ihrrqzmj7GowgsRj93Y+KqrW6HuRkKptqqV1Gh/xlQRQ+NKQGhfrRdjnqOX1xszrj0g0dN5W32iVg1zT/FzvBTRfexGjAhNh1crlOgvzNmUJ8Xe8rOh3AXlDRaaf8ikvCcg1tONqBt08HTz3iKPa1NYn8+HsFCOxIgdsvQe28arjAQSlra+Qbat1LDwHaGhh6l7sOGumk+NjhtTL1cRw4O6y8QOEmAfcMDzFwjlDlYpXPk5dFfKmdWPecC5tXrIRm4Lnt1CGu8PGMsDJZU6w/U6UsxBYKFiZUo4HeJGQ6xB+cn2ZXHvu0HtZ1Jmk03SN3Y/NFWA== 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=h/zLs6RGjDtFdPM2jz5MRdIMVNX0uxnKUWFQDA+MYgo=; b=AZeNKmjOEEOEcMuLUARMqDeUOTGSqeM8TmZvy8upUKLAu5h8ULG/ZxIHWdvrWjJESIglkFTTa/jqNlhnxYDVw/guZcl8Cy2SEH2eF1p3qWnwT0PVk83wqL242cynqH7eWlSHTghsbLztcmHfvOipTcyKKDx6oL1PNy4y3DRVI9o= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH0PR10MB4438.namprd10.prod.outlook.com (2603:10b6:510:36::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Thu, 23 Mar 2023 19:47:50 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::32a3:707b:94c1:6e29]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::32a3:707b:94c1:6e29%2]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 19:47:49 +0000 Thread-Topic: [External] : bug#62355: 30.0.50; C-g doesn't always quit minibuffer on first press Thread-Index: AQHZXb4tDZbH/Y7XG0WLA20qaFXqaq8Iwp8g In-Reply-To: <87zg83e032.fsf@melete.silentflame.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH0PR10MB4438:EE_ x-ms-office365-filtering-correlation-id: 37a0d495-c8da-40bf-87ee-08db2bd77bc8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mzQOosWlYZMYozHeVAS5udBGGWpIKuAr4fryrpfdtjdqUkV/N007ByUDCKuKxk0qtit1sSIQaSWaB82G+7663MWYecTvVphMAu0fn69gUIZcZVURsQsQ/9GoM8QWdl7t1y8FC+w17nO/g+w7GM8M7HHbi7DWprSbn38jn1y9FMFsgIw62Q1P0TrUfaTmIOc+ZkCn+Mr+vTR+X8PTPPEPY2KvNYxMA6Hjarn0tEM+lY3/bymGmD/W8Aap03UUlzWGfLNzkADomWrEh5teF0oBGVFikAuk9hYY678a16BR98Mrf9Gs+UuXbIAoNgc7LuvJBRAwFoQap8o+TcDNQmOUGYsfWpxEVjS40vISkoc994/y5oeZsvP6L+fubq5rDc332fI1wJb+h1qxQlTo66izscH3p5aWiP8WdNWWCIsk9awgH5NO1n6xdxleS4+1tgE9un4iPG5qThI0f9WlNBbR3JrzmwyhM1//yO2iZ3CVkHgotKRvuSD1d30OJgG+VMfNW/5lJZnDn7OgWeNHsCSNvo3xZr0nnBc1D79T5Ddb1UV0so4T+0qrzRB0XXvMVzS9wbM1wC+WV5rVpwWKNYyWsw0Uz9cwqpTflxN411RhRAyT1GKSjrwXf8lqdcsHOkoVNAE7UTRClrFn9XZDSX3694sBKFc2GYw6FJoscyO/gDCFtLb5IRhyg96XmHY052VuZKgjq52Hy8JgUPT+E9swQg== 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:(13230025)(396003)(366004)(346002)(376002)(39860400002)(136003)(451199018)(26005)(6506007)(38100700002)(122000001)(83380400001)(55016003)(9686003)(186003)(41300700001)(478600001)(110136005)(33656002)(52536014)(5660300002)(8936002)(66446008)(4326008)(66476007)(66946007)(64756008)(8676002)(66556008)(76116006)(86362001)(316002)(7696005)(2906002)(38070700005)(71200400001)(44832011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: wXZWYk3EXcJmqeVKIOzoDfwOOBUvf/IG9ZPQV/vkVHGILoVQGl3pNGfQ8EaWYFKtJFg3jK6A8QlbvlM4D1sCtqDjQg8HaA74QuToVRMp8txC0bscY3BdHFhAQSoFdX/TiEMTpgHQ8vZ4uavgLU/tud5pghgv8RwcjycT8C2QjIyq+OjGZad/hbCHeF5KHXRq/rgrbE0K7L+OOQ433z08Ko/hdsbn6oFxCdgWf3gMd7lA1DBGpg9Kv5VX2n92PS2iVV9u5a4irB+8N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voeVQgUkUt7lSYpWbSa43PdPzg5OHn/DpGTt4chWaW+09IAT/jQHTjFlWoGyO29QrWY7RZb7N5NdRTCr0F2pKq1/bByCpQD1/2Eel1m8eSSU44QYoz7Z9tP70HovsgBqnAkoJImNEWCjZIEcFpdWTFr3h/Wftg9wUCst5nk3c87Z2X7hfby+c7AloG68NjcA6FsOyBrzTAR9x+Za2AYFmtUvafsZSHXyg1hTkdztP45bCHyt3RdcqoHCyz9RW6oHb/9Ac9KR72jjAPXl5WmcYOAzh7+P9C6YZfHuG6fl8FR6TzpcUN5tp0HkhkKoQJJEC84drIcYqoOYEa/LTt 6r0ydEWdJ8q9+rvcFZ8ZXtozWgbQBEnkFfESFSkTqfaQm8nTTkO4P33ztuP2t8TNvJapz/fegbt7N037gQ6HjJbXgYXyxkyp9E 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: 37a0d495-c8da-40bf-87ee-08db2bd77bc8 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 19:47:49.7134 (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: 4ydueiEO1lmWKueJTRKSfUzuM5lkL4mIKz6u6AsHDlGl+J+dpBZXVrhZzM6ge74J9VSuRZJbY8aGi/lmaHKc9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4438 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-23_13,2023-03-23_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 mlxlogscore=584 malwarescore=0 spamscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303150002 definitions=main-2303230144 X-Proofpoint-GUID: ssOzhl_aehxRytr63oJgYuQP60xXL-4V X-Proofpoint-ORIG-GUID: ssOzhl_aehxRytr63oJgYuQP60xXL-4V 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:258477 Archived-At: Whether or not there's a bug here I leave up to you. (But I concur with what Eli said.) ___ While you're using the minibuffer, you (interactively), as well as code running during the interaction, can do any number of things, some of which can initiate contexts where `C-g' does something specific (e.g. exits from some interaction within that context). This is of course amplified if you (or some code) initiates a recursive minibuffer. Things to remember here: 1. `C-g' is a general command. Its behavior is specific to the latest context for which it has a meaning/behavior. 2. To exit the minibuffer (a single level) directly, you can always use `C-]', which runs the command `abort-recursive-edit'. Get in the habit of using `C-j' to cancel/abort the current minibuffer level. If you have non-nil `enable-recursive-edit' then you can also do this when in the minibuffer, to exit _all_ minibuffer levels and return to top level: `M-x top-level'. (It also exits all recursive edits, not just recursive minibuffers.)