From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#8510: 24.0.50; lexbind problem (apparently): void-variable symbol Date: Sat, 16 Apr 2011 18:33:53 +0200 Message-ID: <87mxjq5f66.fsf@member.fsf.org> References: <91283714968143F08104B9FBE71E825D@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302971902 7664 80.91.229.12 (16 Apr 2011 16:38:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2011 16:38:22 +0000 (UTC) Cc: 8510@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 16 18:38:18 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QB8Vm-0007eL-7L for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2011 18:38:18 +0200 Original-Received: from localhost ([::1]:44460 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QB8Vl-0000Eo-PI for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2011 12:38:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QB8Vi-0000E7-Nr for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2011 12:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QB8Vh-0005fc-Js for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2011 12:38:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QB8Vh-0005fX-Ap for bug-gnu-emacs@gnu.org; Sat, 16 Apr 2011 12:38:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QB8Sb-0003Tv-RD; Sat, 16 Apr 2011 12:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Apr 2011 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8510 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8510-submit@debbugs.gnu.org id=B8510.130297164313305 (code B ref 8510); Sat, 16 Apr 2011 16:35:01 +0000 Original-Received: (at 8510) by debbugs.gnu.org; 16 Apr 2011 16:34:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QB8Rf-0003SY-DZ for submit@debbugs.gnu.org; Sat, 16 Apr 2011 12:34:03 -0400 Original-Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QB8Rc-0003S4-Hw for 8510@debbugs.gnu.org; Sat, 16 Apr 2011 12:34:01 -0400 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1315C20D4A; Sat, 16 Apr 2011 12:33:55 -0400 (EDT) Original-Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 16 Apr 2011 12:33:55 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=5ZSd2IeHwnbdi75sY8vahpOPWMA=; b=rra+dmGeQNYUkcjRgHPm9Z9EJ7Id3AIGiPCyYSAubyhPS5GkHHtX9VHdnWG2KJdJF9QQMzSDC5qCGJffb6NJOHoEyfdv54dElKtkClTbOG7+sDNzr2ZqgfNifED6uMPtOVJt3kh8XDRLhBR4S/55g2qBueDZlDd3fT5SJAUmVhU= X-Sasl-enc: 8hFGSJcjZhvFpPyNdO4Mo9rS6L9DeiCjpbr91wPFtzMF 1302971634 Original-Received: from thinkpad (88-134-173-46-dynip.superkabel.de [88.134.173.46]) by mail.messagingengine.com (Postfix) with ESMTPA id 4342C448CC4; Sat, 16 Apr 2011 12:33:54 -0400 (EDT) In-Reply-To: <91283714968143F08104B9FBE71E825D@us.oracle.com> (Drew Adams's message of "Sat, 16 Apr 2011 08:44:06 -0700") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 16 Apr 2011 12:35:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45835 Archived-At: "Drew Adams" writes: Hi Drew, > I ran into this from my own code. This is not a recipe from emacs -Q. > But I suspect that the problem is in the vanilla code, possibly in the > C code for `documentation-property'. I suspect its a bug in your code. :-) Your description sounds very similar to an issue I had with anything.el when switching to the (now merged) lexbind branch. The issue was that some advice tried to access one arg of the adviced function by its name. That's the fix: --8<---------------cut here---------------start------------->8--- --- a/anything.el +++ b/anything.el @@@ -2816,7 -2816,7 +2816,7 @@@ if optional NOUPDATE is non-nil, anythi (defadvice documentation-property (after anything-document-type-attribute activate) "Hack to display type attributes' documentation as `anything-type-attributes ' docstring." - (when (eq symbol 'anything-type-attributes) + (when (eq (ad-get-arg 0) 'anything-type-attributes) (setq ad-return-value (concat ad-return-value "\n\n++++ Types currently defined ++++\n" (mapconcat (lambda (sym) (get sym 'anything-typeattrdoc)) --8<---------------cut here---------------end--------------->8--- Bye, Tassilo