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: Tue, 14 Jun 2022 16:36:36 +0000 Message-ID: References: <875ylhvu4k.fsf@red-bean.com> <87a6ar84rn.fsf@elite.giraud> <878rq82r05.fsf@red-bean.com> <87h74voaei.fsf@elite.giraud> <878rpznts7.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="5251"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Karl Fogel , Lars Ingebrigtsen , Stefan Monnier , emacs-devel To: Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 14 18:43:34 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 1o19db-00016S-Na for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jun 2022 18:43:31 +0200 Original-Received: from localhost ([::1]:52326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o19da-0006vG-Dg for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jun 2022 12:43:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o19X8-00027f-I9 for emacs-devel@gnu.org; Tue, 14 Jun 2022 12:36:50 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:27934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o19X4-0000ss-5Q for emacs-devel@gnu.org; Tue, 14 Jun 2022 12:36:50 -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 25EEqd0n030309; Tue, 14 Jun 2022 16:36:40 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=MZIps7mPY4no4voe56A1aD1zQzhIONqBDilY+zPq7n8=; b=0bUK+q/UTPCk3XZHeWGKgWXkCKeFJn2mq1yFbfBr135z66zRlMgHSGIeWM3019M6v7mK vsFm1pcLQwclDaSAwVBDSG9IU2/6H0SPcNLC18ag80tqe9j+K/fACQvMqbJ6UaepGspp P0rJ2iUaWLWmfXrT5FQwvpqqeRARx71Hm1212gloW4p4TLMTPL+N6KGyhpyKZrRJqRbL YCsu01J4v3BXIr2QvTHKlkbMvBCXV/5EpJVEiWnf7T0Ln9R1AH0hCzj2FeHWmumiagi5 m443U7fHBshpXtW04EGOU58KHeu3dG66KuzpXbPO47q00pxAGi53yxDLTfJVUko8Lw2m ag== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gmjx9e7rp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Jun 2022 16:36:39 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 25EGZYoB011943; Tue, 14 Jun 2022 16:36:38 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3gpqwa2kwe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Jun 2022 16:36:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OYUhXYhGspdua2iTOJCbpenotlEkDds2zIp7yNnTBNuBj6b0Pa/3rbGIvNiyBed/Tw8nO9Gp2IHviuncur0Gnc+7IKU1Y5EsnyP/8gcNbSRgojVNZiV3acKvnhcMuFLQ9fBK6loVYhvCTSj9yj1T5tK0JYLXX53Xz/b6cAgmWfxYpk/L9/CXpCu8ZzzurkqGZLCRNOeMG/VZJZpCNlWut+UYspwb8Bklh2mk976gQ8lTkpd3lXM9wuUmjL0lpaIIx7FC9ShZzkp0YcCDKK6OzUmItJH2C1oJn7eqEHwRbjwUp/6QL592jxc/3NChb8IZonYgREt77WL1a6OcuEIIcA== 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=MZIps7mPY4no4voe56A1aD1zQzhIONqBDilY+zPq7n8=; b=a7o9QnAH2ZQtFhEhErXhEHOJmncYsAFC13yzbI2Rjc9ETV/h+Qk4ZHAeyvQw70hAzQe/H6EZfCl0lYqn7B7lbTk8IHN8+CtIA3btoq3J+944lI3xa1e4DOdGGlH0xLCCCLdjQXEtF2n+k/Wz52lpWub1cW9RmEZZ9WgJy1bQWHFBxVrnGu2KGLxOP1bizXbk/nkWGud13QoP0/1uHLuraENlG/QQ5io/Kfg356H49jVb8nSwMfbE64c1gG/ijnBGqqt4fWTZ9dMKJ8TTtH9l1Ylg+OJdleplTCdGtGMKsaoybAYkw162CT1LmflnBDl7QSC48olHHcbZrQvrJRWwFQ== 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=MZIps7mPY4no4voe56A1aD1zQzhIONqBDilY+zPq7n8=; b=X3MHFOmLlanBH4l0dfnJ5ihUV8eqJxwh0mBRr9ptkYgoM0NjMfBlyP+28JQ9pNVppNN5s//tR5SuuJnftWxW/kAfN//wIIyuWNuiq6AJwITeiw8wuOvPnwLDmd68Enx77jbZ8mzlQG6vIgfCOVJUslw7N3hLfsCBR/Xl0irQ6H8= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BL3PR10MB6163.namprd10.prod.outlook.com (2603:10b6:208:3be::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.22; Tue, 14 Jun 2022 16:36:36 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224%4]) with mapi id 15.20.5332.022; Tue, 14 Jun 2022 16:36:36 +0000 Thread-Topic: [External] : [emacs bookmark.el] Sorting by last set Thread-Index: AQHYgAQ9L++qA7oMg0aU1QXnT9RA5a1PDy5g In-Reply-To: <878rpznts7.fsf@elite.giraud> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eff9d8c9-9ab1-4bd7-1aa9-08da4e240c8d x-ms-traffictypediagnostic: BL3PR10MB6163: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: +5SlFOlR3jMML1OW1BHO/WJK6TRZvT1402Lhggwz//zDfGZK3hnoCvy+li6u7QBc14C6iQl3jR+yOF2jdHZ++6S+Etgim0BMej5SeFL1t9qm73gCTuKIcpbU4k/DC5CKjlARahuejAEId+wxsgdP06AciMHSF18ZBeHBh+i2kqj+huHlX5XP/GHYdOG6M7XajLfQYXQUiVmLNAOkQL9kWcinGpSkrIlXWOmMTbvyQDyS/rusW4gS8tQ5CAsVsrqudEdmyr1aa4cIKLCOhmcldijJHyJ+NqE/ePZxcqlzJL8AWyr3C7BfvG3uGgkL+dVVvnVplhvtfTHjWBtiLmg+kdKwUZ/pRuL692FXawOA955g5gu+Yy83gYqop4kJvTmd2nFkTjwTkxSoMVl+5VqwC25Of1DHuViwpUSbntNyC5d8lJdv1JvzOx5csRYZcTWiOPTh5lONCsmrmLNiORHhnjy0VcrBW4AUPxED3a+r6BgOuuneWN1htLUnVcer36joRLKOs4Q60hd5nGtBK8nsZzITwuD8YzQkfVMIFLq5LcAIM1/+7WuTEteQbIRk3mXzuPfm+NFAdkJx6+xR82Vm1MgSY2x7ftSqTXuwBkULnz4ZrHe2EkZLqbPjMa09htGzq2D0Cllrn/Iiw3Zjf3w0DoZ1shKrseRXQIUyCByHPOLRunwstLRSm0bjk34mICrStUf+aKg/Ju/Xu8dxO8NQ/A== 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:(13230016)(366004)(4326008)(6506007)(7696005)(66946007)(66556008)(26005)(8676002)(54906003)(76116006)(66446008)(6916009)(64756008)(66476007)(71200400001)(86362001)(316002)(9686003)(508600001)(38100700002)(52536014)(38070700005)(186003)(83380400001)(122000001)(55016003)(44832011)(2906002)(33656002)(5660300002)(4744005)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ggn+eriU6XM6XLl/u8IZ1wNRd7MAI9+ZdsLj+uHBtJEgdn1pp/Xk8CNI/Saz?= =?us-ascii?Q?fw1LYWyUWPQ2TI9L10dWMCcAxdaNtuEOyNs0brXbwkWgnGmcYTVVDUDxpvvG?= =?us-ascii?Q?R1PgLKDK6GnMGv0lQLaeUxZTZJU7QEZ96qmoOnsSMxzOHPx9g3suZBAKPf0y?= =?us-ascii?Q?DTOx4Foz8Z6jd9L3qs5Af33/r92JcOxbN6/wh2l1PFxou/fhd9fBeHo/arei?= =?us-ascii?Q?6KTspEf4rzsdOh2OQkP0xvPSK21FP2+RHufjPi8OImglH567wgaECey9dqEb?= =?us-ascii?Q?c6pkpPNJePBTMTMwo38GodLSp+XtQqdPHK4kGtsvyfpxZTABqFCrg2sEoBT9?= =?us-ascii?Q?61kXpmI4WBa8xtK78HclWAaFtAIe9TEE7nUsUvczIuHKbz42NruaQMFZdDyZ?= =?us-ascii?Q?KrU6dK5zlbufD+ZlQ7VLv5qTv+/2sxGH/iO+1zJJsvS1t7EFBSj2uri/cd6u?= =?us-ascii?Q?hHhajbf9NUSBCND6EdrsufAXeRzhDp8QuP02d8YdGdv9q120xmCHqPuLErv4?= =?us-ascii?Q?9hnltsJ8NBh8gK+tnDL1ZcneazxEknWHCC925WoD2lR3xUPHLddVby7ASgp1?= =?us-ascii?Q?tSQdQ2O9jg1HotApgD0A9sSXRYaw0AjTrlGnanIJGb8o3M9exPzx9zxcYB+R?= =?us-ascii?Q?i5 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: eff9d8c9-9ab1-4bd7-1aa9-08da4e240c8d X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2022 16:36:36.2084 (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: AeLebqr5riReF9PnUAVRjWCtwBZgwyABuXtjyPhMmTwvA1Z2sSmWAFOtYPUnQaXWCwGgBbrWRoc36SxeP/MmNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6163 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.874 definitions=2022-06-14_06:2022-06-13, 2022-06-14 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 phishscore=0 mlxscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206140063 X-Proofpoint-ORIG-GUID: upIpm_A3ietz6oBzxiaYUtavpV15scL_ X-Proofpoint-GUID: upIpm_A3ietz6oBzxiaYUtavpV15scL_ 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, RCVD_IN_MSPIKE_H2=-0.001, 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:291185 Archived-At: > I hope it is not to late for this but I'd like to have this > modification pushed. This changes the field name from > 'last-modified to 'modified (the symbol for `bookmark-sort-flag' > is kept to 'last-modified). >=20 > I think it make more sense since the "last" in 'last-modified refers to > the order (ie. the most recently modified will be first). Afterward, > I'd like to introduce a 'created field too. My 2 cents: 1. `modified' is fine as the field name. +1. It's short and clear enough. 2. Function names should include something like `date' or `time'. This is because there can be other functions, which refer to other things about modified (i.e., unsaved) bookmarks. E.g., the Bookmark+ code has these functions, which return things such as an alist of just the modified bookmarks: bmkp-modified-bookmark-p - predicate bmkp-modified-cp - predicate bmkp-modified-bookmarks - alist bmkp-bmenu-sort-modified-before-unmodified - sort command 3. +1 for `created'. (I suggested this earlier.) HTH.