From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.devel Subject: recent undo-tree commit and generated ~undo-tree~ files Date: Wed, 16 Mar 2022 02:03:17 -0300 Message-ID: <86fsnih4kq.fsf@phe.ftfl.ca> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 16 06:04:27 2022 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 1nULpj-000542-CD for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 06:04:27 +0100 Original-Received: from localhost ([::1]:40134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nULpi-0001fh-8J for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 01:04:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nULog-00011H-JC for emacs-devel@gnu.org; Wed, 16 Mar 2022 01:03:22 -0400 Original-Received: from [2607:f8b0:4864:20::f2d] (port=43905 helo=mail-qv1-xf2d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nULof-000769-3F for emacs-devel@gnu.org; Wed, 16 Mar 2022 01:03:22 -0400 Original-Received: by mail-qv1-xf2d.google.com with SMTP id kl20so1069964qvb.10 for ; Tue, 15 Mar 2022 22:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:date:message-id:user-agent:mime-version; bh=AnBApZjkjT1fMWvjmPWleAdp4F8ZFW/bRoMdbkgv8bU=; b=Yrn2ccxPHYn6tkFQIaBU3Mbia/R7JtN+EFK4Ng0ikEueHWNqlezpTTlZvL9/g6qBCF mlCy+MDLkTfDq+uxOLI5uDE3NuQAwpBialwa+nDKOVFTKpj1v4oytC4hKxT00PpuliGq pzq21qUI+ivnzZEqec1CERYIMmnJD6NACkASE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=AnBApZjkjT1fMWvjmPWleAdp4F8ZFW/bRoMdbkgv8bU=; b=1/iM57dlcSdS5xubLrHcLMiFcI/GIrNgBurP9+ID550s38rJsp6jwU8sM5ru/t9e60 fPGtkUfvSb5WFge4tXC+MZkOAVhTLZU4unULynEOxdibAf8B0hjpxO3oxO39SmgHxJsB KXIqZ8RN3I2uH0lulvu+6LO+fucMr3E8AQeHMXr0Bb+zD0rrj5AT50ii2w4t7XZ12wRd 3qtw90SW3k3EHZpT9NVmEwIWGT5O56uAFFBPE6whKBuP1y2iD8+XsMavoSvr1p1D5ySO Mjxp36rMyBOCY/QZhSZSyB3KqijHyvRb5zcby3aAdk/WBowi4A6o6bm9rRgnQnkz93tl 4wGQ== X-Gm-Message-State: AOAM530+3zEAh7iM4T6Ki/CF/BprBE1UUi+N9OZ0Bc/IezIyMfGSnHUk ghf9TyZSHv46oF36lf0HJNiOxuToeED0g0gC X-Google-Smtp-Source: ABdhPJw5UmUGgjVAId+PBQ8IxrU5Z22J9Y8/oFGdHNXor9OSXhyVvAxrR4A90uM+R7dWzLPyNOMJ/Q== X-Received: by 2002:a05:6214:e43:b0:43e:9638:34bc with SMTP id o3-20020a0562140e4300b0043e963834bcmr14732532qvc.81.1647406999003; Tue, 15 Mar 2022 22:03:19 -0700 (PDT) Original-Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-156-34-173-250.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.173.250]) by smtp.gmail.com with ESMTPSA id b20-20020a376714000000b0067b21e5d18asm432047qkc.105.2022.03.15.22.03.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Mar 2022 22:03:18 -0700 (PDT) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2d; envelope-from=jrm@ftfl.ca; helo=mail-qv1-xf2d.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:287210 Archived-At: Hello, After commit 1f8d005409ceaa9ff27be04dabc155dcfd90fd03 to the elpa repository, which updates undo-tree to 0.8.2, whenever closing a file, a new file of the form .~undo-tree~ is written to disk. The contents of the generated file are something like this. (undo-tree-save-format-version . 1) "7424f62f1237984237e1b27d050c613dcb2e6a01" [nil nil nil nil (25137 27709 755877 763000) 0 nil] ([nil nil ((#(";" 0 1 (face font-lock-comment-delimiter-face fontified t)) . 1) (t 25137 26978 515241 0)) nil (25137 27709 755875 613000) 0 nil]) ([nil current ((1 . 2)) nil (25137 27709 755869 986000) 0 nil]) nil This is with a recent Emacs build from the master branch and default undo-tree configuration. Setting `undo-tree-auto-save-history' to nil stops these files from being generated. Perhaps this is new, intended functionality, but it wasn't clear to me looking at the commit. Regards, Joe