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#26871: [External] : bug#26871: 25.2; Support revert-buffer for Customize buffers Date: Mon, 5 Jul 2021 15:58:06 +0000 Message-ID: References: <87tul8x0yg.fsf@gnus.org> 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="25865"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "26871@debbugs.gnu.org" <26871@debbugs.gnu.org> To: Lars Ingebrigtsen , Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 05 17:59:22 2021 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 1m0R0E-0006a5-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 17:59:22 +0200 Original-Received: from localhost ([::1]:48918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0R0D-0000DS-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 11:59:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0Qzu-0000D4-KN for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 11:59:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0Qzu-0002o8-9H for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 11:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0Qzu-0007Dz-1j for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 11:59: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: Mon, 05 Jul 2021 15:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26871 X-GNU-PR-Package: emacs Original-Received: via spool by 26871-submit@debbugs.gnu.org id=B26871.162550069327692 (code B ref 26871); Mon, 05 Jul 2021 15:59:01 +0000 Original-Received: (at 26871) by debbugs.gnu.org; 5 Jul 2021 15:58:13 +0000 Original-Received: from localhost ([127.0.0.1]:46543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0Qz7-0007CZ-1C for submit@debbugs.gnu.org; Mon, 05 Jul 2021 11:58:13 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:60006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0Qz4-0007CQ-I3 for 26871@debbugs.gnu.org; Mon, 05 Jul 2021 11:58:11 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 165Fq5Qa007527; Mon, 5 Jul 2021 15:58:09 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-2020-01-29; bh=ilPh3uoh3eZ9ISFc9SL5PQcHhffpiZE7iRiZAHNG7pE=; b=frW0cXP8c+r3j+7lOZfV+G/H5HU8ItTIdirXfmk7VWox4xU9E0l71YAE/UQVstwndxvt i7SNfZrzBfdg598hjQA7pIS4RvWwy4p0cL3gJ+qUfOJ6MJGtI5AKPj7483bjLaBBXrFm +y16FCen2D4Y2pZtV5vXDDflXrWaEcLLszlQmyauPT5ZQ810FyB//Uaok7VzIX0/QXzT TDWuHdpdnMwal6Lg1FJyf86dJ7jjCMVi1OmgeghKO7yiomNlBPkFVNSoVvP94WQn/lxX BBmK/Al1NGcLH68DycTrrp/JgC83ozjMfBp8d0bhr50mBeGv3XGxS8eyTKSmBfO+peA/ UQ== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 39m2aa8a15-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Jul 2021 15:58:09 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 165Fu1hM140839; Mon, 5 Jul 2021 15:58:08 GMT Original-Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2170.outbound.protection.outlook.com [104.47.59.170]) by userp3030.oracle.com with ESMTP id 39jd0yshb6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Jul 2021 15:58:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ShACjYktlKMRZnVZC3a5gNFv12DqE9thgh0kS+UklTej50JwPPvzhz4WVnyaPIux0OFT4GNgAD4Q+ACD0UAk4mmW//P9X86yitT78JEjn2eXFDOhF/DKhdH6Vwx1HFCtXyFoBHv5N0dw2j59wBUFFL/Sf6LKyguv49+dIdMqFPqdsciBAoteLxB34OdHn69rxo2OM329fDfYCKTe7nRinzEk8eoR99UbdlMEdQINc1trJWYa8Q5LxH2jT9qCxAKgLQ97woeybP4haqcpOz9eNfw01rL5nGk9dMQTd5rTAbPnSWPiHQX5x6wlATj7SoL5eg9SQ0AETUmHhqm867dtaw== 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-SenderADCheck; bh=ilPh3uoh3eZ9ISFc9SL5PQcHhffpiZE7iRiZAHNG7pE=; b=h0a+zbrON9Hl4o+5NyRTG27PZNqsINvgOi3zadl51mh6OK0ORPk9gI75hfklz8ocEuy8lTlXn0ZELf5NJzgR2tx+bLR9XOEBBoRXpMkF7FpBYG5e0Jn+X+b3nCqgtRW29yjEHlhY9Qzw9CMVCpPzSmeu0ffQmLokindHM9t59EE+YOeSHUyzcTexWdsxBuxz55xv4GdE55vpdCEBAvyjagRG9AhrOrlPygajMhIRQACKDJwkUAPDAn0OHJO9HPpHyZOfcWWBQvRpGsM3fzEQHvd7BA2TrXgI+JW5KBB79E1sWlFw7g0jmW0OiAtKOfiRdXnxu7rzkCzrRx5vhO3oFQ== 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=ilPh3uoh3eZ9ISFc9SL5PQcHhffpiZE7iRiZAHNG7pE=; b=zwAsHp7eioDWoSypQpYP7OQQw6S7CvjYRciCZZzLj1CMl3TMVhhKfpzEQCMG7fFxbGv/GBW1M3j6pR3Sve41Xj7zW0lME4OmVwW1vxrJHjVXH6GPZI+e/7y7GNXoKTsIxHObiR5c6E+Sp0R8KKIe32WC5XWvzPay3lhY1/BWxRs= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4539.namprd10.prod.outlook.com (2603:10b6:806:117::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.29; Mon, 5 Jul 2021 15:58:06 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2d9c:ca1d:2bc0:c861]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2d9c:ca1d:2bc0:c861%4]) with mapi id 15.20.4287.033; Mon, 5 Jul 2021 15:58:06 +0000 Thread-Topic: [External] : bug#26871: 25.2; Support revert-buffer for Customize buffers Thread-Index: AQHXca5pdgdVYbao4EmcF+7O9WpN7as0fphA In-Reply-To: <87tul8x0yg.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US authentication-results: gnus.org; dkim=none (message not signed) header.d=none;gnus.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a1e1e8c-38bd-47f9-bd11-08d93fcdadc2 x-ms-traffictypediagnostic: SA2PR10MB4539: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XWxI+AZQ0QUujs8JLd6jiEIN9PGz4VlP7rn9IRgC7aKL3ClQl7zOKHCJjZg6DrvUPia6bsM8f0PDu0MjuNz0xGUs09WBpgCkW8FHxpimaq/EtxEN1imSJIfxjTbYEAae+H0KUvyGShRrObYkGR94jWSfq/4g7WYn14Zgu6jGATwMlyVweQaH62vKi92Y1apGrb2UmTrCcSovrvFkdR2KTkoTFm1AdnwwRlBc5g8ZRRFElltJ8sfwlyaq1FvLNxCNKqSx9QD7yf3nxNKMJ4wwwC8TyafirMuKJ0RqYjRs61/dTLdHoeHu0ax21eCAnZycTbgYr0X59bEMNKcKgp8vyv5/vHyJvDN1S9QmC7yIBGnoi58FRKIhFecUVhxlyezr58QPzYyoyQnV7JWtCAwJUUQnzcBSLo+cpSJ7kDwiAN5qapB9kYGFKICRVYMSlyJSq25DYvjj5MjpOaXqqsYBujsp9UiYPs0lGRaJEP9C9FhB04xmofnwIu7E3C6GH5KK8aRjxDJZkLP67zFcmBoTVJODpdvs5/WIvGwOki3PVbVxRrx7mFwIXhLBJ3BHVgrGtBdxidLtydVnYDZ9hUmEnqE0Vh8eNMFvb7oQfsb2QcNC4Y14pTT7A4ubSeVk/XguBNuqr8HpQmpgyNxmexb6EfjYPCg8c6v+2YiHA0nqNFJm+QXNgZ561iYct6GlWTmR5Z/4p6nAPMhefKIFhVmCQhhTsoUrd+P2FNteVmf0TKU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(39860400002)(366004)(346002)(136003)(396003)(122000001)(6506007)(966005)(2906002)(44832011)(110136005)(52536014)(76116006)(66476007)(71200400001)(83380400001)(66556008)(64756008)(33656002)(66446008)(5660300002)(316002)(9686003)(4326008)(7696005)(38100700002)(66946007)(55016002)(478600001)(86362001)(186003)(26005)(8936002)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: r/n667hsazkmCputxmgYP28KxBklTdwWzATOZ6zgjsnMcaujkDXdsaL+CqY+Lm3JCZLpvMnEifdqci9HSfCN+dQekW8t3uuKVeyRi3P5JNp9ikxe8LnXlLsmBZ3k7ahWaWW8BH5RAJyjImdJ6f68fpRcrpjhQv9KecJNBsgiM5KQAjCft6LET+4/r9JlpFGiSyaVX1DL29RsWWD1+8qQ8XcpxAtnpMatxBjRCCmOiRqoboCeRkA6lKKh/gi5UOoQ49+QpRYp4DvhIksVXmLDp3kjPO97w9KDZw4azOhwI7TKb4YJIwTCqUclhkFWtazTnr1KKAJAN9iHDMLxVHYnxLgo+IreZlwwBIh2mEb0KdiLULn/OJUeHKeQPIGTosXy50a8flpPx1rmFry9fdhorwamYS0EmRm91P1hN+ae8TLSx7SJk2faY460wvouttoOR29cV7zDtwMbZEZl+KBv1Qz2RZn3IcxOo+BZJW5t01+IEcvWHVAkFEHsrs4ltuqH9nO9ys9siTsB7PJwuLJdF4qrb5znV8jbIpSerywyDRFk77R3sMKGJDaeAws0xbRd39J5zG40FbkAN8+fjjdPnp2w+SXTnSP+sLODd5nGxnsP5TQM0HfmU5IAlXv6wCiAOFAvady+tUrEVKs8sCujZLw5atV/7iYWa46b/voit3rJsEhkYU+PlS89mjzlZU/q5D0M1jMT9qFvuF4Tuei8nxzmaxEEzakVxPLmf/PD/HMazvC4dWGvKrN1RP hVlVq5oxXuLW9o7Oek+QZrGMOBwoW3oId4BVLQ7MJbwAUM9w0/hX8U9u/GNlHP1AZtJhJO7F/AVyH/D5OLZL0vB1yLnmK/FkBP x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a1e1e8c-38bd-47f9-bd11-08d93fcdadc2 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2021 15:58:06.4716 (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: Pvypdsa4NlSKJnarY4eV01Z3BF3uQKj3xoj0wo/EXMsd1gjVAs9R0MkosbN0WuHYV62JEnxMsSIotp8kLEeLnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4539 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10036 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 suspectscore=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107050084 X-Proofpoint-ORIG-GUID: JTKa5jc1nv5fEP2FS0PMVDNlHqRFH0y3 X-Proofpoint-GUID: JTKa5jc1nv5fEP2FS0PMVDNlHqRFH0y3 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:209473 Archived-At: > > The only way I'm aware of to refresh a Customize buffer when things > > have changed externally is to kill the buffer and recreate it. > > > > It would be convenient if `revert-buffer' was supported, and bound > > to "g" as usual. >=20 > Yeah, reverting in Customize buffers can be convenient, especially when > developing (and loading new stuff), so I've added this to Emacs 28. > (But it uses the global `C-x x g' binding, because the Customize buffer > is semi-editable, so it'd be confusing (and error-prone) to bind `g' to > this outside of the editable fields.) 1. `revert-buffer' is very useful for Customize. Thanks for adding it. 2. FWIW, I disagree that `g' should not be bound to `revert-buffer' in Customize buffers (outside of editable fields, obviously). Your logic would have us also remove the bindings of `n', `p', `q', `u', `DEL'... `g' should be bound to `revert-buffer'. 3. A related feature is to be able to update, for Customize, all options, faces, or both, to their current states as set outside Customize. IOW, not just revert the current Customize buffer but update Customize more generally. My library `cus-edit+.el' offers that: commands to tell Customize to sync its understanding with the wider Emacs world for (1) all options, (2) all faces, or (3) all options and faces. Command `customize-update-all' does #3. You can put `customize-update-all' on an idle timer to keep Customize synced with what happens outside of Customize, so you can change anything anywhere in Emacs and have Customize reflect that. When you exit Emacs, you can be told about all changes and asked if you want to save them. https://www.emacswiki.org/emacs/CustomizingAndSaving#summary