From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: More convenient default rollback for users Date: Tue, 29 Mar 2016 17:44:15 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459266361 27476 80.91.229.3 (29 Mar 2016 15:46:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 15:46:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 29 17:45:49 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akvq1-0002Zv-Fc for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2016 17:45:49 +0200 Original-Received: from localhost ([::1]:48165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvpv-0003U7-VK for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2016 11:45:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvoh-0001PI-TF for emacs-devel@gnu.org; Tue, 29 Mar 2016 11:44:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akvoe-0001Dc-J2 for emacs-devel@gnu.org; Tue, 29 Mar 2016 11:44:27 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akvoe-0001Cm-Da for emacs-devel@gnu.org; Tue, 29 Mar 2016 11:44:24 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1akvoV-0004ym-LD for emacs-devel@gnu.org; Tue, 29 Mar 2016 17:44:17 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUYCg0RBgkbDxIsHhxn TjgKAgPRt28VCAzWTtCKAAACR0lEQVQ4jW2UTXPjIAyGsXc6vpq0LtcE8nFNDcm5u1Cf4yRsz7th 2Ct4JuO/v0K222ZSnTx6eF9JRITQkPObEBKDUBrIFHhEjsBSlvNaiASKQFBgjJakalmHJyAeQIN5 IIS2jIiRABBD3hioUZJkPQcnWxyn/ADGYC2PUt0Dau01h3zjvbsBlbX2qFLe+xtgUxDjR8BebgBX EygXN+B8+ASs/wJOu+Z7xfHPHcgQWLf+XtH6Z5/m0HfFfTMCtghfrX6PQJLZoKBEvKATAoMAFbQT Csja//VN49IPxTJQBFJ2UpvV2Xs9AShetIEwLs3+AjbPycjIZMWKCtgPZZzz/rL3ThnNa+iK9SUj 5SldOE7daCNrBIFFUm6UNglcnqCArDleInu3XS01nnfaaS23HK1i1eawBJjfp5ZEByAyEq8UmlKu geprEIgu54RGFnpaCfnq3KVxTXKqCz5Y9SQKpZ267F1qSaY9Ix2CTDwpB3O4xqjtBHoES+Pgnv41 WnGZtp7kGwAh48tHqAH+OzmrO1RswCoU/F1JrbSC7c44gpBqhAURDdSAGbSIA2BZAhmT6hdsrJLb edEhSFfS99lMqjetl+f5blXOBgWCeKxf38TP02PYXNsSAaUAWDzKxUKt5CJr7SHyESTWCXgyNQw9 rw58AC1NIKRXud3yEFoyggpBn3NRw4XaeBie+6DoewqERxaraxj+CODlUQwYJjyURYSPCbR0imvq vAfJHED1AfpiALCXSWE/QCBFOl+MNUBRTRI0CkNX/wGyse1Ht0Yu2gAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202388 Archived-At: When we introduce behavioural changes in Emacs, we often include a way to get back to the old behaviour, and we document this in NEWS etc. But wouldn't it be nice if we had this in a more convenient, cut-and-pastable format? Imagine you're using Emacs 26 for the first time. Suddenly you notice that when you hit the `hyper z' key, Emacs doesn't florbnoze as it used to, but forblizes instead! You're furious! So you hit the `C-h R' (for rollback) keystroke, and you get a buffer that looks like: ------------- ;; To roll back changes between Emacs 26 and Emacs 25.1: ;; If you want the `hyper z' key still to florbnoze instead of ;; forblizing: (setq hyper-z-mode 'florbnoze) ... more setqs here... ;; To roll back changes between Emacs 25.1 and Emacs 24.3: ... ------------- And then the anger dissipates. No need to read documentation or anything. Just get back the old behaviour you enjoyed. (And this would also mean that we could introduce new behaviours more often, because rollback would be so trivial for the users.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no