From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#66604: [PATCH] Gud LLDB completions Date: Wed, 18 Oct 2023 20:55:20 +0200 Message-ID: References: <13AC7AD2-230A-4FAC-81D9-75FBE53456F8@gmail.com> <586BC992-4776-4C8B-9700-821FF04A1046@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66604@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 18 20:55:51 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qtBhu-0003j6-5P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Oct 2023 20:55:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtBhl-0004vn-6j; Wed, 18 Oct 2023 14:55:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtBhh-0004vP-Nf for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 14:55:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtBhg-0007sL-I6 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 14:55:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtBi6-0008AZ-Kw for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2023 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66604-submit@debbugs.gnu.org id=B66604.169765535831394 (code B ref 66604); Wed, 18 Oct 2023 18:56:02 +0000 Original-Received: (at 66604) by debbugs.gnu.org; 18 Oct 2023 18:55:58 +0000 Original-Received: from localhost ([127.0.0.1]:34684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtBi2-0008AH-7H for submit@debbugs.gnu.org; Wed, 18 Oct 2023 14:55:58 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:43231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtBhz-00089x-On for 66604@debbugs.gnu.org; Wed, 18 Oct 2023 14:55:56 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53e16f076b3so17762a12.0 for <66604@debbugs.gnu.org>; Wed, 18 Oct 2023 11:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697655323; x=1698260123; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z8+iCbBVxPIDLQsOmwKylAOrqJd8CX+kXvmeBUAqUhE=; b=cgkV4ydBryZXIighxLyGzLNtV61p9s9V5Vbj9Qxs+5jzr05rKiL/T3T8l9q9gz7vvz PeD6KNBdq34o2Aukci5N+dglow7c+XKcCPeWs/RqrB1c7qDE79e4JNfhv3qfW7XxU4Or H0MZaD7TOFrdYPnv7sPQeSY0PvyymxQFqJR3nbafBrlBv2M4EGaQ/wfgVwmdOHhoFFzj xjKZofZDGPqBYQDB7Uz+Z7sH4LQTkPgtri7Ru8b5HPWUyJMLOk8nyI5nYNBBsbc6Fyzd znJ2H4apmxangToJMzKxBwK5c1+Vq6mBBKicyGcfN1Q1xlCu1R4cUD6ouEZsX6wI33mL YMSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697655323; x=1698260123; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Z8+iCbBVxPIDLQsOmwKylAOrqJd8CX+kXvmeBUAqUhE=; b=TrtO8WTKa5H1TP7kFLGs4JHsZX/pEiUWkt4mR4KqneeIynb5V9skP2zecf4kQ5ZS4v QYdRz7C/HCd9/p8XXqNM8MKVffcQS7AEKP2s6QWO0yM9COMGEJWqcl5ZkEsGn3a57IpI hRwyQPjwSlAiEH6OtTx/ZaNVLPXffqJeQLYpJQ40gKnBqa07/rFY6WfUONFmQaNMqEQL i3fShzr15DJ21sVJ5ri/eptddNVJftio12IA24FWo+DvmNUmo0L1mxFOjMp5BegoK4KI pgM1hUSlegrXAKnsLKwxDFz7qhuZhHVS11fMCT3X6UIhQBUiLmV35zVBRuMcptg/DZfA ujPQ== X-Gm-Message-State: AOJu0Yw3PoZRj11aE2JvnTFM8mfEqp2RreWBaYfP8VIT1E2B/1T/lMRs VY+wq6gsA79FOdmBoj4qa2GLAA0WNUk= X-Google-Smtp-Source: AGHT+IGI/GZd/Mu79ju89YpI6+Mctgpdx3SoqePFYSmjssMHvJXi6oSKBowQgrU5FODFX5/jofAViA== X-Received: by 2002:a17:907:7215:b0:9a9:f042:deb9 with SMTP id dr21-20020a170907721500b009a9f042deb9mr207182ejc.19.1697655322925; Wed, 18 Oct 2023 11:55:22 -0700 (PDT) Original-Received: from Mini.fritz.box (p4fe3a178.dip0.t-ipconnect.de. [79.227.161.120]) by smtp.gmail.com with ESMTPSA id bo16-20020a170906d05000b00977eec7b7e8sm2200615ejb.68.2023.10.18.11.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 11:55:22 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Wed, 18 Oct 2023 18:57:44 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272679 Archived-At: Gerd M=C3=B6llmann writes: > Mattias Engdeg=C3=A5rd writes: > >> 18 okt. 2023 kl. 17.23 skrev Gerd M=C3=B6llmann : >> >>> Does the attached also work? It would have the advantage of being more >>> readable. The Python part. >> >> Yes, it works. >> A minor request is that if there is only a single completion, then a spa= ce should be added after completing the word. For example, >> >> (lldb) sett >> >> should add the 5 characters "ings " to the input. > > Yeah, that's right. > > Could ypu please try the attached patch? This of works for me, but a > bit unnerving its that Corfu pops up after tryping 3 character with a > single candidate, but that's something I can live with, I guess. Maybe > it's even normal, now that i think of it. > > What completion are you using? Meanwhile I've cleaned this up, and committed it to master. Thanks to you again, Matthias! And closing...