From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Two changes to tooltip.el (proposal) Date: 20 Nov 2002 12:46:51 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5xfztwzcno.fsf@kfs2.cua.dk> References: <15834.36871.423062.687204@nick.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037789701 29723 80.91.224.249 (20 Nov 2002 10:55:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 10:55:01 +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 18ESVX-0007jH-00 for ; Wed, 20 Nov 2002 11:54:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ESYh-0004CR-00 for ; Wed, 20 Nov 2002 11:58:15 +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 18ESPC-000087-00; Wed, 20 Nov 2002 05:48:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18ESNv-0005me-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 05:47:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18ESNs-0005js-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 05:47:06 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18ESNr-0005hS-00 for emacs-devel@gnu.org; Wed, 20 Nov 2002 05:47:03 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 546337C017; Wed, 20 Nov 2002 10:47:02 +0000 (GMT) Original-To: Nick Roberts In-Reply-To: <15834.36871.423062.687204@nick.uklinux.net> Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:9560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9560 Nick Roberts writes: > > (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 ... ) > ... `server print' ... Very nice! 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 ?) -- Kim F. Storm http://www.cua.dk