From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59067: 29.0.50; Exexpected overlay order in `overlays-in' return value Date: Sun, 06 Nov 2022 09:16:37 +0200 Message-ID: <835yfs363u.fsf@gnu.org> References: <871qqgn44l.fsf@localhost> <838rko38g6.fsf@gnu.org> <878rkobm21.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1089"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59067@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 06 08:18:20 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1orZv9-00005O-SG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Nov 2022 08:18:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orZux-0003oN-GE; Sun, 06 Nov 2022 02:18:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orZuu-0003nX-9Y for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 02:18:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orZus-0007do-M3 for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 02:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orZus-0000lC-7M for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 02:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2022 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59067 X-GNU-PR-Package: emacs Original-Received: via spool by 59067-submit@debbugs.gnu.org id=B59067.16677190262862 (code B ref 59067); Sun, 06 Nov 2022 07:18:02 +0000 Original-Received: (at 59067) by debbugs.gnu.org; 6 Nov 2022 07:17:06 +0000 Original-Received: from localhost ([127.0.0.1]:58588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orZty-0000k5-Cb for submit@debbugs.gnu.org; Sun, 06 Nov 2022 02:17:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orZtu-0000jV-5H for 59067@debbugs.gnu.org; Sun, 06 Nov 2022 02:17:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orZto-0007Wy-Qh; Sun, 06 Nov 2022 02:16:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bcp7MLFtG12VXs1OucCRC7y8uG9HBidf2Yaz3+04AFc=; b=L2bRGwAny9at Ssl+4mtif9naC/UWa4cB0AXrxREz7uBneD8y/EezxZROGouu/c5MjBX/OKv61Ti50CmDXa20W6U1t jUZRGXNUE9NNUCOet54tilBEeUUGQ/HV5W/TlEA4q+CXloTrAzwp9gF9/HvGOz+l0ypL7AND5rIcI PFzKL6lXTppYupVWIysH74sYat4Fp3ke1D4WEwKVtsjPLh5PB806K70MpLtf0Nx8rbVQDWhkKM4R8 wI09gS9deKuiRls4mtxL+8X1qJPgHzAVPi/kNLRrC6TgdIj4G5ugs0trN8nuxPzzsOctLNPwY3fYR 0QHuIE26SUOdLL4gyREGDA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orZto-0003Lx-8S; Sun, 06 Nov 2022 02:16:56 -0500 In-Reply-To: <878rkobm21.fsf@localhost> (message from Ihor Radchenko on Sun, 06 Nov 2022 07:04:54 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247188 Archived-At: > From: Ihor Radchenko > Cc: 59067@debbugs.gnu.org > Date: Sun, 06 Nov 2022 07:04:54 +0000 > > Eli Zaretskii writes: > > > I'm not sure we want to keep the old order (which AFAIU was the side > > effect of the implementation), nor become committed to a specific > > order. Sorting overlays is a slowdown, and not every application > > cares about the order. The ones that do care can sort the overlays in > > the order they want. > > > > Or maybe I'm missing something: can you explain why the order matters > > in a couple of specific examples from Org? > > You are right. `overlays-in' docstring does not give any promises. > It is not really a big deal for Org as well (can as well sort the return > value). > > The only thing that could be useful on Emacs side is explicitly stating > in the `overlays-in' docstring that overlay list may be in arbitrary > order. I'll wait for a few days for other ideas and opinions, and if nothing pops up, I will amend the documentation (and NEWS, as this is probably NEWS-worthy). Thanks.