From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : [emacs bookmark.el] Sorting by last set Date: Wed, 25 May 2022 14:01:29 +0000 Message-ID: References: <877d6b88pz.fsf@elite.giraud> <875ylv6j58.fsf@elite.giraud> <87o7zngcgf.fsf@gnus.org> <87k0aaz6u9.fsf@red-bean.com> <87sfoy597m.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Karl Fogel , Lars Ingebrigtsen , emacs-devel To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 25 16:21: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 1ntrtC-0007ya-0y for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 16:21:30 +0200 Original-Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntrtA-0006gl-JW for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 10:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntra0-0000gy-RZ for emacs-devel@gnu.org; Wed, 25 May 2022 10:01:40 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:58618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntrZw-0006gf-UH for emacs-devel@gnu.org; Wed, 25 May 2022 10:01:40 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24PD3wVt023486; Wed, 25 May 2022 14:01:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=SyO/2wV4skfcDGCzU2gZkia+FC3KYxwUDKpvusBpWnY=; b=FtLqwHTHXLTt8DhRK0vU6XotQTmNO+VStGmZTZODurrmyIhKVisN4a6t3utlHkEK+uCR tR7/VP+9+slfbm2vV+2ho4f1tusMzk+XA2ZCC8Qt+yjBajddM9iNOjQdpjeO2RF+PHxu V5SKR0UxjjfuY1Gu6gsiGmAVv4tF5kCdpZuSonTbR7mp5DUvmg+axJSJTuQ9e8jZzFbX M8uM7iWsqYETZTZ9P7QxmFmYSe3BYXsNg+9dfwrdVdT0nVDNZKVyL3+Jl5A/kpJldJfm q1/YZrNJY0MTjdxo4bYlevv4rkm7QiVT861Wfd7fvOR/kdugg2CvCOoiEsqgmOZbsUHB zg== Original-Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3g93tdt79p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 May 2022 14:01:32 +0000 Original-Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24PE07Gv002995; Wed, 25 May 2022 14:01:32 GMT Original-Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2176.outbound.protection.outlook.com [104.47.55.176]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3g93wvay4c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 May 2022 14:01:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=drN8/z/0L7YIw1eOqBc+gVyk/FJMmJ0qgVi+1kPFtuvQGEFxN9DBbsC0HTpY0H0F793uAoaprHfVywr589X2PfvDJ9hMgIzDSs/4fA5i8DqwykEI0xESWzxpVC+dI6kyeCqxFZ8Jqk3uPUojCG94Ft2stCiWGALrkErC08DHY37XVGjCTSJ/m6nV5r/uOBNlVQLaO5dQvIIZYGuQE4FJ2Q5hYy80D6lRnbjgUqdierpZtNvj+KJZD44sWNytOUzMhfA1XwbWBANXMHEyaPJKSDvB4RPaNOlEaOL96MTdt8xTsVtZTMcI4VZ8x8D5bI5sWXI/FXMmu+EFgPdLQQn2vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SyO/2wV4skfcDGCzU2gZkia+FC3KYxwUDKpvusBpWnY=; b=QtPmDKqeyjNni/l3C2Og0wlUlWxunDVNibCVgGX44+TiGj1Xq27bHWDDGDJL8Za+ee5D1Bs5cECVbZcPyooazX8aniKFe1QWsbwn/+zokBo/2vo6kcKP5FC1qjirEB+vHLOs5QJZPGZMKhOX+hhVtgpdn2jNY1CK6hf+2/NEEUYKIBpMa+gygkfWTcg5za1C8LOtRdki+QIhp0c1vVWcwRm7jcH4zvNBOVLLKcIUCwxaAnnu0xYsfRqHepCscxL9KiGL9t+RlEPfkwpLSC2IrtmxevhSMTC+vmV8Mfys6IrshdiDGqH49TKH4jEUmQ368AUPw9jXY5WDgDySKhnNoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SyO/2wV4skfcDGCzU2gZkia+FC3KYxwUDKpvusBpWnY=; b=bgONmhYkzOWLmXzDCjXoeCU1f/y8Wvb0Y371e0V89qFhg81/10yEN7iSVgN4mPpraBTnTeNIi5U5XjRXm/Q1iEIK7K1Bxg49bhCAfSNeI9tkxMO2Xq/8IpO5VLfDkTP5CivdzpD2mBSVhl63iY5EbojCbkTkYK5MehObnWsAXis= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SA2PR10MB4441.namprd10.prod.outlook.com (2603:10b6:806:11d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.16; Wed, 25 May 2022 14:01:29 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::31c9:b8b8:b561:e53b]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::31c9:b8b8:b561:e53b%9]) with mapi id 15.20.5293.013; Wed, 25 May 2022 14:01:29 +0000 Thread-Topic: [External] : [emacs bookmark.el] Sorting by last set Thread-Index: AQHYcA4fWLI76KR0rUqInxWifJyoMq0vmiPQ In-Reply-To: <87sfoy597m.fsf@elite.giraud> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4f010cff-ca0d-4d1d-7e8b-08da3e57113c x-ms-traffictypediagnostic: SA2PR10MB4441:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pi4aO/DTIA9VceChgzyMVqdxUAsq54ofhJ5HjXs3VdaedNywR+H0k4GfDxPBObtC5Dh1AuTJm5SFIO7pgfaVqvocm0zTG5gXu2DFUzfcmI4x3Dn9BWQIQ+8ijEpQLv0udkLT3awxuo6bSghfb1WneF/3GLxswo5Y7UKGaKR658NvbJtmVp4bJPInZYkZ7GWM95+VuJljrFjdoyjn6KTRjLRZ+WwM8owyLiR3vY7MR/hZSiVA+XHybVFLJ+moLxltHNV2vEBRjI9bRviTWGAn9SQ2dicVBN8xorqeOS6Qb0iNh+z+ZeGtce9vBm01koh+K6PvAdsa1WsFmRv2pIlgJPyRcgxQnUS6U4Kj8UnSqZ8BimKh7+pFZziM/iXOc3F6RgMw428OgAy2Yl2dQJUSdhoWuGn3gakQl03Du7kyGjyTjQQx2VSy3gMx2aQNbZg31yyPEG7n3xcX3FKXpwwGpxu9UPiX6OHfleFQZE/pID8mFaiOHeo0r4BvL7yapvIHM3zoVEqmy//xakW4DzmRA9K5SYyk5g+Pr2P7+JILxtfv5BTc2NCI1qozM/ffXAMnc5X2plJOrxgeYfcYbygUXkVO8nxFr28eJuQKljyZrHhGWW/EE+g8AxkPVjsMX/yxttj6HHEnAFwch7wkdVYIGL702Lz9MZJEiouRBIcZfooDVwRGzcNIGDhnzO7GaAF4aRmOabSQJoybzVajbIIhhg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(6916009)(8676002)(316002)(54906003)(186003)(38100700002)(66946007)(76116006)(66446008)(64756008)(66476007)(66556008)(6506007)(52536014)(4326008)(5660300002)(55016003)(8936002)(33656002)(38070700005)(71200400001)(122000001)(26005)(508600001)(9686003)(83380400001)(7696005)(86362001)(44832011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?29aSO8atcb4D0Ct1nvw9xH6ogG08iJnuAX4nFyDi3+W3kuVUpr2caWFvsY8s?= =?us-ascii?Q?L1+uD6oqhMvW4ZopdnwnWHNUW7PPPzokq9+AJ3zYcA/8AeAwoxW8NZpj9laH?= =?us-ascii?Q?BcPL+jKHs6WCzMFqnr3c2ToobJDC3etswm49NRqUphUkPpsuHeejFpZrwOEc?= =?us-ascii?Q?svnXVsQMLEOYU5r+FM7flIOVpqI+gn5SAKi/fV619V+hk9gnRsWYK1MTvlpT?= =?us-ascii?Q?ddUG0ohN3NnDPKM9erLu9/bSowDPVtv3y2rZ6r+U/ZhbiWYvymqxrzMfWH2L?= =?us-ascii?Q?Y1jktC+8Mpa+BLSiyRtu91WfVUQ77fSjI28hXjg31cOUUjFnBNzoQLQlHpGT?= =?us-ascii?Q?1ILBsDmieneLysfKpgEnXOeFFZGPcOo1Vg9+4S91ycHML2redniQsjT5dXJ6?= =?us-ascii?Q?Ukq78jhc6dRMRXwU4nqb8qLUdyw4UW/pTPD6wbvPtqL0TSh2bsawZWrgbLUk?= =?us-ascii?Q?bBkew39rjiX37jPDyiIOhnKNvSHympaHTiD4sPWrY4Bpn+GLoS4ZFnD9D7WU?= =?us-ascii?Q?Lc6JzH3hoL1jNGlCRMDs33TglsWvqgH43NDTShzd2+3Q92wRO2BKNkfvfRac?= =?us-ascii?Q?vDTFJWC8SQEYoaJq0L/Gz5FZFW7oa0hagqJXrQ9mWDE8FdwqRKQCox8290dC?= =?us-ascii?Q?PI X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f010cff-ca0d-4d1d-7e8b-08da3e57113c X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2022 14:01:29.8444 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3anUmfG8RPDWCF78PiIEk1P/E44mTtC/iNdCPRSOnKISMk7WeL0eQ67O5HgBna7wjWcmphiC/UmQECDtDUIevA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4441 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.874 definitions=2022-05-25_04:2022-05-25, 2022-05-25 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2205250072 X-Proofpoint-GUID: JnSjY-81szR2tJAQwj8Sg-EbNPgFmWNj X-Proofpoint-ORIG-GUID: JnSjY-81szR2tJAQwj8Sg-EbNPgFmWNj Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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:290252 Archived-At: > > But sorting all bookmarks by last-modified time? > > How is that useful? (Again, just curious; not > > claiming it's not useful.) >=20 > 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. Thanks very much for making this clear. I think this use case is handled well by a last-accessed (aka visited) field. The one used by Bookmark+ is called `time'. It could have been called `accessed' or `used', but I think the "time" of a bookmark is pretty clearly the last time it was used/visited/accessed, and a name like `accessed' or `used' could suggest the number of times it was accessed/used, rather than the time. (Bookmark+ uses field `visits' for that info.) > > 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. >=20 > Yes maybe that is what I want. Great. Then if vanilla Emacs adds field `time', and assuming it uses it in the same or a similar or compatible way as Bookmark+, I'll have nothing to be concerned about, I expect.=20