LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2022, 03:32 PM   #1
Faki
Member
 
Registered: Oct 2021
Posts: 248

Rep: Reputation: Disabled
Making parent menu in emacs


Am trying to make a parent menu in emacs. Have traversed the "Emacs Lisp Reference" to "23.17 Menu Keymaps" with an example in "23.17.4 Menu Example".

But cannot get the parent menu to show up.

This is how I make the parent menu "xepty-menu".

Code:
(define-key global-map [xepty-menu words]
  (cons "Xepty" (make-sparse-keymap "Xepty")))

Last edited by Faki; 10-18-2022 at 03:56 PM.
 
Old 10-18-2022, 07:04 PM   #2
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 631
Blog Entries: 15

Rep: Reputation: 104Reputation: 104
Do the examples in the link below help at all?

https://stackoverflow.com/questions/...f-parent-modes
 
1 members found this post helpful.
Old 10-20-2022, 02:16 AM   #3
Faki
Member
 
Registered: Oct 2021
Posts: 248

Original Poster
Rep: Reputation: Disabled
I think the link is about a different topic.
 
  


Reply

Tags
emacs, menu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create 5 processes from a common parent and ensure that the parent terminates after c pro_learner Linux - Newbie 1 03-06-2013 10:25 AM
How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere? Blackened Justice Linux - Newbie 4 09-08-2011 08:57 AM
File descriptors shared between child and parent causing parent to hang. bharadiaam Linux - Newbie 1 03-02-2009 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration