From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.bugs Subject: bug#13882: 24.2; saveplace.el limit drop least recently used Date: Sun, 10 Mar 2013 17:09:11 -0500 Message-ID: <87li9udi0o.fsf@floss.red-bean.com> References: <87ip55608l.fsf@blah.blah> <874ngn5ioy.fsf@yandex.ru> <87a9qe52l6.fsf@kwarm.red-bean.com> <87zjyc3wbx.fsf@blah.blah> Reply-To: Karl Fogel NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362953420 6403 80.91.229.3 (10 Mar 2013 22:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 22:10:20 +0000 (UTC) Cc: iain.dalton@gmail.com, 13882@debbugs.gnu.org, Dmitry Gutov To: Kevin Ryde Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 10 23:10:43 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEoS2-0001ZE-Ih for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Mar 2013 23:10:42 +0100 Original-Received: from localhost ([::1]:56608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoRg-0005ad-Ce for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Mar 2013 18:10:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoRY-0005SG-Im for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 18:10:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEoRX-0005o7-Bu for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 18:10:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEoRX-0005nt-7s for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 18:10:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEoSL-00089n-H7 for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2013 18:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Karl Fogel Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Mar 2013 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 13882-submit@debbugs.gnu.org id=B13882.136295342031309 (code B ref 13882); Sun, 10 Mar 2013 22:11:01 +0000 Original-Received: (at 13882) by debbugs.gnu.org; 10 Mar 2013 22:10:20 +0000 Original-Received: from localhost ([127.0.0.1]:44610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEoRg-00088w-FO for submit@debbugs.gnu.org; Sun, 10 Mar 2013 18:10:20 -0400 Original-Received: from mail-oa0-f42.google.com ([209.85.219.42]:40220) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEoRd-00088i-Fs for 13882@debbugs.gnu.org; Sun, 10 Mar 2013 18:10:19 -0400 Original-Received: by mail-oa0-f42.google.com with SMTP id i18so3915687oag.15 for <13882@debbugs.gnu.org>; Sun, 10 Mar 2013 15:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:reply-to:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=HZZQ4ujTQ7JeALLdXfFa/nXS5ctJHVuOc3jE7IPjTQg=; b=HwjZ0GvdCNtAASPGVGmXuhnKy4hh6F5zBSTO+2GWQr4U1r2IoY3HBzTgJx566VYLPV 0h5kW+Q8Bs1TroqGQUpFxfVSg+0WjFvi0RrEx9L1QZkuiFvuwYH3WT0SiaF73yG08NDt PK1CZG2rpWE0G+SNAGMN7bOOQe55hrJodDERPTEdOCU2fTRSpz0GGbIIkdSMEtKe06aZ k5u4Uodq533kcDaEI94CbPER4koUPxlqw/eASYoBvrqawUoyXMLlxCO+dKfJwWsLp0V6 tzZubsQ+a4UpWhajhdJ4HAfN1uRiNHTIFwQ4mo8K5JAfm0GWptzJ1CvZb5i5FsZagRid BkbQ== X-Received: by 10.60.172.131 with SMTP id bc3mr7142490oec.79.1362953361212; Sun, 10 Mar 2013 15:09:21 -0700 (PDT) Original-Received: from floss.red-bean.com (99-135-138-214.lightspeed.cicril.sbcglobal.net. [99.135.138.214]) by mx.google.com with ESMTPS id j10sm14920552obg.4.2013.03.10.15.09.17 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 10 Mar 2013 15:09:20 -0700 (PDT) In-Reply-To: <87zjyc3wbx.fsf@blah.blah> (Kevin Ryde's message of "Sun, 10 Mar 2013 11:57:54 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72303 Archived-At: Kevin Ryde writes: >Karl Fogel writes: >> However, I think the answer to that is also clear: unsorted should be >> the default (or rather, chronologically sorted should be the default), >> and if a user wants the list alphabetized (for merge purposes), they can >> configure it so. > >You'd be very tempted to let them put it through the sort program or >sort func themselves, not have any option at all. ? Sorry; I didn't understand the above. Are you saying I personally would be tempted to do that, or that in the abstract one would be tempted to do that? How would the user hook in to run the sort, unless we provide some option in saveplace.el? (We don't generally expect users to modify the source code of core Emacs packages.) >In a merge you presumably still want the most-recent 400 visits, or >whatever limit, which would require per-entry timestamps to do properly. >And if you're not limiting it then I imagine there's no need to sort, >just concat the lot. > >I wondered how well the simple save-place-loaded bit works when you've >got two running copies of emacs. I suppose the save places of the last >one to exit will overwrite anything the others saved. That wasn't the >aim of the "merge" was it? Um. Can you say the above more verbosely? I'm not really understanding how many different topics you're addressing, nor what changes you're proposing... I'm happy to address a concrete proposal, I'm just having trouble understanding exactly what you're saying above. (It could be because I'm a bit sick right now; apologies if my brain isn't working right...) -Karl