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: Thu, 26 May 2022 21:41:19 +0200 Message-ID: <87pmk013q8.fsf@elite.giraud> References: <877d6b88pz.fsf@elite.giraud> <875ylv6j58.fsf@elite.giraud> <87o7zngcgf.fsf@gnus.org> <87k0a93g4z.fsf@elite.giraud> <87y1yp1vnw.fsf@elite.giraud> 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="39615"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: Lars Ingebrigtsen , emacs-devel , Karl Fogel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 26 21:42:30 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 1nuJNO-000A8G-1S for ged-emacs-devel@m.gmane-mx.org; Thu, 26 May 2022 21:42:30 +0200 Original-Received: from localhost ([::1]:35898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuJNN-0000Pu-3R for ged-emacs-devel@m.gmane-mx.org; Thu, 26 May 2022 15:42:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuJMN-0007gw-EU for emacs-devel@gnu.org; Thu, 26 May 2022 15:41:27 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:4472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuJML-0006X0-3m for emacs-devel@gnu.org; Thu, 26 May 2022 15:41:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Lr2zFMZOaKSHj4Fl sch2qUmbHnMRYJzoGXZyKbhfYj8=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=b9Tr0ok4IR2/thcYpKymiiLgvHK1K/i0IRxnaJ 1u4mCnb6rD2KIlqBAPYaP6Zrd02FBOt3KnV6AkT4lYae0ytiTVGj/Gz6BJzcvozrCDGSK9 7cYIMWMlkuycsxBJKesYKSeW8jGlifyOTzu9Q9+8NU52quzmgKzd/iAdgDcyfbz4Rn53lb 68vDHLN/flRncwGnu3NB6OTjytBmsj+LdqAJK2VeJ56fVtPzr3W4H7T4oMYtzxEADEzr+L HV6OBy/qwYrhs1Ff+WFfyALEv4VBEB2pTByv1C80xXeKMEthtaZOzsG4GO35nfRykpdPVb 06jkGvLFBl+86B80nnfYD3uw== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id f7d9ccc5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 26 May 2022 21:41:21 +0200 (CEST) In-Reply-To: (Drew Adams's message of "Wed, 25 May 2022 20:17:30 +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:290287 Archived-At: Drew Adams writes: [...] > IMHO, it was a mistake for `bookmark.el' to have > moved its `*Bookmark List*' display to depend on > the straitjacket that is `tabulated-list-mode'. > > That limits things quite a bit, including sorting. > Far better to have `bookmark-bmenu-list' display > the listing itself, as was the case in the past, > and as is still the case for Bookmark+. > > In particular, without `tabulated-list-mode' > there are no limits on sorting or on users > defining their own sort functions. It makes > little sense for sorting to be essentially > limited to sorting by columns. >From my limited experience on this patch, I agree with you. For instance, in one version of the patch I thought it would be a good idea to put the modified timestamp in a column. As my timestamps came from (current-time) it was not human readable so I had to format-time-string those. But then I have to be able to sort on this formatted string. So I choose to format those timestamps with "%F %T" to be able to sort lexicographically (or maybe I could have parse them back)=E2=80=A6 and at t= his point, it feels like your fighting the system. --=20 Manuel Giraud