From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#29110: 25.2; Should push-mark allow duplicates? Date: Thu, 02 Nov 2017 07:43:25 +0100 Message-ID: <87d151i3jm.fsf@gmail.com> References: <87h8udiqv3.fsf@gmail.com> <87fu9xioo6.fsf@gmail.com> <8760ata86n.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509605052 24499 195.159.176.226 (2 Nov 2017 06:44:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Nov 2017 06:44:12 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.2.1 Cc: 29110@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 02 07:44:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA9ES-0005i8-VG for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Nov 2017 07:44:05 +0100 Original-Received: from localhost ([::1]:58899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eA9Ea-0002Ph-AU for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Nov 2017 02:44:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eA9EU-0002Pb-De for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2017 02:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eA9EQ-0004qn-HV for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2017 02:44:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eA9EQ-0004qj-CZ for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2017 02:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eA9EQ-0006V3-4q for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2017 02:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2017 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29110 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29110-submit@debbugs.gnu.org id=B29110.150960501624934 (code B ref 29110); Thu, 02 Nov 2017 06:44:02 +0000 Original-Received: (at 29110) by debbugs.gnu.org; 2 Nov 2017 06:43:36 +0000 Original-Received: from localhost ([127.0.0.1]:46766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA9Dz-0006U6-SW for submit@debbugs.gnu.org; Thu, 02 Nov 2017 02:43:36 -0400 Original-Received: from mail-wr0-f180.google.com ([209.85.128.180]:46283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA9Dy-0006Tq-2U for 29110@debbugs.gnu.org; Thu, 02 Nov 2017 02:43:34 -0400 Original-Received: by mail-wr0-f180.google.com with SMTP id l1so3990367wrc.3 for <29110@debbugs.gnu.org>; Wed, 01 Nov 2017 23:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=VCBsUhkeYN0/EEL1BSDm/FVVCxeQVE+TBvKYiEsW6y4=; b=E6ifRTqRO+fMRciw4sr+5ST4P7Ct7VF1d3A0oy0OeX+lF1NDo10/wvtayNDH2yxDD9 kMYoowQnt1ayBozu8VN4e6/pUU1p3orh2JLzOYvFK0wsbDQuN6FQMBsyPpUiQCbVlq2X +Vk+bKcvesQgdWOv+PLRbScz+hYFCS2j3FwIM+s77kwEJ8DaHUCk2eu5WrrcmQha23mu ad4WdiShwqLk7AsVVS+XGH7AXEJMVq3uXDkdeCZt0GyLzSSnblYdqZeVrBoAAgc1w97v oaxWihznx4w5i6TEywbG390SHZ5d3HIzplHEmV4KeEWbmBCf7UEwnb2nANtb+pQd2dWu pWkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=VCBsUhkeYN0/EEL1BSDm/FVVCxeQVE+TBvKYiEsW6y4=; b=NKVlTQA97/5/hhoHtuJDjekZiV9oEjPiQKCMZvtz4bl7DupudSjxgwcpkUWjbRzn07 BA9JHWq+gd9vWEGxMxvNGWeUWIXOAjXUOGhG9zaP2X9apdAJqgKSXObYEePRZvXyd8c3 upMNF3a9fYIbZsmrpjySv6sMrFyg963l2uPIMeHx3YTS6a6+ynl3BvhJU7mU8h2V6vc3 AVK3t7w7SGpF2x4GcCofzVvYbvuKxrPQGi5hKZMUNp2BTgeEq5Y5gv3UYQinhPrjVG89 wYQjIn8RiinrVlEQzKO/xKO7P7lZ6L3mZxFsv/45HCKCf6VEls3n211Wt2Pyt4IBKLdW +mPA== X-Gm-Message-State: AMCzsaV0/8JeEFhRKIs0SrIDFgoWBWELzKFD47LzoDc943iLJNOkEw3x zfHCzKZMj6eERY7mgXrIZaJr2BeD X-Google-Smtp-Source: ABhQp+QsNhdD1Nrq5pN2AuswljSVhqlCYXgJapZoHqXPkvb0oiVm0bVxMyzQlojdFdYDfn4P5VboIw== X-Received: by 10.223.170.67 with SMTP id q3mr1622588wrd.193.1509605007779; Wed, 01 Nov 2017 23:43:27 -0700 (PDT) Original-Received: from dhiov23k ([197.3.194.77]) by smtp.gmail.com with ESMTPSA id 141sm3355787wmr.45.2017.11.01.23.43.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Nov 2017 23:43:27 -0700 (PDT) In-reply-to: <8760ata86n.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139350 Archived-At: > Consider this: > > mark-ring-max is a variable defined in ‘simple.el’. > Its value is 16 > > Documentation: > Maximum size of mark ring. Start discarding off end if gets this big. > > You can customize this variable. > > global-mark-ring-max is the same idea. Damn, I had no clue about that one. Thank you for shattering my ignorant concern to pieces! :D That being said, it raises another problem (sorry for being so annoying): if we have a limit _and_ we allow duplicates, it means that a lot of duplicates will discard old entries more quickly. > One thing to note is that push-mark resets markers before discarding > (so that they no longer point to any buffer). Thanks a lot, that's an excellent lead. Indeed, that might be the root of the issue. We will investigate further. Thanks for all! -- Pierre Neidhardt Here is a test to find whether your mission on earth is finished: if you're alive, it isn't.