From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Lost or corrupted `undo-tree' history Date: Tue, 18 Feb 2020 12:39:11 -0500 Message-ID: References: <1631cfa6-91e2-1fc9-85b8-fdb55a4aa765@Alexander.Shukaev.name> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21374"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Alexander Shukaev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 18 18:41:04 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 1j46rn-0005Qv-5i for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Feb 2020 18:41:03 +0100 Original-Received: from localhost ([::1]:39334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j46rm-0001cR-4N for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Feb 2020 12:41:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55021) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j46q4-00086u-If for emacs-devel@gnu.org; Tue, 18 Feb 2020 12:39:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j46q3-0006Fp-44 for emacs-devel@gnu.org; Tue, 18 Feb 2020 12:39:15 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j46q2-0006FU-Tg for emacs-devel@gnu.org; Tue, 18 Feb 2020 12:39:15 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 07FD544E9FA; Tue, 18 Feb 2020 12:39:14 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 77BB744E9D1; Tue, 18 Feb 2020 12:39:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1582047552; bh=5jNwdfZx6VpnaLhMVQZw0Z7fEB5bNq8IayYLyd/L+bY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dqK7i8ucAMUF7WhjY9Xi3PeiP1o4qSmR5AsgLI2UxojcTh/fpso1IeW/TOtq2zhZP nqhliMuFYKLxLKQVhEvxEoy1TP6JcD2kbpltL/DpFXsl2lvG0Ujqgv0V8UrWYgc1OE i8zQhSHVGGQtVp5Yh160yQSysS7ssAfvrRmoGDRn1W9icBtMCYP+L85AolJ5Uuazv+ PVeAJwLTtZcot7bT29UiQOWHed6tFfWNRAvezcHpfye/EHKYPYp7G9T4u04fFrOEGE WhzAD8xbBhC9jBtaQQal/aCcExeGdtUPj1EjiQnuY2pDZqZHQT3sGhVKpSBo6hg7U0 T9YjEPjDqP+Gw== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3EB181205F8; Tue, 18 Feb 2020 12:39:12 -0500 (EST) In-Reply-To: <1631cfa6-91e2-1fc9-85b8-fdb55a4aa765@Alexander.Shukaev.name> (Alexander Shukaev's message of "Wed, 8 Jan 2020 23:45:35 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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:244986 Archived-At: > only show after some time whether the issue is truly gone), I believe the > garbage collector can be temporarily disabled by simply wrapping the body of > `undo-list-transfer-to-tree' into the following `let' form: > > (let ((gc-cons-threshold most-positive-fixnum)) > ...) I think I'd be more interested in trying to make the problem *more* frequent so we can finally track it down. Stefan