From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#24237: 24.5; (elisp)`Extended Menu Items', :filter warning Date: Sat, 19 Dec 2020 16:05:29 -0800 Message-ID: References: <6c4f5089-43fa-4ca1-a656-1ec1684df960@default>>>>> <87v9d67ox6.fsf@gnus.org>>>>> <70cc884d-4f32-4a2e-b3f5-181709f2ca29@default>>>>> <83blexeod5.fsf@gnu.org>>>>> >>> <83v9d5d1yd.fsf@gnu.org>>>> <846fcdf8-9b51-4246-8200-b067e7006e24@default>>> <83y2hut6m7.fsf@gnu.org>>> > <838s9ttxkk.fsf@gnu.org>> <9db900ad-aec6-4000-8537-a43d781c458e@default> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, 24237-done@debbugs.gnu.org To: Drew Adams , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 20 01:06:11 2020 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 1kqmEl-00022S-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Dec 2020 01:06:11 +0100 Original-Received: from localhost ([::1]:33474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqmEk-0002h1-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 19:06:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqmEd-0002gt-Jz for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 19:06:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqmEc-0002uz-Cc for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 19:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqmEc-0003DY-7d for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 19:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Dec 2020 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24237 X-GNU-PR-Package: emacs Original-Received: via spool by 24237-done@debbugs.gnu.org id=D24237.160842274112339 (code D ref 24237); Sun, 20 Dec 2020 00:06:02 +0000 Original-Received: (at 24237-done) by debbugs.gnu.org; 20 Dec 2020 00:05:41 +0000 Original-Received: from localhost ([127.0.0.1]:43440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqmEH-0003Cx-I0 for submit@debbugs.gnu.org; Sat, 19 Dec 2020 19:05:41 -0500 Original-Received: from mail-pj1-f46.google.com ([209.85.216.46]:34828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqmEC-0003Cg-0r for 24237-done@debbugs.gnu.org; Sat, 19 Dec 2020 19:05:39 -0500 Original-Received: by mail-pj1-f46.google.com with SMTP id b5so3843250pjl.0 for <24237-done@debbugs.gnu.org>; Sat, 19 Dec 2020 16:05:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=nSpHdeGavEs+CXkq4tR4OH+pz4R+q4WZU1t7UTtQuEs=; b=n02bvZ0lLZvIAe1XhUB9RAadAunuwVfzYyzPeCS20bKYFRBz+uWbLyte5TWFiYJ3MR 3T1maw6e0eIH9HczQIgIyyAmpDAm9PHwfrVic8TMUTLBFu1kIV1x7N9cti2WR7/gcEoo rTZ8+G8oNb9UypvMJ/ZEhkIe+si1t8LttivIWKB+ha03ver11X0iFG66OSoDqIH28/VB xvIUihTuBUfG1eOZE2oe3tjYyyfgmln1/5WlcuCPzB2iCq3bLiWux1kcEyi9BZU2EUmK f2h3+qSC6jZQE7OTTJVUOHEddrpQBmokwsS9BvFJmkjM+KxG3F5JU5PBgUxV1fUJhQjf o4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=nSpHdeGavEs+CXkq4tR4OH+pz4R+q4WZU1t7UTtQuEs=; b=aF0HJ/k6iAgkIrPfy5Mnv+SXN2mociChPcteU2XKKaDi+vo15PTuGAu+RKKBy8Xz+S P6JF7WGLnYOHAPqjDlVqsoUmej+82eRADhum9lZOUGh3nfjdreXcVIA1oEoUBVlloFNT XHaYNreaUxM6NZulZWHScoMz3/mANPNwSoZCANva2sW/odqLElVl4GwFHcCxRaPag4nG SMQTLlDm3e6HzJBEjACb2swTIyEaN2CHwsDpfP1mg49iLkRPF0RERR5B5r0qPaM7o4mz U9WU+pRUK0yKz7bRagRmJJxVJi76YCCNzZynlbP8o/VZtyQM3A2W+pW5oapiJYi74c65 5dXw== X-Gm-Message-State: AOAM531OvSYOuaRhH/xWtheCUzaw20W8wVs0otKuxdwzsgosF5LQV0gE n7CdPmJLvFLstkLNMu9N82ydX3VHTBFJHSSZN28= X-Google-Smtp-Source: ABdhPJw6fV8yftTZB215APFaMyDrzdoI/kzaK+3M3r8bSf6jBJ4P3I9mG4z5ZG62m5C9k+SDOIhKln5n5SyZNVPI/a0= X-Received: by 2002:a17:902:d351:b029:db:e003:3b88 with SMTP id l17-20020a170902d351b02900dbe0033b88mr10542254plk.70.1608422730235; Sat, 19 Dec 2020 16:05:30 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 19 Dec 2020 16:05:29 -0800 In-Reply-To: <9db900ad-aec6-4000-8537-a43d781c458e@default> 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:196444 Archived-At: Drew Adams writes: >> > a. You can bind an extended menu item that uses >> > :filter to a keyboard key, to give it a >> > dynamic binding (explaining what that means >> > with an example). >> >> IMO this is a kludge that we don't need to document. > > It is indeed a kludge/workaround/hack. I agree that this kludge shouldn't be documented. It is very strange to bind keys to menu-bindings just for :filter, and if we document it we in effect say that this is the preferred way of doing this stuff. > It is also quite useful. If you refuse to elevate it > to doc-worthiness, then please change this bug to an > enhancement request to provide the same feature > _without_ having to use `menu-item' with :filter. > > Otherwise, I will I guess submit such an enhancement > request. Elisp users shouldn't have to resort to an > undocumented kludge to get this useful behavior. It makes sense to me to file such a feature request.