From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Font-lock decides function call is function declaration in C+ + Date: Mon, 12 Feb 2007 10:06:22 -0800 (PST) Message-ID: <45197.128.165.123.18.1171303582.squirrel@webmail.lanl.gov> References: <81CCA6588E60BB42BE68BD029ED4826011ED2AA1@wimex2.wim.midas-kapiti.com> <44933.128.165.123.18.1171295633.squirrel@webmail.lanl.gov> <20070212185600.GA1506@muc.de> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171303619 29564 80.91.229.12 (12 Feb 2007 18:06:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Feb 2007 18:06:59 +0000 (UTC) Cc: "'bug-cc-mode@gnu.org'" , "Marshall, Simon" , "'emacs-devel@gnu.org'" , 'Chong Yidong' , 'Stefan Monnier' To: "Alan Mackenzie" Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Mon Feb 12 19:06:55 2007 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by lo.gmane.org with esmtp (Exim 4.50) id 1HGfZb-0008Sp-GZ for sf-cc-mode-help@m.gmane.org; Mon, 12 Feb 2007 19:06:44 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 32FD91205D; Mon, 12 Feb 2007 10:06:39 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HGfZU-0005TN-KO for cc-mode-help@lists.sourceforge.net; Mon, 12 Feb 2007 10:06:36 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HGfZM-0002vn-Ri for cc-mode-help@lists.sourceforge.net; Mon, 12 Feb 2007 10:06:33 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HGfY5-0007jQ-Ul for bug-cc-mode@gnu.org; Mon, 12 Feb 2007 13:05:09 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1HGfZJ-0003J5-Fv for bug-cc-mode@gnu.org; Mon, 12 Feb 2007 13:06:26 -0500 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HGfZI-0003Ir-RY; Mon, 12 Feb 2007 13:06:25 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l1CI6Nc3004242; Mon, 12 Feb 2007 11:06:24 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l1CI6NxC018674; Mon, 12 Feb 2007 11:06:23 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l1CI6NhM024579; Mon, 12 Feb 2007 11:06:23 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l1CI6MIj024573; Mon, 12 Feb 2007 10:06:22 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Mon, 12 Feb 2007 10:06:22 -0800 (PST) In-Reply-To: <20070212185600.GA1506@muc.de> User-Agent: SquirrelMail/1.4.8-2.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-detected-kernel: Linux 2.4-2.6 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on monty-python X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4385 gmane.emacs.devel:66300 Archived-At: >> It's worse than that. Inserting a new letter that changes "foo", ... > > is taken care of, in the commonest case. When you type the "l" after > "foo", this replaces "foo" with "fool" in the cache c-found-types. Perhaps the cache should note how many times something is used? Then the relatively common case of socket s; socket_factory sf/*=...*/; s.initializeFrom(sf); would not remove `socket' from the cache, but typo-corrections can still change it. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642