From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.devel Subject: Re: Finding packages to enable by default Date: Mon, 23 Jun 2014 21:43:30 +0900 (JST) Message-ID: <20140623.214330.05686170.tkk@misasa.okayama-u.ac.jp> References: <53A68AD6.70203@gmail.com> <8761js5y7v.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1403527445 3972 80.91.229.3 (23 Jun 2014 12:44:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 12:44:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: juri@jurta.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 14:43:58 2014 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 1Wz3bK-0004uK-9C for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 14:43:58 +0200 Original-Received: from localhost ([::1]:53276 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz3bJ-0004Cs-TY for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2014 08:43:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz3b8-000444-Ab for emacs-devel@gnu.org; Mon, 23 Jun 2014 08:43:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz3az-0001Ut-SL for emacs-devel@gnu.org; Mon, 23 Jun 2014 08:43:46 -0400 Original-Received: from msmail2.misasa.okayama-u.ac.jp ([150.46.245.7]:41751 helo=msmail.misasa.okayama-u.ac.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz3az-0001UM-Hp for emacs-devel@gnu.org; Mon, 23 Jun 2014 08:43:37 -0400 Original-Received: from localhost (p8163-ipbfp402tottori.tottori.ocn.ne.jp [118.13.46.163]) by msmail.misasa.okayama-u.ac.jp (Postfix) with ESMTP id DA07FAF80AD; Mon, 23 Jun 2014 21:43:32 +0900 (JST) In-Reply-To: <8761js5y7v.fsf@mail.jurta.org> X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 150.46.245.7 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:172654 Archived-At: >>>>> | winner-mode | 35 | >>>> >>>> If we can come up with good keybindings, then we can indeed enable it >>>> by default. >>> >>>`C-x C-left' switches to the previous buffer, so similarly >>>`C-x M-left' could switch to the previous window configuration. >>> >>>Also in browser's UI `M-left' switches to the previous page >>>(roughly corresponding to the window configuration). >> >> When point is on a window with buffer that cannot be edited, many >> modes such like dired make `q' close the window. The winner-dwim does >> similar regardless where the point is. Thus I propose `C-x q' or >> `C-q' although they are taken. > > I suppose you mean using `C-x q' to quit window, and `C-u C-x q' > to "un-quit", but with bindings to `winner-undo' and `winner-redo'. > In bug#13167 we considered binding `C-x q' to `quit-window' itself > because `winner-undo' is quite different from `quit-window' that > doesn't not necessarily restore the previous window configuration, > so `winner-undo' and `quit-window' require different key bindings. Thank you to scoop what I meant. How about `C-x C-_' or `C-x _' for "winner-undo" analogous to `C-_' for "undo"? I think that `C-x C-0' for "text-scale-adjust" has a nice interface that accepts `+' or `-' after initiation. Analogous to that, after initiation, `_' or `-' can be assigned to "winner-undo" and `=' or `+' for "winner-undo".