From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Symbol's function definition is void: < Date: Fri, 26 Jun 2009 20:17:17 +0200 Message-ID: References: <87my7vfdyu.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246040257 10500 80.91.229.12 (26 Jun 2009 18:17:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2009 18:17:37 +0000 (UTC) Cc: Emacs-Devel devel To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 26 20:17:31 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MKFzO-0004Tr-IO for ged-emacs-devel@m.gmane.org; Fri, 26 Jun 2009 20:17:30 +0200 Original-Received: from localhost ([127.0.0.1]:50062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKFzN-0002HK-M2 for ged-emacs-devel@m.gmane.org; Fri, 26 Jun 2009 14:17:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKFzI-0002H7-SI for emacs-devel@gnu.org; Fri, 26 Jun 2009 14:17:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKFzD-0002EE-Ed for emacs-devel@gnu.org; Fri, 26 Jun 2009 14:17:23 -0400 Original-Received: from [199.232.76.173] (port=34509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKFzD-0002EB-9Z for emacs-devel@gnu.org; Fri, 26 Jun 2009 14:17:19 -0400 Original-Received: from mail-fx0-f223.google.com ([209.85.220.223]:61274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKFzC-0007mL-VD for emacs-devel@gnu.org; Fri, 26 Jun 2009 14:17:19 -0400 Original-Received: by fxm23 with SMTP id 23so2463881fxm.42 for ; Fri, 26 Jun 2009 11:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pMMog+xYrQhmD4OzfaiIExGcaFXRXKhRNNXJoj2QTsw=; b=nuZjTuEa8YzSt4+1iY3KugNL6cIPVvHEq4GX26hDrGTvG7hTl11BxqnPfRUXQumjCr ajEHamn6ufe/CSflvFB1Qqcvh2Y6gh2H055imn3LwJ4S6fL0dpReTfOv3Ejy8Q+0+CnE olZHgu6IvGF3JBP89525jppbi/X+7fslQDllE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rHvOKB6tkcVpxvq3sFlPv7ERSE2RRpXXG2RPdGg6eAVm8cVp2kRFMuFIr+VrD0mIEp ObQDSYc1nCuRpBVN/LYfM4NyKwXylw3MhhHLyB4kKVkHMJTxfYxrOwoypmKjpevWIP4q mpUn0vQkMaITtLHzu3U4O7FYjr3ru/K7gx4Pc= Original-Received: by 10.239.136.194 with SMTP id i2mr343947hbi.76.1246040237922; Fri, 26 Jun 2009 11:17:17 -0700 (PDT) In-Reply-To: <87my7vfdyu.fsf@ambire.localdomain> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111750 Archived-At: On Fri, Jun 26, 2009 at 1:10 PM, Thien-Thi Nguyen wrote: > () Lennart Borgman > () Fri, 26 Jun 2009 01:11:25 +0200 > > =C2=A0 Maybe defadvice on make-symbol and unintern could catch this > =C2=A0 possibility? Some more function to watch? > > How about enabling `debug-on-error' then adding to `post-command-hook': > > =C2=A0(lambda () > =C2=A0 =C2=A0(unless (boundp '<) > =C2=A0 =C2=A0 =C2=A0(error "unbound <"))) Yes, that is a good idea if combined with the backtrace from the defadviced functions.