From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: master 30fa6da552: Add new command 'imenu-flush-cache' Date: Thu, 12 May 2022 16:02:41 +0300 Message-ID: References: <165232228575.4973.16265111485645720331@vcs2.savannah.gnu.org> <20220512022446.10C81C01683@vcs2.savannah.gnu.org> <87mtfn3zh7.fsf@gmail.com> <87v8ubynns.fsf@gnus.org> 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="11310"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Robert Pluim , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 12 15:05:39 2022 Return-path: Envelope-to: ged-emacs-devel@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 1np8Vd-0002eE-Gt for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 15:05:38 +0200 Original-Received: from localhost ([::1]:33590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np8Vb-0002g7-Vw for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 09:05:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np8Sx-0000Rb-6i for emacs-devel@gnu.org; Thu, 12 May 2022 09:02:52 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:47609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np8Su-0002qw-HY for emacs-devel@gnu.org; Thu, 12 May 2022 09:02:50 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 015BA3200035; Thu, 12 May 2022 09:02:44 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 12 May 2022 09:02:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1652360564; x= 1652446964; bh=muqSc2bzYvTkJ2Bwkuh7eCb49w7PGXDkUdrgv5YaSKI=; b=Y 7Fjbj2rJqslrhAwXMnmuJQG7N38MpiwHhHGJ4Yy+C8EoUB3qwUiUk4Mce2aazxgM vtlb4l3OSJZfhlTMzA2OnJpkKQnx2Yz7cuQxjXwCU4jlQNnBE+RRIBOnEnq2lc06 MOqicRA8dNtXijdMs6sF5tqLpB4x6R8sVk9yuwOIHlc/EPIVSbNQ2UMkvny94r55 MuUUEpzABhxD3L4OOU/W/r35Q+ztnc3p8o+Eh1N95WLZC1wYOyd0XZrJeX7kLq9m DmOREIO2rSruzaHOnAAFpJ1/m71zw+y1+Kms+Jf6mVy8NjYy721GyimNZ0heu/VC bHJtEN9UB8cSSHFYhS3Og== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652360564; x=1652446964; bh=muqSc2bzYvTkJ 2Bwkuh7eCb49w7PGXDkUdrgv5YaSKI=; b=WF2Tyn6GOERIFstmqvA76moVBbrmB oXJMM72q9rAxVG+Z1nzyVylNpGZ+oP+p8UxqSCseMXFneKQCiY8mbFduYGiLNc7c vFuhM/j160uwNBgnHRY8gQ0UXPz/YL39hVycutVYWjAcLqYCc1VPrrUI2ocUFO/F X32Rys9ah3zAcpubJExaRRzfuBIoqrIbnu9SKZGN2SxNZ4U91+DCJoJY7Lbr5Ve8 N906gIuN6xNXdZ/CHm5u0045Jbj5HV7aD2sqfHlY1kXnhwNaEpg5ySm1d+RHgb1t cbHrsnRtEPDxPUamGC1tg/RvM/drT+xztMculCdD3qBIE75gvgACrfmtg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeejgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhephfhilhhi phhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtf frrghtthgvrhhnpeefleefffetieetuedvtedtgfehgeevtefhueevjeehjeelueeigfev tdeihfeugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehfghhunhgsihhnsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 May 2022 09:02:43 -0400 (EDT) In-Reply-To: <87v8ubynns.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 12 May 2022 13:51:19 +0200") Mail-Followup-To: Lars Ingebrigtsen , Robert Pluim , emacs-devel@gnu.org Received-SPF: pass client-ip=64.147.123.21; envelope-from=fgunbin@fastmail.fm; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289680 Archived-At: On 12/05/2022 13:51 +0200, Lars Ingebrigtsen wrote: > Robert Pluim writes: > >> Should "C-u M-g i" flush the cache? I guess that=CA=BCs a bit awkward to >> type, so if it was 'any prefix arg' you could say "M-- M-g i". > > Is flushing the cache something that people would want to do a lot? If > not, I think keeping it on its own command would be better (because I'm > sure somebody will come up with something useful to do with a prefix for > `M-g i' eventually =F0=9F=99=82). Yes, let's leave the prefix for some future day. Imenu could present its list in different ways, that's where the prefix will be useful. BTW, I thought the _function_ (even if one-liner) was missing, not the command, why the command is needed at all? Why the *Rescan* selection is not enough? Filipp