From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: improve gud-gdb completion Date: Wed, 28 Jul 2021 07:13:12 -0700 Message-ID: <86r1fi4jd3.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6898"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 28 16:19:48 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8kPT-0001bo-5V for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 16:19:47 +0200 Original-Received: from localhost ([::1]:45000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8kPR-0004Vm-Mo for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jul 2021 10:19:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8kMI-0006s6-U4 for emacs-devel@gnu.org; Wed, 28 Jul 2021 10:16:30 -0400 Original-Received: from gateway21.websitewelcome.com ([192.185.45.163]:18413) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8kMF-0008Ln-07 for emacs-devel@gnu.org; Wed, 28 Jul 2021 10:16:30 -0400 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway21.websitewelcome.com (Postfix) with ESMTP id 45281401C82E7 for ; Wed, 28 Jul 2021 09:14:17 -0500 (CDT) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id 8kJAm4HHPjSwz8kJAmn6q0; Wed, 28 Jul 2021 09:13:17 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BcRZvXNB2ITrdws0UWHe/8CuQyqwdwphWY28ACtgH94=; b=gCAtHsWR+bzrBWzyYRYbIqAHAI rDrq3CPEedQzATY0CYAN6hwuu9YIuaMlab3WnanzYb9LRO3i9anUQtiHrcqlQ/Yu2FYqx1FO/Dyhx 1SOWmCFpc8JFE/2syaK9b9SzxlDir6/Og7/Gt5LRyOr7fQWJ09pUcGI6XTXbzN5fqDSnUA4uYTG6F juzpbqfj8B5CkwSc1eLX6694XngfWmNM2ZYp/PNoSnfjg3yo4BuktCq1zeS1//0fk1/EaSlsVmNLl Erfddvkb0QTKAB57sm7cGCRnZ/FzOMhmtcBfz8HE9a6EFFsk1WfZyJKL6X5YTcl+uoYxRm/T77+P8 fepsjuYw==; Original-Received: from [76.77.182.20] (port=50458 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1m8kJA-000aL5-Ep for emacs-devel@gnu.org; Wed, 28 Jul 2021 08:13:16 -0600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1m8kJA-000aL5-Ep X-Source-Sender: (Takver4) [76.77.182.20]:50458 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 1 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: permerror client-ip=192.185.45.163; envelope-from=stephen_leake@stephe-leake.org; helo=gateway21.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271744 Archived-At: I'd like to improve completion in gud-gdb. Currently, it completes on names in the buffer being debugged, but it doesn't include "." in the name, so if I'm trying to print "Incremental_Parser.Parse_Errors.Length", it only completes to "Incremental_Parser". However, I can't figure out exactly what elisp code is harvesting names from the buffer. TAB is bound to completion-at-point. completion-at-point-functions is (gud-gdb-completion-at-point comint-completion-at-point t) (default-value 'completion-at-point-functions) is (tags-completion-at-point-function) None of those completion functions look at the text in buffers. What am I missing? -- -- Stephe