From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13662 invoked by alias); 10 May 2002 23:07:36 -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 13641 invoked from network); 10 May 2002 23:07:34 -0000 Received: from unknown (HELO monkey.daikokuya.demon.co.uk) (158.152.184.26) by sources.redhat.com with SMTP; 10 May 2002 23:07:34 -0000 Received: from neil by monkey.daikokuya.demon.co.uk with local (Exim 3.35 #1 (Debian)) id 176JUk-00082T-00; Sat, 11 May 2002 00:08:14 +0100 Date: Fri, 10 May 2002 16:07:00 -0000 To: Jim Blandy Cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: RFA: add macro commands Message-ID: <20020510230813.GA30884@daikokuya.demon.co.uk> References: <20020509235822.DC4F95EA11@zwingli.cygnus.com> <8011-Fri10May2002101418+0300-eliz@is.elta.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i From: Neil Booth X-SW-Source: 2002-05/txt/msg00373.txt.bz2 Jim Blandy wrote:- > > It would be nice to have completion only on macro names in these > > commands. But if that cannot be done easily, at least let's disable > > completion entirely until something appropriate is coded. > > I hadn't thought about completion at all. > > Given that the macros are stored in a splay tree, they're all sorted > in a way that would make efficient completion straightforward. So it > wouldn't be too hard to write a macro-only completion function. Just in case you'd not realized, macro expansions are frequently different, depending on location in the source files. Neil.