From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: imenu rescan automatically Date: Mon, 12 Aug 2024 09:41:01 +1000 Message-ID: <864j7q4ohe.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22756"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 12 01:41:47 2024 Return-path: Envelope-to: geh-help-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 1sdIC3-0005oP-Li for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Aug 2024 01:41:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdIBU-0004Wd-7j; Sun, 11 Aug 2024 19:41:13 -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 1sdIBR-0004WP-Vk for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 19:41:10 -0400 Original-Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdIBQ-0002aG-Fr for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 19:41:09 -0400 Original-Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-25e3bc751daso2522689fac.3 for ; Sun, 11 Aug 2024 16:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723419667; x=1724024467; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=qcgWogH/8af/Ag7ix39C+K0PJWesDnoaWrhuxSWYlOQ=; b=gJhfcEHsiBR3lqmQWPH8xQg7Dp//AB+uy+oAC1z4lpZompjHtSaNxcLoHljMYbK3bG GS1jCnJSj+aQHf2+hW0u6ul6J/PNx0zEnE81CHfxyXqVgLLh2SZ0UhYbulU6b/fdcKaO 5MkMZJkdgiYXhGUUHSB3SmHPkpjRnK6y8mB70/5auG95DMUSCHgzn7m34r1huZakggI2 atnTXLJ6NqzxqkDEtpkhuKEPWaXNFcbPcCmCJnMLZAjrLEEqljFuR3tsL+9fD6ELf6AU 51hxpWddCiWx5UTynTZLGn0Oz6BvnoStfXbnl0iCe5f3oyQqgd0EDXrU41gJALR8B3DB u+vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723419667; x=1724024467; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qcgWogH/8af/Ag7ix39C+K0PJWesDnoaWrhuxSWYlOQ=; b=wHjTDw6AL114cN8w8Stooocv89h00iyIbl8XFpCZGjdggSHeyo+KcFn73eF2ggGO1g ZQwxjkTES2YNDZdPGz5wsQH88Inmq8tyOBT9JcNU5JN0u5T7BsIgOInjt9Qgk6tgZlZx Sa+yaThHkiuegQ+H0h7r8dxT85VZKDTs5zvW+a5zZPSvvHq7MOmccc7WOcSAmtbtwKyg u2JD40ElN46Qi/a30umfMP/tN6LiSu5BpNYgEGZx1FRzKAbXauNJlQPizyOBRMdwJadv UUWH21oHMFEVwWthPwSIeCa5KB+8tsvUAG6NJJm6lJB5mCJcnvkk/JZcMDWeECIJKCiW AXlg== X-Gm-Message-State: AOJu0Yx2cI94SXNCdO0KDYwROwDFFi4i899cqi1JYBJB+vok9RWPEPbb b4AfZTk31j1Ea6gGKHMj8Z0WWSh8Eu/oI0fVGRJ/VZDnakmhr9CgpRbR2Q== X-Google-Smtp-Source: AGHT+IEDhKuK95mryhfaFMrkDblYwM1f+GNsEySfIHwD2WM2kRgzY6OHkT+dGGQg0NfQ8Xx5JdfELg== X-Received: by 2002:a05:6870:d183:b0:25e:247:3ae7 with SMTP id 586e51a60fabf-26c62f48f91mr9605645fac.34.1723419666831; Sun, 11 Aug 2024 16:41:06 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (14-200-117-166.static.tpgi.com.au. [14.200.117.166]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710e5a8c846sm2928952b3a.178.2024.08.11.16.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Aug 2024 16:41:06 -0700 (PDT) In-Reply-To: (Heime's message of "Sun, 11 Aug 2024 16:51:24 +0000") Received-SPF: pass client-ip=2001:4860:4864:20::2e; envelope-from=joel.reicher@gmail.com; helo=mail-oa1-x2e.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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147618 Archived-At: Heime writes: > I made this interactive function that adds items to imenu > menubar. > > But I want a rescan to happen automatically rather than having > to do it after I call the function. I think you mean you want your function to do an imenu rescan? Cheers, - Joel