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#46151: [External] : bug#46151: 28.0.50; Set revert-buffer-function in shell command output buffers Date: Mon, 1 Feb 2021 16:14:13 +0000 Message-ID: References: <87lfcdd1he.fsf@melete.silentflame.com> <87im7gward.fsf@gnus.org> <87wnvwte7y.fsf@melete.silentflame.com> <87a6ssus1o.fsf@gnus.org> <87tuqztwyt.fsf@melete.silentflame.com> <87sg6j0wyg.fsf@gnus.org> <87im7dszyl.fsf@melete.silentflame.com> <87bld4rx3p.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="8006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "46151@debbugs.gnu.org" <46151@debbugs.gnu.org> To: Lars Ingebrigtsen , Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 01 17:17:04 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 1l6bst-0001w0-Ml for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 17:17:03 +0100 Original-Received: from localhost ([::1]:51806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6bss-0004ec-Nj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 11:17:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6bqw-0003TQ-Mw for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6bqw-0003IA-DT for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6bqw-000064-7o for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:15: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: Mon, 01 Feb 2021 16:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46151 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 46151-submit@debbugs.gnu.org id=B46151.1612196067312 (code B ref 46151); Mon, 01 Feb 2021 16:15:02 +0000 Original-Received: (at 46151) by debbugs.gnu.org; 1 Feb 2021 16:14:27 +0000 Original-Received: from localhost ([127.0.0.1]:32963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6bqL-00004v-NP for submit@debbugs.gnu.org; Mon, 01 Feb 2021 11:14:26 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:40450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6bqH-0008WM-Pc for 46151@debbugs.gnu.org; Mon, 01 Feb 2021 11:14:25 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 111FeGh1187630; Mon, 1 Feb 2021 16:14:16 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=9HfyCoJa2quwzrM+U+v/SLdPfECuEmgrS4NPtNxnYJY=; b=jtJZA6av7qSuNGWkoaSidCzhmGhPJuPem3ZN/GG+VNUGzjrwrqTMjr+YuKZfi9+i3V+b UzN16lmHUMrKVtXDFYLqILPrDmy8U+FkPOF6vtxdItAqMT95CaQghaLxTD/8Ld8uH3kr pW+xq8HskALwvy3ZPBotcRgF3QsVAtLTQwtDZMjiTdyQi4Ed+KjGtm/90FGiHKfRkLi+ mSnDoCz8ULtDZd69Z69NG2hxUTJpNS5jpaJCGLF6YutleI3QYuCm5u7Wwrqu5EaMhVqU F4zF1UY1S1GmNdtmyGPRrDcerQNCQprq6wfWX8O/UzqiUxm7lFmcBiexwC7jMTZiR8dz oA== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 36cxvqx4kf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Feb 2021 16:14:15 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 111Fe9UR172061; Mon, 1 Feb 2021 16:14:15 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 36dh7px5um-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 01 Feb 2021 16:14:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=luVkJ2GjySHK0oHJxbNYtcp6QBYe42epAcymxDEHNFBDeUTrpdN7/1mNNRrikwEWjfFMXcrS41Pf3j9dxvc+GTR3IMU4rDhSyHqQyG+xsYZOfFiSPYSQZDzmpBiwMA2uFyAow+Ec5YW1o0vcfk5Mv9SNdGsewVZ4cnq4xcq6ofDUosFgScGGarr+9YlYbW7BSWkpNeu1BFOnw8w2/SoxuYm9uxlutEH8FLyWFb4gNbMvRsa8ZF4YGuNmWlHC9oojWwEtunY6yDwcHwSeP0Np3A1jJi4dyW6Q4ZSLY1Nr78PjQIXksywqLCJW77N2kKrr1zA/B5cWz8e0cXgSKfAcMw== 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=9HfyCoJa2quwzrM+U+v/SLdPfECuEmgrS4NPtNxnYJY=; b=knUbCqQYcFbE992i1oE1JIZWUnV0Na1BD9XBPcjE7kavwApw9wDUsLgH9NbLMUSZ6Lcs9LjfVfdczmmcwhGvi4jAItrfH0wbaIPYwI6UuotRXlaFChRM2AMqawR5aSPInnUh+YLATKPLi1ygWNPMwvw/xwBfUSad6xL1oZfkBZV/ya5ifYmtmB5XzIP5lmt0Kv9DG53JFphD6Fh/bQIbbwfUZUkKrwXMy+OzxdwVb37XjAamiTloTSyTgGBpDEtUF/BkG+D1r8utnzMPoNJoAGwkWqY/eGP/jKm+tK54dtxjKcz45J+KpzZ5XuFXxa10lBbnUqqK7jzojr37ByeTMw== 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=9HfyCoJa2quwzrM+U+v/SLdPfECuEmgrS4NPtNxnYJY=; b=GFUAVocx0Phb4iUS2eTWhMBOq7JvHxJ56lTf2xomx5pVkK3zNHySrRXflJbsOZndxv6PYghebHNLCy57fklFsUC+1wJsp0V9QictbCEohJ7eB9U9ufuM2JVkMYDUjnDg5tz7HtgqIsJPBIUuG090V9qKjfL4f5RyXqKtkUZc1Cs= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4523.namprd10.prod.outlook.com (2603:10b6:806:113::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Mon, 1 Feb 2021 16:14:13 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3805.026; Mon, 1 Feb 2021 16:14:13 +0000 Thread-Topic: [External] : bug#46151: 28.0.50; Set revert-buffer-function in shell command output buffers Thread-Index: AQHW+HdpFPsmxuOAFUaGQXAI9OURf6pDdILA In-Reply-To: <87bld4rx3p.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: f9e9afb1-5326-4a04-342c-08d8c6cc6aa7 x-ms-traffictypediagnostic: SA2PR10MB4523: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b7foC0fUbNTqkZUo2fE1TSRLwmp4UVy0Kd5Mp9QbNuYwX0DmKK6P7ApJ8RaGIiF/wD49Jb9i6QlQW/mj+YNZYlJisP1FZ5RTSPK13q1b6qXghXTEkg7ICFCR1pO86hyPtDVg8+CgmT4hljERpgKhUy/lizRwQ2dQ4EK7ueZXR5xeqLKDtpXq+YAsKm8spw+TmThv6Txf4Dfc7h/3rQd/Wu3zkbdzNnGDSQs3rd6fhQWKbewqpwGImZCD2pf45KIl0jbQq8rHE5PGR8FJPy6J5eH6LtOPHhkE1g1YBrzR0M4xcN1oktvMa3rpjl0zvPC8ws+/AAtYJmEB9T6Dw3amXI+224HNIAx3viB3IPX4773gb5tclIzEaJFU/Da+sll9VTsAdjNY1VqOcYiAFHpBRXYVyJAGsrfyKjV6yS//O11McB4F0wGHw8oJFFGF4IwYijV1DKk0nAOR9L6bhjzpvGr0Sfw+wo70aP0NvnN8y68/uko/4NML3d8UwQFHkxhaXNfTwmewXMnajI4u44eN6Q== 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:(366004)(376002)(39860400002)(346002)(396003)(136003)(83380400001)(66446008)(66556008)(66476007)(2906002)(64756008)(110136005)(8936002)(316002)(66946007)(76116006)(52536014)(5660300002)(9686003)(478600001)(86362001)(7696005)(55016002)(6506007)(26005)(71200400001)(33656002)(8676002)(186003)(4326008)(44832011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: kS6XWc42HHfxpJG8gRFhsdwMdWehCSeO4TNOeUbvxHXuN1qL8F037RthF4zD/eP8fQdfI3h/G29cHjUad6rsG3fO6EFmdutAREtOyH+0OgShWVct4/KpfyBUuU2jzoVYDVqVZmruGmRMPTwm617YaIxEBn6kLQ30F1P93zyQfNt92JXhOnLzH7OtN1X5bQR9PaLdACzEM3/RtjxkX6gnSYBNClKZ7zTMyE1riaGtljy8XfKAe1b8J+JwHep6ov8g5FQs680/jBP2HUvblLxwjrWOvBcHHBVuNrO22eGxAVImpcgMb1TpVsr1Ks3ry36R+gurbQB5UDcFTEXlBsrFmP4lQmXyEwGM/tgi7HS3cz5mlMgj010rCCWg5ZVeHwuYKbu0ICus/LGqeuspeLz4XwzUJJUOT1GfDVXsoRShWN2fYWNw8adaCrTDV5f4I7VyaH9VjVkYdwaM2SRbM58Poe42BDmsu56DxKSuNxozPaEa+BWShUUIcN91Q9a7jmh/sl3nBjOXPX2njgvQ95N48TUayivE5abBelpD93ib8RDCZLidopmj2cqAWs7iLLAahkwaI29yojxcu5U6iEhLEsxHluBGd5a2ikX4pM4KHIt1q7Blm1HQmHwESLmAnABrohuULJeH4gAV572VQkijIuIEdtnCZjmXdEya5emo7mHtnGPr113wcRqye6HFzBnNypHhmzWi3jp+dqjTQ6uQqGgsB9VjQzpLku3f+87xY2e1wb8NQsMbrxTOuGVM nZIuHmN4LrVFRCiwMHleHs6qfJ5wjHlvhFM/8mt0rbcPdK/JJBF03Ak8btxlnEC7ihxKoW6vfD/61SKleBXgNuPgD9fFaqUcwg 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: f9e9afb1-5326-4a04-342c-08d8c6cc6aa7 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2021 16:14:13.6472 (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: qrL8Dg1bleOTIbebZtyt079d9f0cOm/4AcxAF1glC9B/aupqeCxPlVJIxg8NxOE/dsTaQ77enf+HRzbLsoNnRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4523 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9882 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 suspectscore=0 spamscore=0 mlxlogscore=985 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102010084 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9882 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 spamscore=0 impostorscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102010084 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:199090 Archived-At: > I think a global `revert-buffer' binding is the way to go. How to > reload a file is something that comes up all the time, so I think it is > high time it got bound. I disagree, for reasons given before: 1. Anyone who wants it can bind it. (I do.) 2. It has no meaning for many modes. By its very nature it is essentially mode-specific. 3. Modes where it is useful typically already bind it. And they bind it to a key that makes sense for that particular mode. You just need to use `C-h m' to find out what the key is. 4. Given #3, if you add a global binding for it then there's not much point in those mode-specific bindings. 5. Emacs has been fine for 35+ years without any global binding for it. The "Founders" knew what they were doing in this regard. (Perhaps they were thinking of some of this list.) 6. Emacs should impose a moratorium on itself NOW, to stop binding keys by default. Just say NO. Seriously. The few keys that still have no default global bindings should be left as is, in general - left for users and 3rd-party code. 7. IF many users start using some binding over a period of years THEN Emacs can consider giving it a default binding. Don't be prematurely "optimizing" UI in this way for people when there has been no popular request for it. 8. YAGNI. One opinion.