all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zhanghj <netjune@163.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: netjune@qq.com, emacs-devel@gnu.org
Subject: Re: More convenient default rollback for users
Date: Thu, 31 Mar 2016 14:09:26 +0800	[thread overview]
Message-ID: <87bn5vkwkp.fsf@jun.debian8.linux> (raw)
In-Reply-To: <m3poudb86o.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 29 Mar 2016 17:44:15 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> 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.)

I think a UI page like "chrome://flags/" in google chrome is better for
this function. In this page, we can show all compitable options for user
to choose.

For expert user, we can provide a file like emacs-24-compitable.el (with
emacs 25 distribution). After loading the file, all behaviors are the
same as emacs 24. This can also be used by packages.




      parent reply	other threads:[~2016-03-31  6:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 15:44 More convenient default rollback for users Lars Magne Ingebrigtsen
2016-03-29 16:04 ` Eli Zaretskii
2016-03-29 16:31   ` Lars Magne Ingebrigtsen
2016-03-29 16:51     ` Eli Zaretskii
2016-03-30 15:45       ` Lars Magne Ingebrigtsen
2016-03-30 17:45         ` Clément Pit--Claudel
2016-03-31 12:41           ` Stefan Monnier
2016-03-29 16:56 ` Stefan Monnier
2016-03-30 12:09 ` Richard Stallman
2016-04-03 23:18   ` John Wiegley
2016-03-31  6:09 ` zhanghj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn5vkwkp.fsf@jun.debian8.linux \
    --to=netjune@163.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=netjune@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.