unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jeffw_00@kwcpa.com (Jeff W)
Subject: How do I create a keymap to solve this problem?
Date: 12 Feb 2003 08:35:02 -0800	[thread overview]
Message-ID: <501727be.0302120835.696505da@posting.google.com> (raw)

I'm using EDT emulation (don't laugh).  Something broke the
edt-bind-gold-key command in 21.3.  As the backtrace below shows.

(edt-bind-gold-key  KEY COMMAND)  

translates to

(define-key (edt-user-gold-map KEY COMMAND)

However, the keymap edt-user-gold-map has gone missing in 21.3

How do I create the placeholder for this keymap so that these commands
will work?  (or is there another way to define a command as
PF1-<keyboard_key>

Thanks!
/j




Debugger entered--Lisp error: (wrong-type-argument keymapp
edt-user-gold-map)
  define-key(edt-user-gold-map "c" switch-to-buffer)
  edt-bind-gold-key("c" switch-to-buffer)
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("/engim/users/jwinston/.emacs" "~/.emacs"
t t)
  load("~/.emacs" t t)

" [init-file-user system-type user-init-file-1 user-init-file source
alt ms-dos "~" "/_emacs" windows-nt directory-files nil
"^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "~/_emacs" vax-vms
"sys$login:.emacs" "/.emacs" t load file-name-extension "elc"
file-name-sans-extension ".el" file-exists-p file-newer-than-file-p
message "Warning: %s is newer than %s" sit-for 1 "default"
inhibit-default-init inhibit-startup-message] 5]()
  command-line()
  normal-top-level()

                 reply	other threads:[~2003-02-12 16:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=501727be.0302120835.696505da@posting.google.com \
    --to=jeffw_00@kwcpa.com \
    /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).