From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: J Krugman Newsgroups: gmane.emacs.help Subject: How to hide "if DEBUG" code? Date: Tue, 4 May 2004 15:45:00 +0000 (UTC) Organization: (NONE) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083685981 22538 80.91.224.253 (4 May 2004 15:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 15:53:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 17:52:30 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL2Dd-00005j-00 for ; Tue, 04 May 2004 17:52:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL294-0002r7-S1 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2004 11:47:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.kjsl.com!news.pir.net!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader2.panix.com 1083685500 21960 166.84.1.3 (4 May 2004 15:45:00 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 4 May 2004 15:45:00 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.6.5 Original-Xref: shelby.stanford.edu gnu.emacs.help:122953 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18240 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18240 Production code often gets overwhelmed with fragments whose sole function is to aid development (usually debugging) and has otherwise nothing to do with the program's logic. This makes it very difficult to read the code, which in turn breeds its own problems (e.g. code that is hard to read is also harder to debug, ironically enough). Is there a simple way to instruct Emacs to hide such code? Thanks! jill -- To s&e^n]d me m~a}i]l r%e*m?o\v[e bit from my a|d)d:r{e:s]s.