From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Concern about new binding. Date: Fri, 05 Feb 2021 10:30:32 +0200 Message-ID: <83tuqqq5lj.fsf@gnu.org> References: <20210202134950.vybbpf3iewbymfjo.ref@Ergus> <20210202134950.vybbpf3iewbymfjo@Ergus> <87lfc5s9wg.fsf@gmail.com> <87y2g5xurt.fsf@igel.home> <87tuqtxtpw.fsf@igel.home> <83sg6d42o4.fsf@gnu.org> <83im793wbs.fsf@gnu.org> <83v9b7ri3p.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33252"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thibaut.verron@gmail.com, rpluim@gmail.com, gregory@heytings.org, emacs-devel@gnu.org, ams@gnu.org, schwab@linux-m68k.org, drew.adams@oracle.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 05 09:33:23 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l7wYN-0008Y3-Jv for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 09:33:23 +0100 Original-Received: from localhost ([::1]:37958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7wYM-0005cL-MB for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 03:33:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7wVm-0002eU-M4 for emacs-devel@gnu.org; Fri, 05 Feb 2021 03:30:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56254) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7wVl-00027Z-5j; Fri, 05 Feb 2021 03:30:41 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3332 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l7wVa-0000UY-2G; Fri, 05 Feb 2021 03:30:30 -0500 In-Reply-To: (message from Richard Stallman on Fri, 05 Feb 2021 00:50:43 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263950 Archived-At: > From: Richard Stallman > Cc: drew.adams@oracle.com, thibaut.verron@gmail.com, rpluim@gmail.com, > gregory@heytings.org, emacs-devel@gnu.org, ams@gnu.org, > schwab@linux-m68k.org > Date: Fri, 05 Feb 2021 00:50:43 -0500 > > > > > That many modes have some kind of "revert" action. > > > > > > Aren't they special modes? I think they already have a standard key > > > for that: g. > > > Some of them are special modes, but some aren't. > > That makes me curious; I'd like to understand how come. Can someone > post about modes that have their own revert actions but are not > special modes? Searching Emacs for files that set revert-buffer-function brings up the following list: apropos.el bookmark.el bs.el calendar/todo-mode.el chistory.el cus-theme.el dired.el emacs-backtrace.el emacs-ert.el emacs-package.el emacs-tabulated-list.el emacs-timer-list.el epa.el facemenu.el find-dired.el find-lisp.el forms.el help-mode.el hexl.el ibuffer.el info.el locate.el mail/mspools.el mail/rmail.el mail/rmailsum.el mh-e/mh-folder.el net/net-utils.el net/secrets.el net/telnet.el proced.el progmodes/compile.el progmodes/ebrowse.el progmodes/sql.el replace.el simple.el tar-mode.el time.el vc/diff.el vc/pcvs.el vc/vc-dir.el vc/vc.el wdired.el I think this gives a good idea about what modes have revert actions, but if details are needed, one can look inside these files and see.