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:53 +0000 Message-ID: References: <877d6b88pz.fsf@elite.giraud> <875ylv6j58.fsf@elite.giraud> <87o7zngcgf.fsf@gnus.org> <87k0a93g4z.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="8319"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Karl Fogel To: Manuel Giraud , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 25 16:09:19 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 1ntrhP-0001xH-4G for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 16:09:19 +0200 Original-Received: from localhost ([::1]:58412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntrhN-0002xi-3v for ged-emacs-devel@m.gmane-mx.org; Wed, 25 May 2022 10:09:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntraS-0001E3-LH for emacs-devel@gnu.org; Wed, 25 May 2022 10:02:09 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:9486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntraK-0006kE-4q for emacs-devel@gnu.org; Wed, 25 May 2022 10:02:07 -0400 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24PD3uYj003154; Wed, 25 May 2022 14:01:56 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=jfQMGkc28Y18DLG6rQAT32eld4yKnmULxqnROfYzoN0=; b=w3p00YD5ilIdeCCjFY1MVjPjdWcZ0K6sw87LVThhm723NG6Jqyxo0XdNWiKscOjEjLMD B8kfS3DLm7NNnycY1EYzQDLbHvBvhXXt9379VJiWzXd2tkfFDUNj99K75xHvZthEDDoQ 8bWlkhpAeGqOlD2vObM8Tcin6/roejBtA3rQbUyhn33drUhPFHnD+WONScEW+S2u3Wrs gLOdypWOcYvppuQWpZLL/GmMGcMVw/qDu46SGl64QKWa3//UxdhREZQ1SZ4rV2e8bfKr 3s0qP7KdxzXIpmAUET/Gh51050WSQnI38bJ9slJZGG6Vy32sgSMd7HNktRt1CCO/NjXw CQ== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3g93tata9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 May 2022 14:01:55 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24PE0OvA039112; Wed, 25 May 2022 14:01:55 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3g93x0jprj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 25 May 2022 14:01:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e5l3o4BxMZ7nskh6C1N3kTBgFJceNcdnzvE9Mm5ur/TrjiRkH1WmJPT5ZxryX5IOS8ijiCJAnUjhTNdAYNqK45rJqn067nL0eKIeC4wGOdg47CwJzaWkB4D+YlF4TFqfGIx9/NxCgAhLPt6hwmw+9Yt8BT8RJzbU1rVgtdVm13/t7YdSyCA/K2+OIHh2zBfvCooCJRkabItPcGH0aEEZX/RJ17hszUAVbQ/xl2Yj/5UWLnqXMqF+CMkl1nnDgbvGVNCo/nUSE44aHY089IPJBORo4v+MzCs6YoAn4iAgaciAUMAU/l691eacDPI/ohwa17fidVgwbH0HLOfJ7rhUmw== 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=jfQMGkc28Y18DLG6rQAT32eld4yKnmULxqnROfYzoN0=; b=kN3vLeuB23In7kaAsiBFkB+/X5zP0e3di8vXeeaOG/QwIEN14HOFrr2BWARsUXOHuVKNOXZAgBEdFBC5k19+P5GybOPgzXa6QXzuu6oxe8DsI33cI1qjjI3sLAgpiTxrHTj+55QjMYxcGsQNpdUhuxw7xp1wN2jVKxsR1TwurQKFADP6qyD/7y0QpjdSiPDzaKsE/Th6NQjhQgnZGd6VQFsjILIGdvJ8WJbe308XoXU1kavWbrAsUP8KhCZlx2D/KXlmnTCG4Ku7vDcgjCByTUVizqowDwAAE6oe4ZfMHlRIveG7AeH08OKHt7HNldUradbVhS/ye1Hcu/oJq2c7SQ== 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=jfQMGkc28Y18DLG6rQAT32eld4yKnmULxqnROfYzoN0=; b=yCqnxQLOUlTGktIjXySrD2KqpgZPVJCg1PltCODxV4vBJqBo+41uiv21WMwUcJwjQTcLTMwuG3JZDkM2P7uPwxl1lbwZFzsNf5H1EGPp8tiNfiF99Cc8oX234/a27HdLehISkYjqRhDYRoJeQ5kTW/Y/k3RzfJsSnfEtve0aRhI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SN6PR10MB2509.namprd10.prod.outlook.com (2603:10b6:805:4c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Wed, 25 May 2022 14:01:53 +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:53 +0000 Thread-Topic: [External] : [emacs bookmark.el] Sorting by last set Thread-Index: AQHYcD/7WLI76KR0rUqInxWifJyoMg== In-Reply-To: <87k0a93g4z.fsf@elite.giraud> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 34d2519a-bb98-4d80-f2ca-08da3e571f1c x-ms-traffictypediagnostic: SN6PR10MB2509: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: +yac5J1J5teAGVprOYbdgnmMrKNrnYGg9ZjmvTl41P2+sbLztrvzNntacUALfskKi9uX/CUysN9A3N8JUt9LSos8sbgZCQ31E6X21iKFjzibGcqc/7JosLNyIGIJl+b+mHsu26yahrSGZMyquXa/at9yw0nsB8TXiV6l+9gT93dknzn5O1K+oaehS3MsXF8uDdRw0aSdLx8pW643abH7Z+94LIhr/W6uusbqV8TLVzZi+gYq5MLec1DYD132PWRYIv6M2VfjrIr2C4DDYGyTmRKnecpKwrsWXJSnz+DH5fjAnsVqcJJf7aK+kzj+Py/YzDnhZE7feEy7TNg+ieLbbCmWlClwB/BuhRkZ+Yjt962s++KOQR/Q0t/U4VcxIMKi9jCNZYhwPCrTyUl7UVDuo/Kjqvqhrd93BBxuQvb8XHDdHIYFyYE1EmGa1uIKlP/6zmPqBx97cdQYaUfWIsNP/XIJWW0ePfU5IuzB+6yqHmnGZGhcvpD6qobrpXq4Z2cYzSVr5bNiSZHMXR/0zP9105nxQZZq93YHF0CociXFxSk9Ofbrjr+4XW8vY5tjknjizFPVmIVktwNGCn+hJIjcOS4n/UPAiYSv7x9V/eJUi3TH5NADuZVvTZglQZoY2c0HzAkivmdNkXgwMmEzHFcUZbMGoKb/qEDGxFAXoxpdIInGEicpTioHh3SuQLNzEkMyMTQH+23m1yV+mfswMmmoCQ== 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)(186003)(110136005)(54906003)(86362001)(5660300002)(38100700002)(55016003)(66476007)(66556008)(66446008)(4326008)(8676002)(64756008)(38070700005)(76116006)(122000001)(66946007)(316002)(83380400001)(9686003)(33656002)(71200400001)(26005)(44832011)(8936002)(52536014)(4744005)(7696005)(2906002)(6506007)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?u4eaeBX64TV/N7oRSPV9hM7g0nPoPYizg5mgpDFkR2JBiWyr8dTGXZyNRbqu?= =?us-ascii?Q?TJGf/8FBvFTX+QqAycjp/xcq4J9HvsKprqXTSnZApfpVR6+gBJrSZ9CA8Pzw?= =?us-ascii?Q?i2GYHDSe2sbgNkniaIaTYwu1/XlGdlEt4a7uPi0vgldcDzxYI6wB3CkllHRf?= =?us-ascii?Q?DEpaf7s7d4QhkXRgYR0bQJHVrAcf+7nwsv7rDvsnk80uOAHlwYOiMGvvfPr7?= =?us-ascii?Q?dFiJ04Ep0C4wVAWRmagojLDMH7PQNvG/uSbUFbnRCM4KivTPKLtkSGOnQcfH?= =?us-ascii?Q?fINJ8MnVE4nx6jIU8awrwhSI4hu8G1GnoybQlgjmQgRuaUOKDCKX2h7iJfq2?= =?us-ascii?Q?WOf+KKveC7vj+/YqFh+YsZpjBHXkWcgYhmT7krYvIrY4IYZ6kTbrUwljKJr+?= =?us-ascii?Q?It1zOxki5JNwpVaVP1ImRF8i4GmytIn664jlxFX7Ib4qnklEVBGhebY32vqY?= =?us-ascii?Q?HSAaJHJHacx/b3g59Ymolp9otLm3Xx23teUa2BaAsTxkJiVKbkEJBQ6a1G5S?= =?us-ascii?Q?RMk/29Xi+4L6QKXLqIY3AZtYmxxOCKX85VMvOjnMgTv3ZPvIUcMg3KprNcRO?= =?us-ascii?Q?Dib3oynM6vpfgtshHfHD+Os+ZX40K0KAmnfGmTTCKszYEZNaCgqhmt9eoj/A?= =?us-ascii?Q?1K 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: 34d2519a-bb98-4d80-f2ca-08da3e571f1c X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2022 14:01:53.1101 (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: Y0GHjyL9IcmSievedAZxRKmTgKoZKNcErYB2NSGf4NF0DEwPRnKAwRcSYOLoSloBvxKrHn0t+OhzSnwQlzCgbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2509 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 phishscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2205250072 X-Proofpoint-GUID: 3aDrtEqyVmRmvgQTRbxItDxHwxfEOl4E X-Proofpoint-ORIG-GUID: 3aDrtEqyVmRmvgQTRbxItDxHwxfEOl4E 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:290251 Archived-At: > > I think sorting by last set sounds like a nice > > feature -- patches welcome. >=20 > Here is a patch that does just that. I took only a brief look. Unless I'm mistaken this changes the order of `bookmark-list', and it does so each time any bookmark is changed. Being able to sort the _displayed_ bookmark list (`*Bookmark List*') is one thing. Sorting `bookmark-alist' is quite another. And sorting `bookmark-alist' and modifying it to change to the new sort order is yet another. And doing that each time a bookmark is set is yet another. I am not at all in favor of changing the order of `bookmark-alist' like this. Not mainly because it would be costly to re-sort the list each time an existing bookmark is updated. But in particular because `bookmark-alist' is used in more ways than just display/access in `*Bookmark List*'. IMO this is the wrong solution for the request you made, which was to be able to make more recently changed bookmarks more apparent.