From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28200 invoked by alias); 7 Dec 2003 15:54:37 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28110 invoked from network); 7 Dec 2003 15:54:35 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 7 Dec 2003 15:54:35 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BC9D52B8F; Sun, 7 Dec 2003 10:54:33 -0500 (EST) Message-ID: <3FD34D39.7000304@gnu.org> Date: Sun, 07 Dec 2003 15:54:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Deprecate remaining STREQ uses References: <3FC119EB.1060102@gnu.org> <3FC234C0.1000500@gnu.org> <2914-Mon24Nov2003212333+0200-eliz@elta.co.il> <3FD0B1B8.4030807@gnu.org> <7137-Fri05Dec2003195510+0200-eliz@elta.co.il> <3FD1E2F9.30009@gnu.org> <1659-Sat06Dec2003172251+0200-eliz@elta.co.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-12/txt/msg00245.txt.bz2 >> #define A(B,C) ((B) + (C)) >> A(b,c) >> >> into >> >> ( ( b ) + ( c ) ) > > > Ah, in that case indenting will not help. But something like > replacing all occurences of "( " with "(" and " )" with ")" should do > most of the work, I think. Press `!', the exclam mark, when Emacs > asks for confirmation of the first replacement, and it will do the > rest of the replacements automatically without asking. Or I can just run the code through gdb_indent.sh :-) Since the result of the substitution also exceeds 80 columns, I figure using gdb_indent is easier :-) Andrew PS: One of your mailboxes is full.