From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Repeat undo-only is not working Date: Mon, 23 Aug 2021 13:50:04 -0700 Message-ID: <14b08091-f054-3740-7351-b32a7d9fb1c3@gmail.com> References: <20210823131240.rxfepbz4q2buo733.ref@Ergus> <20210823131240.rxfepbz4q2buo733@Ergus> <87eeakgqa6.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5849"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Juri Linkov , Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 23 22:51:54 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 1mIGvB-0001Hu-MI for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Aug 2021 22:51:53 +0200 Original-Received: from localhost ([::1]:59738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIGvA-0006vS-KS for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Aug 2021 16:51:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIGtV-0005ju-8i for emacs-devel@gnu.org; Mon, 23 Aug 2021 16:50:09 -0400 Original-Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:44982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIGtT-0007Kf-QZ for emacs-devel@gnu.org; Mon, 23 Aug 2021 16:50:08 -0400 Original-Received: by mail-pg1-x52f.google.com with SMTP id s11so17765296pgr.11 for ; Mon, 23 Aug 2021 13:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=jUdoy684pPxifj2E98Ea1oDX5JrKO1DroFvcUX4Nu0g=; b=n5LYlGKfoTdeDRZKIiaZIAabeGqtmA2cPuVmXcpAFILgzqZ23O9YFk3fWfISVgyJb6 NXCXM6hI/RPQ1ik1+Y+ZSpZn2t3rKjtwQVZWTWegXbZdQuIyJZSmOc73k4+0c87dBRSr hVMeX/1Hd9TjusL9FRDYx/cw4eMHoUw7xNSw7zPRkvBd4cAAu2A86MpfBnRBaBV73sp2 mLfiXEaHYVGsNEYZC05AClEpL/M40PGtZ7PfdXhXiIr9StauIKeuB4aGFv3b6Dij6aVl QK1L4YsMtaGzqbBtXNukJoFMa3shx92JEALOZo1V6Yd92o9SLuRyO5lHuvAcUOdCgwr0 2lAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jUdoy684pPxifj2E98Ea1oDX5JrKO1DroFvcUX4Nu0g=; b=mwS2RCb2QQNeCUeN2JEEgS6CgHVZdEZfs5VnhN4Bdius0jL3Espy/LdEXE5bjgGLQz qZENDpRqCvqSWDZprWBBYxXHk6t80Rpkq3J1x6Cy17uYj8KUVZjiy5OwbyH0Hs6qKTnJ yspdoJWZhUH3+/RlTBNhUYNMjh+SzLkbMpJIvQAPRwb5RFir75gGSPPyZSS7O43fogIY Hh4UznctsC73gPDcZfpaMJUoFVNk/+IhhAY/De4hMBiKc1FVBskXjS9NH/eh9JlT+n3L QgQXc7G75F1rv68fv8LOvOoXagNI2wxFV3WcZlmqYTK9u8okC+8J7JFTbZd5vGuZI9L4 xTxA== X-Gm-Message-State: AOAM532wZ78qYt0TTkWdKHsRqpiyRbqDBM1XIs0YIPwASQyurCt+mAkU zXj4PGLh/uUO34c5KDdAHLFETbGOp6E= X-Google-Smtp-Source: ABdhPJzEHsdicBpb2oG9Gbin0uPlz+zg5sxhlxroY9sBuKyga3M+Sfj+cKaeQex+MK02AGkVS1Y2DA== X-Received: by 2002:a62:7693:0:b029:3e0:8a78:3001 with SMTP id r141-20020a6276930000b02903e08a783001mr35776042pfc.7.1629751805827; Mon, 23 Aug 2021 13:50:05 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id r78sm17319471pfc.206.2021.08.23.13.50.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Aug 2021 13:50:05 -0700 (PDT) In-Reply-To: <87eeakgqa6.fsf@mail.linkov.net> Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=jporterbugs@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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:272888 Archived-At: On 8/23/2021 9:06 AM, Juri Linkov wrote: > Sorry, this part of the feature is still unpolished. > The intention was to disallow repeating of undo with > the key sequence `C-/ u', but allow only with `C-x u u'. > Maybe this was a wrong idea? Do you think it should be > possible to type `C-/' to initiate the repeating sequence > `C-/ u u u'? For what it's worth, the intention matches my personal expectation. I'd be pretty surprised if a key sequence with a single input event (e.g. `C-/') activated a repeat-mode map. My mental model is that repeat-mode "saves" all but the last input event of a key sequence and then uses it as a prefix to the subsequently-pressed keys. Perhaps it should be possible to support the behavior in the original post, but I'm happy with how things are now. - Jim