From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Undefine functions from parent major-mode
Date: Fri, 09 Aug 2013 14:13:05 +0200 [thread overview]
Message-ID: <871u63m59q.fsf@gmail.com> (raw)
Hi List,
assume there is a major-mode that would serve nicely as a parent-mode
for a new major-mode I want to write, but this parent-mode has lots of
functions/commands, and I would need only a few of them - and must
deactivate the others in the derived mode, because they won't work.
I don't talk about just undefining the keybindings for parent-mode
commands, the redundant functions/commands should simply not be
available anymore in the derived mode, not via 'M-x' and not via 'M-:'.
What is the righ/canonical way to do that?
--
cheers,
Thorsten
next reply other threads:[~2013-08-09 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 12:13 Thorsten Jolitz [this message]
2013-08-09 13:16 ` Undefine functions from parent major-mode Stefan Monnier
2013-08-09 15:04 ` Michael Heerdegen
2013-08-09 15:40 ` Thorsten Jolitz
[not found] ` <mailman.2881.1376061319.12400.help-gnu-emacs@gnu.org>
2013-08-09 18:28 ` 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
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=871u63m59q.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=help-gnu-emacs@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.
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).