From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6OV0FwyXd2W7JAAAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 00:11:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gPnXEgyXd2WV4AAA62LTzQ (envelope-from ) for ; Tue, 12 Dec 2023 00:11:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=XXlglFrc; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702336268; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=h7dNuEioHTUPhFfAZk2ISUFyNepVIpbWg/nzcnVfKtQ=; b=XJP8X+UJ8YCw8jSAbyutO70fcJ/MOoD3B+qpkHOf7WYxGsuObiDjF4OBI6DLc1Cr7J/DiZ wk2yVUBVCGL0TijRJ+399gRq5nsfkNyONhhAJW/TEsp+mbPco/dM30OLfgRrzWQfcgfbRr umtyZTlMzzw1eeNtn/Ho664oXqg0jA1R8ixbQMlMk6qb68lkkGoypQr3dbd+xLG66UL3L6 RkPhFXG8bnI4YnUiTmwX/oNHJErDXg/k4PNzo4jbkeMqKysycsemVmhcnDKmmoeAvgK8zK ubu+GOfIPv8IZQxxN0dR8SnMqNgCgUTBm7PqkV/ACynavZty5F4CYFWQ33q66g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=XXlglFrc; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702336268; a=rsa-sha256; cv=none; b=cdgEmFyBgILG14kx/ZVBtUca7jMF2P9wqWyuejgd+QCtFPhLelgK+iT+KOAOAcoBNJrPIO nJiGrhGeXOscTMYduG8ocdBMCo/1yMPfahcUFdiwjmqrWD3HaeU3WFNJYAhSdh/Jpb+Lqv 3kN4en2k61UvdZsSJHyP9Ong/fRbcmCyLt2xpcjCacNK7F4/SX+rhceMoQICqXB4xSFdpz ZPODduyXiiSf7OQu5QZn7qy75s78TGwsP16pPrVtDqCDWRMTBuzzqy/eT6zaXAzMU1uHel +lIAbQR0hgtkzjmTuRvaeXkcXfpVxd0W2fNBBRL6aXaA8I1PiYDDLMQwxrlvXw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 155F9353F5 for ; Tue, 12 Dec 2023 00:11:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCpQ2-0006tR-NW; Mon, 11 Dec 2023 18:10:34 -0500 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 1rCpPy-0006se-8M; Mon, 11 Dec 2023 18:10:31 -0500 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCpPw-0004hQ-Hp; Mon, 11 Dec 2023 18:10:30 -0500 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50c0478f970so5246720e87.3; Mon, 11 Dec 2023 15:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702336222; x=1702941022; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=h7dNuEioHTUPhFfAZk2ISUFyNepVIpbWg/nzcnVfKtQ=; b=XXlglFrcn6zJ0WggmimmYe6BrliAm57hnfl51LTe9JMqPnYud2cW6kaZ7Sa3KzuPud 1+3yN4gi+wqExYF4yaLMz186PQ+enX3JsX0UdpNY91GnDKGUld1vunpzrblzb4vvWPeC MkKfkjoHW8OSpN5Xpb1wJvdnLC8iWNNAeK0WlKQeQk5804nxOtHLbf5ELbKpow/0Pnk7 WOGcMsn0uKn0awF+v3HsCNzUytmlAs6pcn6kZtHsYmNCuovkieXG6xUTDf2lBhwu90rI Dr7yy/ogv5a2tj5VA7Rl8rXrFDZOpkS8S2TdhIJsOwzc8HpkH926atWH9gpLeDbE0YDu lGNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702336222; x=1702941022; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h7dNuEioHTUPhFfAZk2ISUFyNepVIpbWg/nzcnVfKtQ=; b=RP68exjwKomCblEcWesr05oiAkZVx3w7QZjcruIgUC3chnQz1W9oKMjJ551qZP4Wl/ E0Jt7WLYnZxj/JnSD9Mx2hue4qBoQid3MFgheOB9lqbVfFxvvQ/sumOBHQ+5NKUiAQMj vs+eNZDzES1dqNixC0AAmmieLflk2sRouXXy6eE1POFs6iiiwfdZPfCBL/F33wDZXvcD H6/r6iyNzJKh4r0zruT/5TMIsOPsS+riwiG8GPccLTA01v62e54xmZ10dAixmAoznZkx /bHQfGY329vM118eKj3nn0+yWtHzFOa0n3eZjjhuW5tn0++SudgcFa3IqDXtHy38Zlrc zurg== X-Gm-Message-State: AOJu0YzsBrFmfQ8xf+ENhzGrDzdK5yqpFti5aUfVdOaGasPOOI8NITPa et4RWhErjHEdovmfYdYAjGvWNWWts1TPmh5w9sQ= X-Google-Smtp-Source: AGHT+IGrFkw1wCl6pF5CQo9b+z9WKI4Nd1eXtmAxH+J7IA0S7nP4yeppzRVu7sk05wKC2r/JzO+7PYVZU9GKMzzt5rs= X-Received: by 2002:ac2:5935:0:b0:50b:f82e:6d5a with SMTP id v21-20020ac25935000000b0050bf82e6d5amr2125338lfi.73.1702336221399; Mon, 11 Dec 2023 15:10:21 -0800 (PST) MIME-Version: 1.0 References: <87plzgbalt.fsf@localhost> <87msujskxg.fsf@localhost> <835y17y5qu.fsf@gnu.org> <874jgrsiyy.fsf@localhost> <86r0jv8efr.fsf@mail.linkov.net> <86zfyg3jgs.fsf@mail.linkov.net> <595d6418-71f6-eec7-e37c-e3987265364c@gutov.dev> In-Reply-To: <595d6418-71f6-eec7-e37c-e3987265364c@gutov.dev> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Mon, 11 Dec 2023 23:10:09 +0000 Message-ID: Subject: Re: [FR] Allow flattened imenu index To: Dmitry Gutov Cc: Juri Linkov , Ihor Radchenko , Eli Zaretskii , Morgan.J.Smith@outlook.com, emacs-orgmode@gnu.org, 58131@debbugs.gnu.org, emacs-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12b.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 155F9353F5 X-Migadu-Scanner: mx10.migadu.com X-TUID: CNGl9p/llI8v On Mon, Dec 11, 2023 at 7:24=E2=80=AFPM Dmitry Gutov wro= te: > > It's no invention, it's docstring syntax for reference to a method. In Ruby right? > But if the LS will produce distinct strings, good. All imenu backends, at least all the ones I've seen, produce trees, not strings. If you collect all the paths from the root to all the nodes into lists and make strings thereof, the resulting set will always be a distinct strings. So I don't understand the problem you were surfacing: any particular imenu backend in mind? Jo=C3=A3o