unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Heime <heimeborgia@protonmail.com>
To: Jean Louis <bugs@gnu.support>
Cc: Drew Adams <drew.adams@oracle.com>,
	Christopher Dimech <dimech@gmx.com>,
	Emanuel Berg <incal@dataswamp.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: [External] : Re: About Package using a menu
Date: Wed, 19 Oct 2022 14:31:54 +0000	[thread overview]
Message-ID: <fQLVkiyvgbTv7hB0N10pDdXRmZXAUZ1N9vpuWoPsICU1h5jI-XDtDGMRg1QNDaviFukFuxIEg7mHTtGiFOYoEwfpqwxA_JCg3oPST-WnM9M=@protonmail.com> (raw)
In-Reply-To: <Y0+MLh82N0q2YG8y@protected.localdomain>


------- Original Message -------
On Wednesday, October 19th, 2022 at 5:33 AM, Jean Louis <bugs@gnu.support> wrote:


> I just do this:
> 
> (easy-menu-define cf-people-menu global-map "People menu"
> (list "People"
> cf-people-menu-find-people
> cf-people-menu-list-of-people
> cf-people-menu-collaborate
> cf-people-menu-add-new-people
> cf-people-menu-edit-people
> cf-mailing-list-menu
> cf-central-files-menu
> rcd-db-database-maintenance-menu
> ))
> 
> Then for each of those entries I have:
> 
> (defvar cf-people-menu-find-people
> (list "Find people"
> ["Find people" cf-people t]
> ["Find people by name" cf-people-by-name t]
> ["Find people by query" cf-people-search-ts-query t]
> ["Find files of person" cf-find-files-of-person t]
> ["Find people by description" cf-people-by-description t]))

Doing things similarly to your code (calling the defvar using its name), but still get an error.
I am also using submenus.  Can one perhaps do ["Find People" cf-people-menu-find-people t] ?







  parent reply	other threads:[~2022-10-19 14:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 23:15 About Package using a menu Heime via Users list for the GNU Emacs text editor
2022-10-17 23:21 ` Emanuel Berg
2022-10-18 10:52   ` Heime
2022-10-18 11:02   ` Christopher Dimech
2022-10-18 15:37     ` [External] : " Drew Adams
2022-10-18 17:32       ` Heime
2022-10-18 18:14         ` Drew Adams
2022-10-18 19:12           ` Heime
2022-10-18 19:31             ` Heime
2022-10-19  5:33               ` Jean Louis
2022-10-19  9:28                 ` Emanuel Berg
2022-10-19 14:31                 ` Heime [this message]
2022-10-19 20:21                   ` Emanuel Berg
2022-10-18 20:35             ` Drew Adams
2022-10-18 20:14           ` Heime
2022-10-18 20:35             ` Drew Adams
2022-10-18 20:56               ` Heime
2022-10-18 21:23               ` RE: [External] : " Christopher Dimech

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fQLVkiyvgbTv7hB0N10pDdXRmZXAUZ1N9vpuWoPsICU1h5jI-XDtDGMRg1QNDaviFukFuxIEg7mHTtGiFOYoEwfpqwxA_JCg3oPST-WnM9M=@protonmail.com' \
    --to=heimeborgia@protonmail.com \
    --cc=bugs@gnu.support \
    --cc=dimech@gmx.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).