From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Two changes to tooltip.el (proposal) Date: Wed, 20 Nov 2002 23:33:32 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: <15836.7116.848080.301463@nick.uklinux.net> References: <15834.36871.423062.687204@nick.uklinux.net> <5xfztwzcno.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037835492 32301 80.91.224.249 (20 Nov 2002 23:38:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 23:38:12 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18EeQ7-0008Or-00 for ; Thu, 21 Nov 2002 00:38:11 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18EeTX-0002oN-00 for ; Thu, 21 Nov 2002 00:41:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18EeP3-0006Gq-00; Wed, 20 Nov 2002 18:37:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18EeNq-0005VO-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 18:35:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18EeNk-0005Bp-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 18:35:47 -0500 Original-Received: from bts-0713.dialup.zetnet.co.uk ([194.247.50.201] helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 18EeNh-0004zx-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 18:35:43 -0500 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id CEE4576037; Wed, 20 Nov 2002 23:33:34 +0000 (GMT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xfztwzcno.fsf@kfs2.cua.dk> X-Mailer: VM 6.97 under Emacs 21.1.1 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9586 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9586 > > > > (defun tooltip-identifier-from-point (point) > > "Extract the identifier at POINT, if any." > > (save-excursion > > (goto-char point) > > (gud-find-c-expr))) > > Maybe this would be safer: > > (if (fboundp 'gud-find-c-expr) > (gud-find-c-expr) > ... old tooltip-identifier-from-point code goes here ... > ) > `tooltip-identifier-from-point' is only used by gud so `gud-find-c-expr' will always be defined. Actually, I think the functions that provide the tooltips for gud should be should really be in gud.el. > I haven't been able to find any documentation on the "server" prefix; > what does it mean? Is it related to the gdbserver program? In that > case, does it change the semantics of the print command so that > debugging a program via gdbserver may not work properly with the change? > > Even if it is harmless, are you sure "server print" is supported by > all gdb versions (do we care -- probably most systems running emacs 21.x > also have a fairly new version of gdb ?) The server prefix is described in the Annotations section of the Gdb info pages. Annotations have been around for a long time so I presume the server prefix has too. Eli could probably tell you more. It has nothing to do with the gdbserver program as far as I know. Nick