From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Cleaning up code Date: Wed, 07 Aug 2013 11:57:23 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375891058 11066 80.91.229.3 (7 Aug 2013 15:57:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 15:57:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 07 17:57:41 2013 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 1V767I-00019S-EN for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 17:57:40 +0200 Original-Received: from localhost ([::1]:36865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V767I-00030h-27 for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 11:57:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7679-0002zg-I6 for emacs-devel@gnu.org; Wed, 07 Aug 2013 11:57:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7673-0003FP-1y for emacs-devel@gnu.org; Wed, 07 Aug 2013 11:57:31 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7672-0003FJ-UD for emacs-devel@gnu.org; Wed, 07 Aug 2013 11:57:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoGABK/CFFLd/Nq/2dsb2JhbABEtyKHbBdzgntyJhgNiEigC6EijWGDKQOXKY1RgV6DEw X-IPAS-Result: AsoGABK/CFFLd/Nq/2dsb2JhbABEtyKHbBdzgntyJhgNiEigC6EijWGDKQOXKY1RgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20832459" Original-Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 11:57:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C998B66AF2; Wed, 7 Aug 2013 11:57:23 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:162466 Archived-At: If you feel like cleaning up some code, but are not sure where to look, try the patch below and then bootstrap Emacs. That should give you enough warnings to keep you busy for a while. Stefan === modified file 'lisp/Makefile.in' --- lisp/Makefile.in 2013-07-23 22:55:38 +0000 +++ lisp/Makefile.in 2013-08-05 22:00:36 +0000 @@ -42,7 +42,8 @@ EMACSOPT = -batch --no-site-file --no-site-lisp # Extra flags to pass to the byte compiler -BYTE_COMPILE_EXTRA_FLAGS = +BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-force-lexical-warnings t)' + # For example to not display the undefined function warnings you can use this: # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))' # The example above is just for developers, it should not be used by default.