From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#58532: 29.0.50; Support displaying imenu entries in a separate buffer Date: Thu, 20 Oct 2022 10:39:13 +0300 Organization: LINKOV.NET Message-ID: <86tu3zdjvi.fsf@mail.linkov.net> References: <86sfjkxk69.fsf@mail.linkov.net> <871qr35wfc.fsf@mail.jao.io> <87wn8v4dxg.fsf@mail.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39782"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 58532@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= To: "Jose A. Ortega Ruiz" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 09:53:35 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 1olQMx-000A9a-AJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 09:53:35 +0200 Original-Received: from localhost ([::1]:56234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olQMv-0004qK-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 03:53:33 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olQMr-0003sK-79 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 03:53:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olQMQ-0003nn-Ig for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 03:53:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olQMQ-00055S-Aq for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 03:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olQMQ-0004vC-6N for bug-gnu-emacs@gnu.org; Thu, 20 Oct 2022 03:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2022 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58532 X-GNU-PR-Package: emacs Original-Received: via spool by 58532-submit@debbugs.gnu.org id=B58532.166625235618865 (code B ref 58532); Thu, 20 Oct 2022 07:53:02 +0000 Original-Received: (at 58532) by debbugs.gnu.org; 20 Oct 2022 07:52:36 +0000 Original-Received: from localhost ([127.0.0.1]:32865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olQLz-0004uD-PP for submit@debbugs.gnu.org; Thu, 20 Oct 2022 03:52:35 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:60119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olQLx-0004tm-RA for 58532@debbugs.gnu.org; Thu, 20 Oct 2022 03:52:34 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 9AB1D100005; Thu, 20 Oct 2022 07:52:26 +0000 (UTC) In-Reply-To: <87wn8v4dxg.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Thu, 20 Oct 2022 00:00:11 +0100") 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" Xref: news.gmane.io gmane.emacs.bugs:245925 Archived-At: >>> The problem is that imenu-submenus-on-top is t by default, >> >> that seems minor... one could always regenerate the index with >> imenu-submenus-on-top set to nil when the export is requested? > > and forgot to add: in doc-view-mode we set already its local buffer > value to nil (otherwise the generated outline makes no sense), so at > least in one of the use cases that's never a problem. Indeed, setting it locally to nil will solve this problem.