help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Unused Identifiers


From: Markus Triska
Subject: Re: Finding Unused Identifiers
Date: Sun, 05 Mar 2006 16:13:42 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051010)

Hi August,

August Karlstrom wrote:

The last line is (of course) incorrect. Should be

The comment "that are never accessed in the same buffer" is also incorrect:

(defvar falsepositive 0)

(eval `(print ,(intern (concat "false" "positive"))))

==>

Found unused global identifier(s):

falsepositive


Hyphenated identifiers can yield false negatives:

(defvar has-hyphen 0)

(print 'has)

==>

No unused global identifiers found.

All the best,
Markus.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]