From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.devel Subject: Re: [External] : [emacs bookmark.el] Sorting by last set Date: Wed, 08 Jun 2022 09:57:09 +0200 Message-ID: <87h74voaei.fsf@elite.giraud> References: <875ylhvu4k.fsf@red-bean.com> <87a6ar84rn.fsf@elite.giraud> <878rq82r05.fsf@red-bean.com> Mime-Version: 1.0 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="30717"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: Karl Fogel , Lars Ingebrigtsen , Stefan Monnier , emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 08 10:10:35 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 1nyqlv-0007qD-Or for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jun 2022 10:10:35 +0200 Original-Received: from localhost ([::1]:49284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyqlt-00016d-IX for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jun 2022 04:10:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyqZ0-0005EN-V0 for emacs-devel@gnu.org; Wed, 08 Jun 2022 03:57:14 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:27221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyqYz-0008RE-1S for emacs-devel@gnu.org; Wed, 08 Jun 2022 03:57:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=CZvFzP0YzLG2PsoT S0exEgztvGsS2DkxFsqITWIZA+g=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=rHZ/K2JmuSyriIncHqpvs1ci+u/JD0o356oaAE K9UPw9VEx7w4HEIobDIjH9tfJ2mvCRdOLHeiTii1IX2diRVyKYKePMMJNm+2997YEalbt+ K1E2kv9smd24I3zoR8er3D1v1k1hUfNpBJyFCU4Z4f3DfC9S+R2dPY31Kepb/2gVPmginC 1Tdw+tHsaqXRH/boE/lzppLwkLLAbVMvDqq6zxj3orajeDHxspmNMRHo1XmR+6WGMplfbp pu/pgpppK1g6Tew9sxCxxVaewHMHN9WJVKaShDxy+Qj0pKQhbjUP5v4lIFzLje0Le2QXnm MIrMXmvk8i3pC6V3bAjBpqlg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id f746d0ac (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 8 Jun 2022 09:57:10 +0200 (CEST) In-Reply-To: (Drew Adams's message of "Wed, 8 Jun 2022 01:14:14 +0000") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:290908 Archived-At: Drew Adams writes: [...] >> so I suggest creation-date' for that first one :-). > > Again, please consider using what `Bookmark+' already > uses: `created'. Keep in mind that here we are just discussing the name of a possible value for `bookmark-sort-flag' (compatible with nil). There is currently no creation date written in each bookmark: it is still just the order of the written bookmarks' list that defines this order. Maybe, we should have one creation date field and in this case I think 'created' would be the best name (it is clear, simple, we don't have one and other package already use this one). Back to the symbol name (compatible with `bookmark-sort-flag' set to nil), I have thought of 'last-created but here "last" refers to the fact that the creation date is in reverse order (ie. the "last" created bookmark being at the head of the list). (=E2=80=A6 and to be coherent with myself, I now think that the 'last-modif= ied I introduced should really be 'modified) --=20 Manuel Giraud