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 wDY/ASyid2WPBwAAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 00:58:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4Ce0OSuid2VsJgEA62LTzQ (envelope-from ) for ; Tue, 12 Dec 2023 00:58:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="fJA/T8Ny"; 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=1702339115; 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=pF03unEg++WG2E+sVHht416txmbDgQE0Y0RbLP7yDnk=; b=SYuXPoHjE+2d9/aPzcwyvSaEfrOf4bUi0rCZsp0FNfPwWq8EIDBt0quU5xbv+IxOsQYLsA O3cDnewADioBx0XEHxG6WFuucNNFXXrxu8Q+6BbdLjnjdWclGK68Xu1k19HOp2LYA9lSBA m0dO1tAMGOmLLlQR+pzln0Nzs+4FzWFSWZN9gNSbE/TiZUgE/EQih4+nrZ/pb78hTgrG6C 3KU7hZpksQNSj2EHGNYaPl2QA/OhPamS30ByoFYV7Tz8x/1inmZMEkNgU9t2vgXc/76Lta qLNg7Sj/qYgd/EhNFGURW/rHXhxClsqKp8Po+ty+TgZB/f3TsldvOVPBhngCyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702339115; a=rsa-sha256; cv=none; b=DRTNqTHt8k+GUylBflXm4lp3NItFQp7RUCI4uqVHcYD+xs+Z+6wysp6deJNTbo08AhGCUJ B/3spIhMZqlLX+HXwjfAOywV0IcLUJxj72k5lQx07tb1PWO/CFkAnoRtObd6Dipwm1fDNd 2UjFSnrEYwapZwNis7dreTDI0K2petcCbtfCVkL1EIJ0iLZFB7mH6OIL1hqlgyv/DxbJgJ xw59y2/VKyAP3kSnqG9fNNDKEeYqhPptDHBM5vj2uqLxKJdE/ICFjG2BTXZZ+Bl0OSUiMo 4epo1rEpwjPBCE3Z3dJVxiuJiYwJiCaamP0xp8apD3CTzXukXTqP93kFr39WuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="fJA/T8Ny"; 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 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 CF4295C118 for ; Tue, 12 Dec 2023 00:58:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCq9X-0002uB-LY; Mon, 11 Dec 2023 18:57:35 -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 1rCq9V-0002tu-Ux; Mon, 11 Dec 2023 18:57:33 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCq9U-0000WW-A3; Mon, 11 Dec 2023 18:57:33 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50bfa7f7093so6547318e87.0; Mon, 11 Dec 2023 15:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702339048; x=1702943848; 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=pF03unEg++WG2E+sVHht416txmbDgQE0Y0RbLP7yDnk=; b=fJA/T8NyzkGcdWf2jrKe1je4vpGz1iDgWJNW1XOu9FU+6KjsQ82SUDIMt6VwCnf6K3 F2nsHZWzaJdwnxUiYDZvVvIutw7E23DJ3FOC4U5qOUvFeyNHMOhNw+sUoKwbqUjDv7AK cWXDcSDGTjEvegThtxOfrkZov050YTVr8kYBiQpSMVm5b0ITqTEjrUZm3LBTuqprkxCC ikzFAH5N73KXLSsGV4Z4zTl062ldNhtdg9fsO5UHBXdoaAx3cJXRPf1SRYqsIyEzINwd K4JfEP6yHGLINgo1AWGgQZqoHyIKXDHvVEo1zpGI34oNkBLvKRKl4fGcwB5HlX9OHe64 zsmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702339048; x=1702943848; 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=pF03unEg++WG2E+sVHht416txmbDgQE0Y0RbLP7yDnk=; b=YNOHVZqL32uptXg5YvaV2f+GLJFKpPSsBveYS9dd7zV4dCRtWtZLr8tadJVVjbuDPW LqYEDZMUqElyH666Ig7C7DTPfacrqvCL1zzSz6yOVjf2EngounQQ50w4a+EJQdiutCi1 bGh6GsjLhMKG7q9dRMWrLFtTU4PqV2//2x1d7IBy25vMOPGocN9/d7ktXBmrIpYAe1pR 4YxXWpULAgzTFPcEHV+KySbHn0ctl/3OBkWiOvnGn93uUUF6qz/c2CZCDh+HP4i9s0C6 f4KXlcXBXmbJf+56mp3j/SftmRH0pqFQMhWk63+XEertrQDgazlpoq6cNxaEJJJuvE6D xa7w== X-Gm-Message-State: AOJu0YwJEbwA2VbuzxhWTvl0jkKxzZOxX85i1zSpSk9ngS3bQZ37ozvu /QGPz60Ipc4VOkf0IfgRLbXFtATdtt29n0jzd8U= X-Google-Smtp-Source: AGHT+IGh3Vrvdf7aCR5PBKYlnfO5XMgfQuh3J3suhpXksbcZiLKhAoYd0Il0iw3+wPvZojBqaAoW/z/IJeNsM5udGUA= X-Received: by 2002:a05:6512:3a92:b0:50c:de34:da09 with SMTP id q18-20020a0565123a9200b0050cde34da09mr3081667lfu.101.1702339048312; Mon, 11 Dec 2023 15:57:28 -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> <303c567e-7f0d-1fac-1ab4-0099bd98d8dd@gutov.dev> <31ede4fc-8ebe-39ac-40c5-91ba08c35178@gutov.dev> <7eab6e94-cb8e-9ae1-d2cd-c0eb1b3bab43@gutov.dev> In-Reply-To: <7eab6e94-cb8e-9ae1-d2cd-c0eb1b3bab43@gutov.dev> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Mon, 11 Dec 2023 23:57:16 +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::129; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x129.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.91 X-Spam-Score: -6.91 X-Migadu-Queue-Id: CF4295C118 X-Migadu-Scanner: mx12.migadu.com X-TUID: 43tCUkAMrX6A On Mon, Dec 11, 2023 at 11:54=E2=80=AFPM Dmitry Gutov wr= ote: > > On 12/12/2023 01:48, Jo=C3=A3o T=C3=A1vora wrote: > > On Mon, Dec 11, 2023 at 11:41=E2=80=AFPM Dmitry Gutov= wrote: > >> On 12/12/2023 01:35, Jo=C3=A3o T=C3=A1vora wrote: > >>> Or maybe say what the ruby-mode imenu backend > >>> does? > >> Juri just posted a long example of what ruby-mode does (and ruby-ts-mo= de > >> too) in his last message in this thread. > > OK, and doesn't it answer_your_ question? With Eglot > > > > Method > ModuleExample::ClassExample > instance_method > > Method > ClassExample > class_method > > > > If both methods were named "foo" no problem, right? > > But this doesn't look right: if 'class_method' is in a class called > ModuleExample::ClassExample, shouldn't its entry look like > > Method > ModuleExample::ClassExample > class_method > > as well? Take it up with the LS. I didn't write it. > And then, if both 'instance_method' and 'class_method' actually are > called 'foo', then we'd have a problem. Bizarrely, you wouldn't have a tree to start with, which probably explains why the devs of the LS Juri is using opted for that layout. > This entry from his message also looks odd: > > Module > > ModuleExample If you can reproduce it, show the repro. Jo=C3=A3o