From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new default bindings for winner and windmove Date: Sun, 22 Aug 2021 21:58:10 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1275"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: Daniel Colascione , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 22 20:59:10 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 1mHsgY-0000BW-IO for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Aug 2021 20:59:10 +0200 Original-Received: from localhost ([::1]:53516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHsgX-0004rR-D4 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Aug 2021 14:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHsfi-0004CS-2p for emacs-devel@gnu.org; Sun, 22 Aug 2021 14:58:19 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:40531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHsfe-0004jX-PF for emacs-devel@gnu.org; Sun, 22 Aug 2021 14:58:17 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id k29so22769613wrd.7 for ; Sun, 22 Aug 2021 11:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aEXZqjqYXnUk7bYUdm/vbZWMyF+2uEdLSnG46nQG3k0=; b=rIVyhjNvRjCxaH1GwXIX5zI+laPhEC03XVet8iLDSH1ovY2braqj6ig6Kou5XxD5Ny wFlOLWagFWYFTjFFo+C8fTVv60NqUBTk0z1+oJvPMbRgi1XRyNiOT9pPXmkfpLFIqssx L9gXD68zMcF1ZYJ7LgWUIfsrzGFNSWioKOb/vyEUHUc6y8mQtp2M5GZcW2JipsR2bWNB Yx1NyQ/X11Jrb17kTCYo5OHQ/kXit8j2Hg0+hJbGG4TspSieh9KdKGAYKOqzUA1M75Jx HcTa1Ru70jEXrdeHR21MLvf+7OodjD0D6XuqOU/rjCAEq25hcstaYqmBMIZf1lEAACKj /ekQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aEXZqjqYXnUk7bYUdm/vbZWMyF+2uEdLSnG46nQG3k0=; b=p8xGkQ32i02+O04Mx+547tJVahNQ7GdfgepWSvwlHNJFtopiFKHz3tFPcpEZw/sBWU SYJUS3cF6ao0HNxXfn70l2ZlcgZTdSGRrmHBcqFSooFeBV6y/Fq6ddlqyISxr/SNeoKX Oov+jB/J01rpAqnpL2Uyv/tFSPQw86G76kGDUTAgcDXKSg9VtIDn6QKGUzmEac/uUvV+ DthCJkC+ISf5antnghqVoTgigG8m1KGh1ox4RCfxnnVtshpYDtYfOHH5pyiQDChaLSwm 52frl4z7bFsE6q2WCExDD63VeCYrUue4/m1+MyXQlhFW0B9KWjUVfXmtZu86NokaKkYi d3Gg== X-Gm-Message-State: AOAM533tRmwq7HK7LF5PQWWRD79Nogbu4xH02PYoqrc47dkzSVZjL/L/ cSWzbXIpDPHTSBi+yvcbe455CWqkmdc= X-Google-Smtp-Source: ABdhPJw2o9/kJOmgVnqOnu+mJ0GUaRdsgMmrMZVEfMznWjyxoW4zpI7N24D7Bxm5UA5DZru+vvZx/w== X-Received: by 2002:a5d:6daa:: with SMTP id u10mr9912923wrs.31.1629658692678; Sun, 22 Aug 2021 11:58:12 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id k12sm13204580wrd.75.2021.08.22.11.58.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Aug 2021 11:58:11 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=raaahh@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.959, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:272851 Archived-At: On 21.08.2021 22:10, Daniel Colascione wrote: > Today, winner binds C-c LEFT  and C-c RIGHT for window configuration > undo and redo, respectively. This set of bindings has three problems: > >  1) the bindings occupy binding space on important keys, LEFT and > RIGHT, for functions that are rarely used, Frequently used here. I often need to back out of some window management mishaps. > 2) the winner binding space isn't logically connected to window > management, and > > 3) the bindings don't work on terminals without LEFT and RIGHT. > > How about we set up these bindings instead? > > C-x 4 C-/ winner-undo > > M-- C-x 4 C-/ winner-redo Makes sense in theory, but these are not repeatable (though some integration with repeat-mode, as well as more advertising of that mode, could work around that problem). I guess my main reservation is that the current bindings are very comfortable, and we'd lose the chance to tell the user about them. Perhaps we could instead add a defcustom which would list both options?