all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jose Marino <marinoj@astro.ufl.edu>
To: 6450@debbugs.gnu.org
Subject: bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function
Date: Thu, 17 Jun 2010 20:33:38 -0400	[thread overview]
Message-ID: <4C1ABEE2.3080108@astro.ufl.edu> (raw)

While using major mode idlwave I get an error every time I press one of 
these keys: ,  >  <  =

For '=' I get:
call-interactively: Symbol's value as variable is void: idlwave-expand-equal

For ',' I get:
call-interactively: Symbol's value as variable is void: idlwave-surround


I located the error in file idlwave.el in function: 
idlwave-action-and-binding.
The following patch (using code from idlwave-6.0) fixes the problem:

diff --git a/idlwave.el b/idlwave.el
index e622828..7544a5c 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -1598,10 +1598,12 @@ Capitalize system variables - action only
            (equal select 'noaction)
            (equal select 'both))
        (define-key idlwave-mode-map key
-        `(lambda ()
-           (interactive)
-           (self-insert-command 1)
-           ,@(if (listp cmd) cmd (list cmd))))))
+        (append `(lambda ()
+                  (interactive)
+                  (self-insert-command 1))
+               (list (if (listp cmd)
+                          cmd
+                        (list cmd)))))))

  ;; Set action and key bindings.
  ;; See description of the function `idlwave-action-and-binding'.


Thanks,
Jose





             reply	other threads:[~2010-06-18  0:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18  0:33 Jose Marino [this message]
2010-06-19  2:31 ` bug#6450: emacs 23.2; idlwave.el: error in idlwave-action-and-binding function Glenn Morris

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=4C1ABEE2.3080108@astro.ufl.edu \
    --to=marinoj@astro.ufl.edu \
    --cc=6450@debbugs.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.