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.help Subject: Re: A ton of marker entry in buffer-und-list Date: Tue, 2 Mar 2021 15:29:25 -0500 Message-ID: <25A759E1-0A1C-4844-A481-CF46C87325FA@gmail.com> References: <72F34690-3033-4CC5-8AFC-89C6158AA65D@gmail.com> <83k0qvqnul.fsf@gnu.org> <834khzq7iv.fsf@gnu.org> <04692508-554F-426B-BFE6-1C4A9B7D6307@gmail.com> <87czwm5wl8.fsf@web.de> <83h7lyoun8.fsf@gnu.org> <87y2f8gbmt.fsf@web.de> <87lfb7iv04.fsf@web.de> <8B9B7C97-A763-47EB-98BD-7A89B03E7182@gmail.com> <87lfb6zcaq.fsf@web.de> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 02 21:30:10 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1lHBei-0000K4-GQ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 02 Mar 2021 21:30:08 +0100 Original-Received: from localhost ([::1]:51544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHBeh-0005dQ-IQ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 02 Mar 2021 15:30:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHBe6-0005dI-G4 for help-gnu-emacs@gnu.org; Tue, 02 Mar 2021 15:29:30 -0500 Original-Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:42340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHBe4-0004kp-Vm for help-gnu-emacs@gnu.org; Tue, 02 Mar 2021 15:29:30 -0500 Original-Received: by mail-qt1-x82f.google.com with SMTP id d11so15094369qtx.9 for ; Tue, 02 Mar 2021 12:29:28 -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=zIxHSULgde5g8ZLjDiPDVOv0AFafvFZUNA70aEVmHiM=; b=eI2Q4KqP3tfyrKHG2fqQUWwdy0AsGr8Es50KTkfuwUce40PIgwgQqVWPcNq5W9xL14 PEzl3SE5gA6Glkp5dHT0dl6aOnxsF0RFaLfWhVRUqojrX7pwdhNWXfV7DhP1HBAQTT4/ wXpWSS0cOACkt/O/oAkpJMTevZiNY2aMhKz8pkTTSi8fBaVpR+i8EAEcVefPw57rqYp6 C/Ez30H/vouWEEd8k20UOwKh0b6pZqPQOxPkKEydmjayIUSDeTs6LR5oAz6JTBmSzRza pio9ZvgF6waH/aO/HYBAIldfCBJlDjx1vzZ/xTLJvu2OaFd7vs1y6JjTinvQBJvjk0fK w+dQ== 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=zIxHSULgde5g8ZLjDiPDVOv0AFafvFZUNA70aEVmHiM=; b=jKMVHmpOyGD0XfTbQ9zmvVXX7QhzaeHPsqBWpL6GLE7RNjjdFzPPlnbLNObOOaFXpi JeZcxqWITi7jkLlymJNrxIoDHUy6pGxSEKi1EJB5gUNo1IS0nBwUbQtF0VGVdfDiUpAM ORusfJlZ/JTGvf7iAK7n3UUOlQdCUgBPkPtYWZ0S3Vrho5N8ztUSIcAQMD8Q1vLGqnss Z5leYzupSuTXlQe7nLpBXgX3/i3l4A1jLTCUH6h0dQY+3/o5l9BXfV7zFIf6qv2plZ3S 3XtjZVxWBII/sDQa8xRemCpQlUIAfiyaJmTQFUhGwLy+WrmdgDPSUtuBKkfUJsKCjDnE oRQQ== X-Gm-Message-State: AOAM533oNMKRDDyda9Ie42FARPG5XWf8T18QPZAiNIwhUS4oNLk0xjbw IYXEYJAOMLFT6mDjo5P0wAw= X-Google-Smtp-Source: ABdhPJwMoeQwByK1texUDidnTTm/jL177irc1di5IeEVQTV+c5iOElgaJxbmo4xX/8FHtyOryca3Ew== X-Received: by 2002:ac8:355a:: with SMTP id z26mr18728696qtb.27.1614716967439; Tue, 02 Mar 2021 12:29:27 -0800 (PST) Original-Received: from ?IPv6:2601:98a:4102:3d80:d5d8:c1e1:7c15:ceff? ([2601:98a:4102:3d80:d5d8:c1e1:7c15:ceff]) by smtp.gmail.com with ESMTPSA id z188sm14844700qkb.40.2021.03.02.12.29.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Mar 2021 12:29:26 -0800 (PST) In-Reply-To: <87lfb6zcaq.fsf@web.de> X-Mailer: Apple Mail (2.3654.60.0.2.21) Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=casouri@gmail.com; helo=mail-qt1-x82f.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128345 Archived-At: > On Mar 1, 2021, at 6:25 PM, Michael Heerdegen = wrote: >=20 > Yuan Fu writes: >=20 >> Using the same recipe, I got 18, the number of marker entries in each >> undo step. >=20 > Since only you can reproduce something pathological, could you please > create the bug report? Makes no sense if I do it and get questions > about the recipe that only you can answer. Of course, I=E2=80=99ll report it as a bug once we conclude it is one. >=20 >> Also, even if the answer is 1, it is not ok because that shortens the >> number of undo a buffer can record by a factor of n (e.g., 18 in my >> case). >=20 > If there are markers, undo probably needs to handle them. Is the = effect > really that drastic? Aren't markers only put into buffer-undo-list = when > undoing, but not for all other editing operations? >=20 > Anyway, an important question is why you see 18 different markers in > your buffer. Indeed, this shouldn=E2=80=99t be a big problem unless one hold on C-/, = which is uncommon in normal editing. I don=E2=80=99t know why I have 18 = markers. I just tried again and got 15. Are you using Emacs master? Yuan=