From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Fix C-M-x on defcustoms
Date: Tue, 07 Aug 2012 18:03:19 -0400 [thread overview]
Message-ID: <jwvr4rigybe.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87a9y6o3o8.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 08 Aug 2012 01:49:51 +0530")
>>>>> "Jambunathan" == Jambunathan K <kjambunathan@gmail.com> writes:
> 1. M-x find-library RET vc-dir.el
> 2. C-s defcustom
> 3. C-M-x. Note the following backtrace.
> ,----
> | Debugger entered--Lisp error: (invalid-function (\, (lambda nil nil)))
> | (\, (lambda nil nil))()
> | funcall((\, (lambda nil nil)))
> | eval((funcall (function (\, (lambda nil nil)))) t)
> | eval-defun-1((custom-declare-variable (quote vc-dir-mode-hook) (\`
> | (funcall (function (\, (lambda nil nil))))) "Normal hook run by
> | vc-dir-mode'.\nSee `run-hooks'." :type (quote hook) :group (quote vc)))
> | eval-defun-2()
> | eval-defun(nil)
> | call-interactively(eval-defun nil nil)
> `----
> It looks to me that it is an issue of orphaned "comma".
No, it was just a bug in eval-defun-1 which assumed that the second arg
to custom-declare-variable is always a quoted constant expression,
whereas it can really be any expression returning an expression.
Andreas beat me to the fix,
Stefan
prev parent reply other threads:[~2012-08-07 22:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-07 20:19 Fix C-M-x on defcustoms Jambunathan K
2012-08-07 21:54 ` Andreas Schwab
2012-08-07 22:03 ` Stefan Monnier [this message]
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=jwvr4rigybe.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=kjambunathan@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).