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: Removing the imenu menubar Date: Sun, 18 Aug 2024 00:02:58 +1000 Message-ID: <86r0anw8kt.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="20255"; 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 Sat Aug 17 16:03:43 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 1sfK1u-00056n-Fa for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Aug 2024 16:03:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfK1L-0003pO-7l; Sat, 17 Aug 2024 10:03:07 -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 1sfK1J-0003p7-VX for help-gnu-emacs@gnu.org; Sat, 17 Aug 2024 10:03:06 -0400 Original-Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfK1I-0000eB-JE for help-gnu-emacs@gnu.org; Sat, 17 Aug 2024 10:03:05 -0400 Original-Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-20208830de8so12331845ad.1 for ; Sat, 17 Aug 2024 07:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723903382; x=1724508182; 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=5oyLFXGOjn5U3i+dSqnw38MOg65IxnFiuDqlef+jRqM=; b=kw675y4ZKVtZACIqnaWGBfF9H3d8cf4tYW7sQaaqoI9jUSbdWjo4CBZkXlvO06lTWN PJannE9A1LncfL54DPceaC9PPIwWrIUrWabGL6sHP/8i/ipQmYKmUhoUL9pkpJ7qoOR5 XohUDtwBSAhUKNxUyIwu8/tKcbVU7nbLW4++coccW4DnyWq2PsXgAMXhj9lcvMWHGHXP NEaxn5Hllr4Ws8+9gUG10nV3FAXeaX+Zwlwya8t2e3F3MDNUo+itTsH3l9Q0c0A1UT8R 4Myn/Vv2vFnE8VRO1Ius3ArAya49rv/KTD/4LtEAE65EPnwQxrI9K74PTineUABPGWL4 c4dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723903382; x=1724508182; 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=5oyLFXGOjn5U3i+dSqnw38MOg65IxnFiuDqlef+jRqM=; b=c3FykNZeWdLhKqPRqfxw/HS6i9ow13WzViw3UK6lMY6u3s4kLNBS+E4QUfkWL05zco HnzWNY6AJXoxZBuQqzyqdKTK3cPBtJTc41BDxf9ZHkm+qSpJFQ/v40481LbgsmTRKybD 1wOeu0U9qxQVqr12vAqAN3em5jOPmQBbyOkDcbiQx1qQMOBj2sNWWRYzedPuF7Qx6KEv HLLe8kjDA++h7f5wk4gr1RBqJPLchGt8aHYCTHvy/GelJl4U48ID9zVxIeOJIUpQSeWM 95xNSAvg2NY2SkqoxsebP7uQAMX6JFY0aLSpmgPyP6tBApyluRRmeajxSN+Ewl25RL1Q w2Ug== X-Gm-Message-State: AOJu0YwwY7fQRLzv3Eqk9fMlIX3sCohrDq6/kl2kfszZU9Kb8TdCnrmI eaURK/LBPCubgGdr2/HOjdGR3nXVqIF57daeY/mQXDXpdtZSyHOcK+GsTg== X-Google-Smtp-Source: AGHT+IFMcdlkkXgFgrgykOM2te8sizs1go37M1l82OikxbyyrNUL7Kiy2JG0nFJI+p+wBE+dItjJxg== X-Received: by 2002:a17:902:e80e:b0:1fd:9c2d:2ef1 with SMTP id d9443c01a7336-2021969abb4mr26238585ad.53.1723903382085; Sat, 17 Aug 2024 07:03:02 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f031c240sm40082165ad.91.2024.08.17.07.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2024 07:03:01 -0700 (PDT) In-Reply-To: (Heime's message of "Thu, 15 Aug 2024 20:44:04 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=joel.reicher@gmail.com; helo=mail-pl1-x62d.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:147729 Archived-At: Heime writes: > How can I remove the imenu menubar, after it has been added Have you read (info "(elisp) Menu Keymaps") and also its parent node? Menubar entries are a kind of keymap. But why are you trying to do this? It is significantly better to prevent the addition in the first place rather than remove it after it has been added. Cheers, - Joel