From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28089 invoked by alias); 23 Jan 2006 14:57:20 -0000 Received: (qmail 28079 invoked by uid 22791); 23 Jan 2006 14:57:19 -0000 X-Spam-Check-By: sourceware.org Received: from mail.turbocat.net (HELO mail.turbocat.net) (213.133.116.130) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 23 Jan 2006 14:57:17 +0000 Received: by mail.turbocat.net (Postfix, from userid 1002) id 09432422EC4A; Mon, 23 Jan 2006 15:57:13 +0100 (CET) Received: from [10.1.1.10] (83-65-214-98.work.xdsl-line.inode.at [83.65.214.98]) by mail.turbocat.net (Postfix) with ESMTP id B51F0422EC42; Mon, 23 Jan 2006 15:57:11 +0100 (CET) Message-ID: <43D4EEA7.1080303@inode.at> Date: Mon, 23 Jan 2006 14:57:00 -0000 From: David Ayers User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002) MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Thomas Richter , gdb-patches@sourceware.org Subject: Re: C++ support improvement patch References: <200601230950.k0N9oe7W031182@mersenne.math.TU-Berlin.DE> <20060123141344.GA13883@nevyn.them.org> In-Reply-To: <20060123141344.GA13883@nevyn.them.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00322.txt.bz2 Daniel Jacobowitz schrieb: >>o) For TAB-expansion, it removes the ":" as word-delimiter for >>readline, thus allowing to find names in namespaces. The current >>behaivour here is completely unusable for C++. The patch could >>be better, though, it should read template argument delimiters < > >>and function argument delimiters ( ) as "quotation characters", >>though it doesn't. Though it's a huge improvement compared to >>previous versions where TAB expansion was just not usable for C++. > > > This isn't the right fix, though. Someone posted (Pierre Muller, a > long time ago - April 2002!) an initial patch to make tab completion > context sensitive (for Pascal) - tab complete to the colon, type the > colon, and then tab complete structure members after the colon. > > It isn't suitable as-is and no one ever had time to go back and improve > it but that's what ought to be done. > I also would be very interested in this part of an acceptable patch as to possibly take a shot at fixing tab completion for Objective-C methods. /me searches the archives I think you mean: http://sources.redhat.com/ml/gdb-patches/2002-04/msg00774.html It would also be interesting to know if Apple has an acceptable proposal for this especially in light of Objective-C++. Cheers, David