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.help Subject: RE: [External] : Re: how to force auto-save of buffers not visiting files, right now? Date: Wed, 16 Mar 2022 01:45:41 +0000 Message-ID: References: <019b7e509c29caa462ff1c30079ce9bfb8cdc668.camel@adminart.net> <87zglq200a.fsf@web.de> 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="34586"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help GNU Emacs To: Michael Heerdegen , hw Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 16 02:47:24 2022 Return-path: Envelope-to: geh-help-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 1nUIl1-0008kR-08 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Mar 2022 02:47:23 +0100 Original-Received: from localhost ([::1]:46296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUIkz-0004aO-V2 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Mar 2022 21:47:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUIkZ-0004Zg-Kd for help-gnu-emacs@gnu.org; Tue, 15 Mar 2022 21:46:55 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:11160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUIkW-0004Us-TR for help-gnu-emacs@gnu.org; Tue, 15 Mar 2022 21:46:55 -0400 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 22FKiFAn017339; Wed, 16 Mar 2022 01:45:46 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-2021-07-09; bh=grEDeIotzo63dmbY/TW4EvVzGCH8y2LASRQlK160az8=; b=rPqFe5xHddQ2IGuPDyqxelX0X5q7iokeXseQzh7QXXWSSyuKlenZRlv2DxMliLBmHNYO kZA1Y47Egjx7UTJZ+BKpBFkFhQKD814K1ZZJYh2Onm8BqR76cbHDYQsnW7/zNucL42Gs ixrIVOFg2rvWa14khGf9TmWB9ZkMilnoUBJQY/rx7x979W2krDbQJPTm2a7Z+vgjqrfW hVXzKEi9D1x4jvpKcT8AUk9yVHui2UIULJrfDJ9ZYh4tU/6X924kbQ9+D+NJA3HLNMWd k1/kpHwIifVpUNh65v35qeD7yow2IoYs91OBKJxKioZmS7IhtgkP3CnxOlTC2SUI9/Pg nQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3et60rcn9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Mar 2022 01:45:45 +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 22G1hv5K030085; Wed, 16 Mar 2022 01:45:44 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2042.outbound.protection.outlook.com [104.47.66.42]) by userp3020.oracle.com with ESMTP id 3et6589yxh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Mar 2022 01:45:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qm6M2shp9BCFnKINeH3IviRGSgCQfJyrU5if38ab8SPOrxC580D/5T1kbL/zGShmmUpPFA03xpMfmGhyobU+vo7gupWRM6qZ0jGFrWZeNrp8zjmyINbS5GMCIwg/ow8GBRM4PmKWCeJEh3DMhnzkM7+oE81dcoyOG5Om1SSTzoVxyrkKFKXaSunTJip3LCDMXBhjHyX2LvrWW9r8BbisQRKKovrmOqP9qGsCjXwrLoS88SP2bew1vJCTYZLm5QIuHJXbI0csSouydRcgtSmvKqmwWsYowCfnwDlPBzaHhnksFxTwa7NEu4DFT0Z3MX10+bLN/7pWvAJUbSAKSVQMlA== 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=grEDeIotzo63dmbY/TW4EvVzGCH8y2LASRQlK160az8=; b=O72lvBzC2zd8Uh4uPLDNJOt91In0twNLkjt+WcajrqXQcwHOf3AfKMtblwRqLMH1/xpBgRwEEYsOAR8lNYJvPD2TjGtaGkcb6yvQu1nxi//Q22vxEvWtAk7VQ8HnbL1ReryDLQUDUimUviXIm14qo/HhnV+Og3MzP2n3tRkctMrZZ+DBVwXnLTXeaqBKKOxNFgYWk6V10x04Qda1L+L3X6kVI5GA2vVzcIuXOukp3GnfgNODQfxj3gZv68XbXrKY5/acDCVhBmMGr/GKYDz757EKNj7mLNrSEWNgDJMpvy/PFBRHXtZWrVGza+mreAd9GfYThYQmlrhtMoJD2drwXQ== 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=grEDeIotzo63dmbY/TW4EvVzGCH8y2LASRQlK160az8=; b=Hy0bJ8vco0zXYSKzTpjEZ6lmMyJfPVTgjVV4Zxj2OQSpwfGSCSenVPwoppluHHzT+ecOrFsrhA3XQzKgaGBRlFo55C6IrBVAlrhwWXyKvOZwvpItn2Xp8yWUrkJ/rRtN8JSaKlGM1OVZbUDqxudvDB4zGFwUsVYLNkJvj6z5t3w= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by DM6PR10MB3644.namprd10.prod.outlook.com (2603:10b6:5:17f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.26; Wed, 16 Mar 2022 01:45:42 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::ec69:8077:89b0:4379%7]) with mapi id 15.20.5081.014; Wed, 16 Mar 2022 01:45:42 +0000 Thread-Topic: [External] : Re: how to force auto-save of buffers not visiting files, right now? Thread-Index: AQHYOM/vvBp6pV2M1k24+qx3QtlrsqzBPAnQ In-Reply-To: <87zglq200a.fsf@web.de> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2eaf5b41-4694-45e0-715e-08da06eeae2e x-ms-traffictypediagnostic: DM6PR10MB3644: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: yfFWjJJ9+6kNd+zoMIPyfjSBOldjeR/Sr7QnE8sZRYaNfeL2l6zS7v3ySzMZt5CGnOJJ0+TIxWCbfdi7q1nwhBIU4DH6e09iiqAifVTg2R3mLxjbLDvj1UcXI6WLODljK5BVACy9617TLhdGUAfhwBJkiuWUrLcszAYuGzBYYzGCtVbRhTvLgutCFofEkpdM7ztxFsnH3EZWbSJlgopcT3gYwQ2osZNuqzrtWZtRtYXBg+N577lmbdEE842q3jTh6nEwLXng5bKIrQppKgvJybfmXCYxng5/tUKqk0ekCsZwusar98tYWFiPQI48/w5rYvqOLKWIFI7YIKXExABe2x8jno+/B51OUy4TWG3W9qb68HpvtoH6FSudB1SuSoDTjQFXwG9aC5PcN7GB8JS0oifFZPiSUwt9muRdD3I/Yb90+Uygwq/4omlajqWbDJM2vemYKsxN4wxgZVJVzhDKGkJjdqlIAgmlyqtPXEddE/DsdQYikl+btbWoKgvGWwg5wBdzQvIOpXNLUiUu1s6+h/h+eWUvYRmlzII09VkfTXAvAPBPUvKcBQX6rCQpE5E4PgS6GsMsx0mFkLp+YgIdfbLquYznI9YpZndfOVMuB2bjM2fxfOP0qkAuFlV+JeumZgmHgsEBy9qxws5nabFcjKaudE0xYO0UnIvHt/gOUuhmUv0kMrci/3X1ETBeJhO509H2j7VQkr37qoEiXuR25Q== 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)(110136005)(316002)(33656002)(55016003)(66946007)(76116006)(508600001)(38070700005)(71200400001)(8936002)(44832011)(52536014)(66476007)(4744005)(5660300002)(2906002)(64756008)(8676002)(4326008)(66556008)(122000001)(66446008)(38100700002)(86362001)(7696005)(26005)(9686003)(6506007)(83380400001)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1uKl+C1FqmXc9IgjhjSZSUSaukAngPiX1/ZOJSKX1hsTmrNuXejoh4L+kNBa?= =?us-ascii?Q?lkIAXtmad8TMYKvxvaT25OE6rTzzbaU25xazYt9YHZsa8ul56o7rdifjC6d7?= =?us-ascii?Q?U9IFmeNZnEyegQRikhW9F00UaB6+IVWH8hSDV/9P+UssbZCKcHhSLl1xpiL5?= =?us-ascii?Q?SxaUlKpEddTPMF/xlnM/V8JegQq6/NqrsmC995uGaU5DBbvc5Um+KaFVUf1o?= =?us-ascii?Q?ukAVlT2fF6W3mwaOxFZz60M5Hw1i00ZWe7Axm7/uOZkBjB/BNWLDW3+9sGHi?= =?us-ascii?Q?dZ2RDO4gyvF3wbbWYTQKsnlc2sG82ku31wl3j8MHrCXrnfNiMnH7moEEyQ7L?= =?us-ascii?Q?VqEgz3hAiJYjhstrNmuMjusw4ovLUfGt1o6c2y36iRAAwpHB20Ek3IGjwUUW?= =?us-ascii?Q?jaDXjCCfwjT0APlNcSx+zckBrqOA3QqDwRZNXXDFT0a9+hTe9Fvwe1Oxl7uq?= =?us-ascii?Q?E0tgq1ab+WNpCdm5vkyiIKlOS5rzJo8vzqMdzb05FkWDZy5nyYDE2MqLPKji?= =?us-ascii?Q?IeYlj6nxdl3XoIndDzKptuinrAMvvvOvZt2G+599QkiIDU88/NikaooeosT8?= =?us-ascii?Q?01+t8gUBYO5EhP7+B1mwOmicPESyAief/QZLAxzA+E8NeWlfjEE4uRarGNAi?= =?us-ascii?Q?6u 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: 2eaf5b41-4694-45e0-715e-08da06eeae2e X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2022 01:45:41.9515 (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: 9BOEajk38TGIUVNrZ6xSJxm89zJY/SdEKX/IhiODqgxssoWNgGhGABAnw+cnjBG/tgl3kW7jsA4Xzeycbalmlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3644 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10287 signatures=693139 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 mlxscore=0 mlxlogscore=998 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203160008 X-Proofpoint-GUID: XN6Go3mDvB1gKttlkQbcnVE6ZjVbC0cO X-Proofpoint-ORIG-GUID: XN6Go3mDvB1gKttlkQbcnVE6ZjVbC0cO Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136602 Archived-At: > Normally you should be able to `undo' if > something went wrong. Even when the buffer > has no associated file. Yes. Yet another reason that buffers such as *Pp Eval Output*, and even read-only buffers such as *Messages*, should have undo by default. Visited buffers are sometimes usefully edited. We're not gaining much nowadays, I think, by omitting undo from such buffers by default. (In `pp+.el' I added undo to *Pp Eval Output*, at least.)