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, 25 May 2022 10:04:45 +0200 Message-ID: <87sfoy597m.fsf@elite.giraud> References: <877d6b88pz.fsf@elite.giraud> <875ylv6j58.fsf@elite.giraud> <87o7zngcgf.fsf@gnus.org> <87k0aaz6u9.fsf@red-bean.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21892"; 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 , emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 25 10:08:32 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 1ntm4F-0005Ve-UB for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 10:08:31 +0200 Original-Received: from localhost ([::1]:54604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntm4E-0007fY-C9 for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 04:08:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntm0j-0006kx-8u for emacs-devel@gnu.org; Wed, 25 May 2022 04:04:54 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:26881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntm0g-00028P-3e for emacs-devel@gnu.org; Wed, 25 May 2022 04:04:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=uryF/VKrDGkpJlXZ 2qHGupzPT1BAHZmNldxRjzrEToc=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=fmVt+NBBM3mgbZ/hDvIB3VtgTXjT8X4ug+QkU5 YsOXZ6PKBnfwlBNJW7x776TL36mFO1r02BDJ1Kdt8J6fi/aGOr1TfySPfVAJTPKgVgMAx+ QraEKvaVsXQ48MYrP0r6OgN+yH3RL2wrnhh7O0+kw0ixy8UDx6nMoMuoItLlJ6NK7eQkP9 snqtkRukGpFjy5MyuEugX5l1fzmhyIglpvvaApyhbOyN4c/ZFmHzNLFR1B4MnEU4fiKCCe 5pmQzRkrYuFPugX94F3uDYqrVILVSIo3MHd1VESCP27QNsudJT5T7wrECF+Tl0m5LVc1Xz Wjy8IxplMRO2PlNKPByDv4zw== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d9d1cf15 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 25 May 2022 10:04:45 +0200 (CEST) In-Reply-To: (Drew Adams's message of "Wed, 25 May 2022 05:05:31 +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:290237 Archived-At: Drew Adams writes: [...] > But sorting all bookmarks by last-modified time? > How is that useful? (Again, just curious; not > claiming it's not useful.) My use case would be, when calling 'bookmark-bmenu-list', to have the last modified bookmarks at the top of the list. Why? Because then it looks like the stack of books you have next to your bed: at the top is the one you are most likely currently reading so you just pick it up. But you are right that for the rest of the stack that might be less useful. > What I do know is useful, however, is the time > (date) of last visit/access (as well as time of > creation, of course). That's related to the > number of times a bookmark has been visited > (accessed). > > Sorting by visit time is like seeing a recentf > list. Sorting by number of visits is like > seeing your favorites list. I often want to > sort these ways. Yes maybe that is what I want. -- Manuel Giraud