From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: master 71ef012: Map redo records for undo in region to 'undo-in-region Date: Thu, 11 Mar 2021 20:03:33 -0500 Message-ID: <1328F7D7-74BD-4262-A25E-6A25EDF84D88@gmail.com> References: <20210311223946.8801.94147@vcs0.savannah.gnu.org> <20210311223948.2A4E320B2E@vcs0.savannah.gnu.org> <871rclz07w.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12115"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 12 02:04:43 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 1lKWEM-00031O-TG for ged-emacs-devel@m.gmane-mx.org; Fri, 12 Mar 2021 02:04:42 +0100 Original-Received: from localhost ([::1]:56880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKWEL-0006uW-U0 for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Mar 2021 20:04:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKWDK-0006Bi-8E for emacs-devel@gnu.org; Thu, 11 Mar 2021 20:03:38 -0500 Original-Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:44031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKWDI-0008Jh-FR for emacs-devel@gnu.org; Thu, 11 Mar 2021 20:03:37 -0500 Original-Received: by mail-qt1-x82a.google.com with SMTP id s2so2644597qtx.10 for ; Thu, 11 Mar 2021 17:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=byjFAFjR6DILkn6aAdyz+qJTXxc//2RxxsbasglgjUM=; b=sU7Ns8iCeXilQd+tLAI3HEM4uise/tXl6Mis1dIcSp/wrD3EyidPGc1Kiz/ogieqoy yiMRe1tenjvoaHX3HItkp5BFYHH5g2rLRanr/tI+L+dT9JQy0am8Tqgu61wy03DWTGJ4 Y96iviNbYA55aIVQ3iBmpCKdIXFkMZEcHidDyf6zKxU2HnSjT2d4uJXuc73yBxCZedWv QhOKZEjjtbDufdPSYRznQH2Xon+jfM05a33XrKo9A5NdmuuLP+/vIncWhv5ZXgbUe7v9 jzJpntCtlsDAx08uVDfu8+rLhdiuliq81nLzPtQi88HzTrdI0Q7r7EdaPpWiqDzGvG3+ NylQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=byjFAFjR6DILkn6aAdyz+qJTXxc//2RxxsbasglgjUM=; b=lOoT3zO6LvyuSrUCfJTc9EHGUOqoOyvb4PmDYUhHev15I7wJF+MS1MDhOK4Cgf2/Uq +c7IBy9h6X3FvQJ884ow89mWcHixYecbgVM6ueXMjWCQh1zSq0yEavvRIQoBiBXqsQ9c pLQD4AbkD25zofXM9MHBsY0c5XOijEbPiGj4WmxbauvfOmH4MklBmiK5+mmiL36Hy4HZ DjCdONq6H6eSMwzJn39rV+jilIlwhTWHnNa+wCVE6p2+JAFgXY1t6M1BVfJi2uCsXW0n U82JOKzePhfyxPltQ1IWxcMp1vDWXg5rNh3HwfKY2fM3nqg4bzhgqQPklBUw0HTuqpa8 7N2g== X-Gm-Message-State: AOAM530rLgWrXHaZQKA90MtWD4DhPYaHRnRsF5nZZ1MA4vX6Mp9URuKy n/HnR8i7bn1hdjiQw8EW3Kg= X-Google-Smtp-Source: ABdhPJyAZNvLz1Q1ZTIh0YnOJudv9+oB9iB8dkDwhgCT0VHWhCZq3G65iw562WQUosW2WpKyE1gc5g== X-Received: by 2002:aed:2c22:: with SMTP id f31mr9524079qtd.219.1615511014810; Thu, 11 Mar 2021 17:03:34 -0800 (PST) Original-Received: from ?IPv6:2601:98a:4102:3d80:d922:4b2:658b:de44? ([2601:98a:4102:3d80:d922:4b2:658b:de44]) by smtp.gmail.com with ESMTPSA id h18sm2929137qtn.49.2021.03.11.17.03.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Mar 2021 17:03:34 -0800 (PST) In-Reply-To: <871rclz07w.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.60.0.2.21) Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=casouri@gmail.com; helo=mail-qt1-x82a.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:266377 Archived-At: > On Mar 11, 2021, at 7:26 PM, Lars Ingebrigtsen wrote: >=20 > monnier@iro.umontreal.ca (Stefan Monnier) writes: >=20 >> branch: master >> commit 71ef0122abf5215eafa2dc414b75630a709de008 >> Author: Yuan Fu >> Commit: Stefan Monnier >>=20 >> Map redo records for undo in region to 'undo-in-region >>=20 >> * lisp/simple.el (undo-equiv-table): Add explaination for >> undo-in-region, undo to the beginning of undo list and null undo. >> (undo): If equiv is 'undo-in-region, empty or t, set = pending-undo-list >> to t. If the redo is undo-in-region, map buffer-undo-list to >> 'undo-in-region instead of t, if it is an identity mapping, map to >> 'empty. >=20 > This seems to lead to the following two test failures: >=20 > 2 unexpected results: > FAILED simple-tests--undo > FAILED simple-tests--undo-equiv-table >=20 How is the test above ran? Maybe I can setup something similar and = investigate. All the tests passed on my machine (with master and -q). Yuan