From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Troy Brown Newsgroups: gmane.emacs.bugs Subject: bug#73117: 30.0.90; Imenu missing entries when flattening by group Date: Sun, 15 Sep 2024 11:58:53 -0400 Message-ID: References: <86v7z6skkj.fsf@mail.linkov.net> <86y142p0hu.fsf@mail.linkov.net> <8734mac85k.fsf@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13555"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73117@debbugs.gnu.org, Juri Linkov To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 15 18:00:16 2024 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 1sprfa-0003OC-JW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Sep 2024 18:00:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sprfM-00073v-Id; Sun, 15 Sep 2024 12:00:00 -0400 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 1sprfG-00073J-5O for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 11:59:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sprfF-0004wf-8T for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 11:59:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=9wiBQFTNvGvUO0ibnFFnxBtytBFvJWaEoUwKQoHz824=; b=PKIgeEZ9690bZPzaAED1R1lChCrob7we8ATsR59o8usw9SkFNI2Lp+R7LEVVrX2G5zq/DxcJYq2tUcfqlZDDRUInXwpMM8Ev8GCc8NWCfYUbEwCEQYoG+94MmNDdL3rqQrCFu4KZmkot3JmtNwK6JD7Dr5FnxTMOPjj2EngCZZxlgqAhkVdWtVWyYr7tRzhLDnygtrAf6j9NkTCB6VcJkSePU6CaDH9S4EH+/TVx5hpqMS/boL2RGmhTxBeUY+KB2IgRFs1T/E5LBpWhnypYf0Yy7NL9jptDAsn30M3v22iH82bumaE0rxzc3r7lmkd39waZ7plorZWSvpVZ0zYSVA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sprfP-0004n2-86 for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 12:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Troy Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2024 16:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73117 X-GNU-PR-Package: emacs Original-Received: via spool by 73117-submit@debbugs.gnu.org id=B73117.172641596718322 (code B ref 73117); Sun, 15 Sep 2024 16:00:03 +0000 Original-Received: (at 73117) by debbugs.gnu.org; 15 Sep 2024 15:59:27 +0000 Original-Received: from localhost ([127.0.0.1]:50456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sprep-0004lR-AM for submit@debbugs.gnu.org; Sun, 15 Sep 2024 11:59:27 -0400 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:55495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sprem-0004lB-Pc for 73117@debbugs.gnu.org; Sun, 15 Sep 2024 11:59:25 -0400 Original-Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5c42e7adbddso1578361a12.2 for <73117@debbugs.gnu.org>; Sun, 15 Sep 2024 08:59:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726415946; x=1727020746; 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=9wiBQFTNvGvUO0ibnFFnxBtytBFvJWaEoUwKQoHz824=; b=L4SrtGyCrDPQuFNIodfcDJGns/7nQMyfCVu8ARSI8/2VJJFIvP45uNfO0dgnyqyU2v UJ0CtFRwRa+Bt0laAjQLQASLSIsu5I9Pnpfvg7W14FNu11fjBFrWvGF3KUB0ToRozBKY WMbhmvXJQuDk6UakRgqW652X8f4svk9sW+GsWW8aj/mtZEpJ+klTQJmTFYI8CJRX1PY2 rfcwC/9Wdq9TPEVjhu7osTf1ZdS6xat1JWBsdLuztbmHntCHa9KqJ89/1ZBa5UijNpCW YsiF8RGe5nPOJzXpJE++N/r8cRyaAo5k7WjNKqy4k4OnB8X+WKHSNg/0GT2rEnOtkGhw SLRg== X-Forwarded-Encrypted: i=1; AJvYcCVxtFXVvK6EaqgK639GZzBUFj4NF1oK9K/Bn1JK19QNV7Cjj2KJZP2RHz3cXDSTnGQv9vhEPQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxathzOBxpjdeF3HjjycrWYjxgOGKOOXuui0pc8RgLUYIavqINs u46m1Fq1JLm7rvqXL+Dto9E77Y9r6PVN1fKSfxzzilzTYtN2u4thR6123YqPtgI= X-Google-Smtp-Source: AGHT+IEFTu+CdnL/nculPkVPn7xm56mPhqDlZYs15/SVJ5QFLljRrBbour5V8ego+hUmgbRF16Mx5A== X-Received: by 2002:a17:907:1b12:b0:a8d:3e29:a82d with SMTP id a640c23a62f3a-a9047d4088amr844622466b.37.1726415945447; Sun, 15 Sep 2024 08:59:05 -0700 (PDT) Original-Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com. [209.85.208.52]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9061328dd2sm209409166b.200.2024.09.15.08.59.05 for <73117@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Sep 2024 08:59:05 -0700 (PDT) Original-Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5c43003a667so820603a12.3 for <73117@debbugs.gnu.org>; Sun, 15 Sep 2024 08:59:05 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUfQNTrZFvYX4MJcxuvUL4fUlpI5xCi5to2AFGHtKgfP0h3qE+HN/tB9YUOPLLD9tzJHsZc+g==@debbugs.gnu.org X-Received: by 2002:a05:6402:518f:b0:5bf:1bd:adb3 with SMTP id 4fb4d7f45d1cf-5c41e18ea13mr7994811a12.14.1726415944958; Sun, 15 Sep 2024 08:59:04 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291860 Archived-At: On Sun, Sep 8, 2024 at 3:25=E2=80=AFPM Troy Brown w= rote: > > It appears to be this line in `completion--insert-horizontal` which is > causing all the trouble. When I comment that out, I get the output > I'm expecting. Looking at the difference between > `completion--insert-horizontal` and `completion--insert-vertical`, > that check happens after the check for `group-fun`. Maybe > `completion--insert-horizontal` should be restructured similarly? > > ```elisp > (unless (equal last-string str) ; Remove (consecutive) duplicates. > ``` Daniel, any thoughts on my comment above? It appears completion--insert-horizontal incorrectly filters consecutive strings when they belong to different groups. From what I can tell, it appears completion--insert-horizontal does support groups, but just displays them vertically. However, it does contain the above problem. I also notice this issue coming through in my use of consult-imenu.