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: Changes for emacs 28 Date: Sun, 13 Sep 2020 13:47:18 +0300 Message-ID: <1451e822-7d81-de7b-b3ae-1c5da48b2036@yandex.ru> References: <20200910231420.kvqg6ohvxetpup5c.ref@Ergus> <20200910231420.kvqg6ohvxetpup5c@Ergus> <20200912032817.quizlcbwuf64wjfp@Ergus> 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="14922"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: rekado@elephly.net, ghe@sdf.org, drew.adams@oracle.com, emacs-devel@gnu.org To: rms@gnu.org, Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 13 12:48:27 2020 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 1kHPYZ-0003lg-F9 for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 12:48:27 +0200 Original-Received: from localhost ([::1]:40598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHPYY-0006Pq-HB for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Sep 2020 06:48:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHPXY-0005pr-Bo for emacs-devel@gnu.org; Sun, 13 Sep 2020 06:47:24 -0400 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:43452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHPXW-0006lK-Ig; Sun, 13 Sep 2020 06:47:23 -0400 Original-Received: by mail-lj1-x236.google.com with SMTP id u4so16069341ljd.10; Sun, 13 Sep 2020 03:47:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1JkDaGM2xdE/3D/ipfMMXtSJW8mLVgFpKY/b69GxBpE=; b=P6ZCg5AvFabP/q5qgGyHZ/PRSZK7qSIsxHogiDNSMUyWxCXGn2/pSdNZfca9GlL2OX lVcf8tmCMMWZ9nVQIuvC5bIEItt1xLJGBTUukWNrNVnHqK64sTfjnlS/f6ixpGXPfnKZ Cc9s07IKeCoWM1+RA9PwGZlVQIMlU4+IxWTd1kHpo4HvLhhQljvicQ9uetOzn6HEsROw QKNikCTvY5VzLQvuzUfFsmcDF/khw8Z7K3Kz1IUAoweFik192khkRgyQ+j9OC9fi4+Mh 02ppt8f9cG0QW7JDOeKuQq5CPZ4VqNNyXWRGyJoPLh3Xh+Q+KlQsyzlGCTv/Q4DIQpza RvPw== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1JkDaGM2xdE/3D/ipfMMXtSJW8mLVgFpKY/b69GxBpE=; b=NvH7O9JXqB3S/6K8QapEiM2AgA5Afk2pwyWyTKzPBiE2NTv79xWrpF150ExozJghcI EL1ve24dqrFqq642AIKiyQwcSCcesyl+6oJaAf8z1rlNd/I4oOoHf8KxjBfus40q96Cr wDqbzOABhJ9HZM5Jf2H/ASGAZvVMKcixvMUxRJIqXsL4hGyLyyKxPqm7GWNLAGXICev/ +u17mcwSNDg40hMlJrR0W6zMVp+MCHFT3vnHlu42r0xHYTXkzd7fUZkrBbPGZ6WEtO/Q 18X5I7N5tLBK0uuFBwYZTpYQNcIbbuL1iykET3M4Dt99/tFVkVcupanl0LuXHI2mbfJM 7vxA== X-Gm-Message-State: AOAM531o53Y/dgSSxT+uyxKXgFKbGnajpR53nuwxXHc1+znP9e/6+Qam KinfPMMafkkmb0fcmpFbvG/gyXX4vCM= X-Google-Smtp-Source: ABdhPJwuvjYXnAxIOomUw0edvVDiuqXo8Z8OQlkKQcmDk/GnQ31hHjrzmoYY9QBwLdrKPomiVtzr4w== X-Received: by 2002:a2e:8011:: with SMTP id j17mr3766750ljg.444.1599994040207; Sun, 13 Sep 2020 03:47:20 -0700 (PDT) Original-Received: from [192.168.0.104] ([94.229.108.16]) by smtp.googlemail.com with ESMTPSA id f144sm2188926lfd.165.2020.09.13.03.47.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Sep 2020 03:47:19 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=raaahh@gmail.com; helo=mail-lj1-x236.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.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.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:255455 Archived-At: On 13.09.2020 07:07, Richard Stallman wrote: > I wonder if it is possible to modify undo-redo > to work in a meaningful way with the ordinary undo command. > More precisely, if you invoke 'undo-redo' that would cause > 'undo' to start acting like 'undo-only' for the time being. > > 'undo' would go back to normal undo the next time you start a new > chain of undos. > > In effect, this way we would have both kinds of undo _behavior_ > with just one undo _command_. That might eliminate the confusion. I am wary of this kind of hidden state, which makes a command behave in two distinctly different ways. It is likely to increase confusion, rather than eliminate it. It maybe could have worked if people called 'redo' before 'undo', thus creating a consistent indication of intent. But the order is exactly the opposite, of course.