From: Miles Bader <miles@gnu.org>
Subject: Re: How can I bind these two keys?
Date: Mon, 10 Apr 2006 21:07:36 +0900 [thread overview]
Message-ID: <87hd51prav.fsf@catnip.gol.com> (raw)
In-Reply-To: <du4d1e.n7.ln@acm.acm> (Alan Mackenzie's message of "Mon, 10 Apr 2006 08:27:57 +0000")
Alan Mackenzie <acm@muc.de> writes:
> Firstly, you need the name of the "key map" belonging to the mode.
> There's no totally systematic way of finding this, but for Text Mode it
> is `text-mode-map', for Texinfo Mode it is `texinfo-mode-map', for Emacs
> Lisp Mode it is `emacs-lisp-mode-map'. Use C-h v, typing in your guesses
> for the name till you find it.
For matlab, you probably want to be using "octave-mode" (Octave is the
free software equivalent of matlab). Emacs defaults to objc-mode for .m
files, so you'll probably have to select the mode manually (until you've
overridden the default in auto-mode-alist).
The keymap variable for octave-mode is as expected, `octave-mode-map'.
-Miles
--
Occam's razor split hairs so well, I bought the whole argument!
next prev parent reply other threads:[~2006-04-10 12:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-09 19:24 How can I bind these two keys? volunteers
2006-04-10 8:27 ` Alan Mackenzie
2006-04-10 12:07 ` Miles Bader [this message]
2006-04-10 15:12 ` Kevin Rodgers
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=87hd51prav.fsf@catnip.gol.com \
--to=miles@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).