From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Should `revert-buffer' preserve text-scaling by default? Date: Mon, 02 Dec 2019 17:49:13 -0500 Message-ID: References: <87fti6toq7.fsf@red-bean.com> <83pnhao1re.fsf@gnu.org> <8736e6tm51.fsf@red-bean.com> <83imn1omkf.fsf@gnu.org> <87d0d8xxzu.fsf@red-bean.com> <8736e3scxq.fsf@red-bean.com> <83o8wqln5f.fsf@gnu.org> <87pnh6ve5v.fsf@red-bean.com> <83eexmlj34.fsf@gnu.org> <87fti2s6nu.fsf@red-bean.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50038"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 02 23:50:11 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ibuW7-000Clg-6k for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2019 23:50:07 +0100 Original-Received: from localhost ([::1]:45332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibuW4-0004GT-CT for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2019 17:50:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42374) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibuVP-0004GI-Sq for emacs-devel@gnu.org; Mon, 02 Dec 2019 17:49:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibuVN-0003oe-Eu for emacs-devel@gnu.org; Mon, 02 Dec 2019 17:49:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17922) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibuVJ-0003ht-KE; Mon, 02 Dec 2019 17:49:18 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4E7D21004C7; Mon, 2 Dec 2019 17:49:16 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A51821003C9; Mon, 2 Dec 2019 17:49:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1575326954; bh=MCv2kqK9JSAuCTdBx3l98P2QX+725sdWPXvRWU396As=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bnQY/vQVptXKm5bGx6+Cw/8RDu+nrNwe0w33GsdO97PWbQ3/MGzpGxu+W1qPsUx3E tNIXgXyV4FxzLifJ6E6M/hlSJo6Mv4RlksN4DHfoeIcVtDkv23FiK2TcLZ+ZV5PHJf 1C0LPlLU4BRdAL5YmCdew0ww27Nodr0x/33YgGW6/xR1lnpxF72MPzQU7UCAbOTs+r 5Wu3g9upvwV4J/QWg2r7IaQ3SJ79gQTduPi94dSMs/Mm5574f/eN06o9f0uJs6MzCk uTp4gbtJPV5aa54fU3520yDoVtigkRAUhNezl1SsO1t+nPkRsUHVOazMtSdaQMDfPe gh2HxNq4Fmdrg== Original-Received: from pastel (unknown [45.72.134.213]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6D4C512121E; Mon, 2 Dec 2019 17:49:14 -0500 (EST) In-Reply-To: <87fti2s6nu.fsf@red-bean.com> (Karl Fogel's message of "Mon, 02 Dec 2019 16:29:25 -0600") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243024 Archived-At: > In other words, how will the mere passage of time affect our willingness to > change the default interactive behavior? It will let people try it out, so we get experience. We could also change its value tentatively in Emacs's `master` after we cut the emacs-27 branch, so we have time to hear complaints/bugreports in order to decide if we want to change it officially in Emacs-28. There's still a UI question, tho. There are (at least) 3 operations we want to bind to the same command: A- revert buffer content B- revert to auto-save file C- revert and reset modes Currently C is the default and B is obtained via C-u. With the bool var suggested, we could have A by default but would C-u give you C or B? In that case would we still give access to the other somehow? [ And of course, there's option D which is "revert to auto-save file bur without resetting modes". ] Stefan