From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Fix C-M-x on defcustoms Date: Tue, 07 Aug 2012 23:54:57 +0200 Message-ID: References: <87a9y6o3o8.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344376510 28143 80.91.229.3 (7 Aug 2012 21:55:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 21:55:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jambunathan K Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 23:55:10 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Syrk2-0000k3-TD for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 23:55:07 +0200 Original-Received: from localhost ([::1]:51171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syrk2-00055C-6u for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 17:55:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syrjy-00053W-6T for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:55:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syrjw-0008L1-OR for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:55:02 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:42315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syrjw-0008Kq-IO for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:55:00 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Ws8fB0tKbz3hhf7; Tue, 7 Aug 2012 23:54:58 +0200 (CEST) X-Auth-Info: eO+ljjpeoGUTIy8lyeDMWEjU4xIQ7FqajekdFZiKev0= Original-Received: from igel.home (ppp-93-104-155-207.dynamic.mnet-online.de [93.104.155.207]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Ws8fB0X2Kzbbh9; Tue, 7 Aug 2012 23:54:58 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 6DEDBCA2A4; Tue, 7 Aug 2012 23:54:57 +0200 (CEST) X-Yow: If this is the DATING GAME I want to know your FAVORITE PLANET! Do I get th' MICROWAVE MOPED? In-Reply-To: <87a9y6o3o8.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 08 Aug 2012 01:49:51 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152299 Archived-At: Jambunathan K 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". Yes, but the real issue is eval-defun-1 stripping off the backquote. I have checked in a fix. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."