From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Herbert Euler Newsgroups: gmane.emacs.devel Subject: RE: wrong-type-argument in gud-tooltip-mode Date: Sun, 27 Jan 2008 19:14:36 +0800 Message-ID: References: <18331.51852.195134.607586@kahikatea.snap.net.nz> <18332.10233.967027.718374@kahikatea.snap.net.nz> <18332.23875.678987.641297@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201432525 13421 80.91.229.12 (27 Jan 2008 11:15:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2008 11:15:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 27 12:15:44 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JJ5UG-0002jk-1T for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 12:15:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJ5To-0005Gj-UO for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2008 06:15:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJ5TE-0004zq-R3 for emacs-devel@gnu.org; Sun, 27 Jan 2008 06:14:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJ5TC-0004yy-V7 for emacs-devel@gnu.org; Sun, 27 Jan 2008 06:14:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJ5TC-0004yv-PB for emacs-devel@gnu.org; Sun, 27 Jan 2008 06:14:38 -0500 Original-Received: from bay0-omc1-s20.bay0.hotmail.com ([65.54.246.92]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJ5TC-0001xI-Nu for emacs-devel@gnu.org; Sun, 27 Jan 2008 06:14:38 -0500 Original-Received: from BAY143-W12 ([65.55.154.47]) by bay0-omc1-s20.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 27 Jan 2008 03:14:36 -0800 X-Originating-IP: [221.223.211.21] Importance: Normal In-Reply-To: <18332.23875.678987.641297@kahikatea.snap.net.nz> X-OriginalArrivalTime: 27 Jan 2008 11:14:36.0986 (UTC) FILETIME=[CD5E29A0:01C860D5] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:87635 Archived-At: > How about the patch below. There seems to be no point in running call-process > with no input file. I could probably also remove the string-match for > "\\`\\*.+\\*\\'" in gud-tooltip-mode too, as these buffers have no files > associated with them anyway. It works. However, calling `call-process' with its second argument (INFILE) set to nil here might not be trivial, since at least gcc prints something when its input is /dev/null: $ gcc -E -dM - _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/