From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Finding Unused Identifiers Date: Thu, 02 Mar 2006 15:13:01 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <1YDNf.5345$F56.2416@newsread3.news.atl.earthlink.net> References: <4406fc36$0$11610$3b214f66@tunews.univie.ac.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141412633 9677 80.91.229.2 (3 Mar 2006 19:03:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 19:03:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 20:03:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFFZ3-00039r-Br for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 20:03:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFFZ1-0002e9-Lc for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 14:03:43 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.162.23 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread3.news.atl.earthlink.net 1141312381 4.159.162.23 (Thu, 02 Mar 2006 07:13:01 PST) Original-NNTP-Posting-Date: Thu, 02 Mar 2006 07:13:01 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:137877 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33496 Archived-At: "Markus Triska" wrote in message news:4406fc36$0$11610$3b214f66@tunews.univie.ac.at... > Hi August, > > August Karlstrom wrote: > > > > > Is there a way to find all unused identifiers in an Elisp file? > > > > There's no programmatic way. > > All the best, > Markus. I probably don't even understand the question but, out of curiosity I ran the following in *scratch*: (boundp 't) t (boundp t) t (boundp 'v31416) nil Why can't the file be loaded, tokenized, and then run the list of tokens against boundp? Or by "unused" do you mean something other than unbound? Ed