all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: binarydigitz01 <binarydigitz01@proton.me>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: TODO: Major modes should have a menu entry
Date: Wed, 29 Jun 2022 16:20:23 +0300	[thread overview]
Message-ID: <YrxRlw++VDQiHYOT@protected.localdomain> (raw)
In-Reply-To: <5ZOxeerwRS0tyvqmHvGkA5vwknWEua5H2CaxVvk6N5lx0ka58WGkVTt3ifPi106-M0xE7wAE0z7Pq2vs82OWbvql1HSJSSnbNrwX6Ohif1M=@proton.me>

* binarydigitz01 via "Emacs development discussions. <emacs-devel@gnu.org> [2022-06-29 14:12]:
> Hi Everyone!
> This is going to be my first contribution to emacs! I would like to
> do the "Major modesh should have a menu entry" task, wanted to ask
> for advice on how to start on this.

In general major modes are automatically selected. 

To learn how to make menus, you may read or evaluate following
expression: (info "(elisp) Easy Menu")

Here is example on my side for Website Revision System:

(easy-menu-define wrs-menu global-map "Website Revision System Menu"
  (list "WRS"
	["Areas of Website Revision System" wrs-areas t]
	["Search pages" wrs-db-search-pages t]
	["Full text search" wrs-db-full-text-search t]
	["Add category" wrs-add-category t]
	["Manage related pages" wrs-related-pages-management t]
	["WRS Templates" wrs-templates-list t]
	["Generate tag clouds" wrs-tag-cloud-for-missing-ogimage t]
	["Publish region as Emacs Lisp function" wrs-publish-emacs-lisp-function t]
	["Publish WWW area" wrs-publish-area t]))


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



  reply	other threads:[~2022-06-29 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  6:48 TODO: Major modes should have a menu entry binarydigitz01 via Emacs development discussions.
2022-06-29 10:25 ` binarydigitz01 via Emacs development discussions.
2022-06-29 13:20   ` Jean Louis [this message]
     [not found]     ` <23kuBCiAL_iJkF9eImYTZYAvr0OrQGfgawBYLn3lcm2rwm0CqlFJPcGs_n9PAJccHlKcs8DL52VP9UmUNjyZJUFXpD3PgIyLja7JUN8iarg=@proton.me>
2022-07-01  6:10       ` Jean Louis
2022-07-01 12:19         ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=YrxRlw++VDQiHYOT@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=binarydigitz01@proton.me \
    --cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.