From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: /lib/cpp not found in c-mode Date: Wed, 4 May 2005 21:46:41 +1200 Message-ID: <17016.39425.429357.970577@farnswood.snap.net.nz> References: <01c54e8b$Blat.v2.4$b7e84380@zahav.net.il> <17013.33421.228027.508547@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115249948 26321 80.91.229.2 (4 May 2005 23:39:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 23:39:08 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 05 01:39:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTTRz-0007P1-13 for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 01:38:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTTZO-0001S0-0K for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 19:46:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DTPPO-0000xI-Ms for emacs-devel@gnu.org; Wed, 04 May 2005 15:19:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DTPPN-0000wS-17 for emacs-devel@gnu.org; Wed, 04 May 2005 15:19:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTPPM-0000pS-2N for emacs-devel@gnu.org; Wed, 04 May 2005 15:19:44 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1DTPSI-0000Ey-Mm; Wed, 04 May 2005 15:22:46 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by mx20.gnu.org with esmtp (Exim 4.34) id 1DTGVC-00073n-HY; Wed, 04 May 2005 05:49:10 -0400 Original-Received: from farnswood.snap.net.nz (p121-tnt1.snap.net.nz [202.124.110.121]) by viper.snap.net.nz (Postfix) with ESMTP id BE9684AF83A; Wed, 4 May 2005 21:46:38 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 331FF62A99; Wed, 4 May 2005 10:46:42 +0100 (BST) Original-To: Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36670 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36670 > You'd be better served postponing execution of such a command to the moment > when it's actually needed (i.e. when gud-tooltips are actually being used). > If the user gets an error when she uses gud-tooltips, he won't mind, but if > she gets the error about something that she won't even ever use, she has > reasons to be upset. I've moved it closer to this: the define lists are only generated in a debug session. To do this only when gud-tooltips are being used means that the list generation etc needs to be triggered when tooltip-gud-tips-p is set to t and the local variable gdb-define-alist killed etc when it's set to nil. Perhaps tooltip-gud-tips-p should be replaced with some kind of minor mode. Any ideas? Nick