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: Fri, 20 Oct 2023 08:04:51 +0200 Message-ID: References: <13AC7AD2-230A-4FAC-81D9-75FBE53456F8@gmail.com> <586BC992-4776-4C8B-9700-821FF04A1046@gmail.com> <27BF071E-2E0D-49F9-B595-E8A560436C50@gmail.com> <2577C531-285B-49CC-BFAA-3D3A3A0B986D@gmail.com> <22B5EBE2-945E-413F-BCC6-8693AB90988C@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="593"; 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 Fri Oct 20 08:05:43 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 1qtidj-000AUj-Gy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Oct 2023 08:05:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtidc-0000EW-Nr; Fri, 20 Oct 2023 02:05:36 -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 1qtidb-00005e-7P for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:05:35 -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 1qtida-0002jk-Uj for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:05:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtie1-00026d-U7 for bug-gnu-emacs@gnu.org; Fri, 20 Oct 2023 02:06:01 -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: Fri, 20 Oct 2023 06:06:01 +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.16977819308045 (code B ref 66604); Fri, 20 Oct 2023 06:06:01 +0000 Original-Received: (at 66604) by debbugs.gnu.org; 20 Oct 2023 06:05:30 +0000 Original-Received: from localhost ([127.0.0.1]:38477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtidV-00025h-Op for submit@debbugs.gnu.org; Fri, 20 Oct 2023 02:05:30 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:56687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtidS-00025O-3g for 66604@debbugs.gnu.org; Fri, 20 Oct 2023 02:05:28 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5230a22cfd1so548975a12.1 for <66604@debbugs.gnu.org>; Thu, 19 Oct 2023 23:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697781892; x=1698386692; 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=FwARak0YKdkSCI+Oxy8/cWbvk1kllh/IAtBbM6hbOcc=; b=QOI+erPqfaFS/5pYxjmEfC4bIkAy96ASzqtd/Au8CiIeQpo+wqTOneu9hFFmQYJW0Z Yff4Mly21O5EarueIHWu+m+39NvXj2/goz41el5okpLlJz/WV5DNqloI28aBzq2kmMxS pRUWfpfmeUeE8xw6L7B6Rx6Awy5ZWqVVyYv4qDUcvw+NVNC1GRIVp0Wu6bfFduq9rwUx M+1hrrEI0+IaTFkLX/+6tbtvh6CIKacOZ4FZCm45UkJtirteD2OZGvm1kDD+Ir7X9GTc kNlBjdBYH0zpoCQT1H50QQodi4k5kJTSZo93mtZu7mg0EQL5IRiCWERdt37tYhUHoSUG e5eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697781892; x=1698386692; 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=FwARak0YKdkSCI+Oxy8/cWbvk1kllh/IAtBbM6hbOcc=; b=D7qgQA+YJR2mLzufPUWfnKRE5mH+V5OpKs5Vst8MJXoVrrJacejuWcy6K56pdGkFV0 8sI0y/5C9AFyyAddk8dcHbgL6jCHVuxqPNNjdE7sUOcF5+VDxDvZe3Ut5KkglAFgW323 2DcUihOujZwIqeuXaXhCNvSS3OBQEs0Kal/fLJ/iE6+19HGi0j4hqjd3AJHg1P/YAbl4 FwGh6sKN1gMDtEfwicWoBIxqOjAxg82mGYjV8QTd5UbgRGDPPG4njldQ9bV5N/Y491dB vh9+ZC01F2qvoEMhlkymCim6OxkJbN6hmk8ro4/1bDeZ/BYcLuw18LAsMj7DlloJ3pNP S/bw== X-Gm-Message-State: AOJu0YyT1C2nV86cXjSKX70JQoeWk1juB7IOeNXKvzTBxz8fMVgBaeOp GSmRBBr3FqoDL9TC32jpzKKd0fY4zR4= X-Google-Smtp-Source: AGHT+IFemm9NHjBTfL1QzYh6VYvbph6AvZzzfPUMt0TEeEZH/NA2RqvtP7kBUWzJNRN0TVAll9liSQ== X-Received: by 2002:a05:6402:2691:b0:533:c55f:5830 with SMTP id w17-20020a056402269100b00533c55f5830mr676854edd.28.1697781892352; Thu, 19 Oct 2023 23:04:52 -0700 (PDT) Original-Received: from Pro.fritz.box (pd9e365ba.dip0.t-ipconnect.de. [217.227.101.186]) by smtp.gmail.com with ESMTPSA id w21-20020a50d795000000b0053e4d1cbc6esm810938edi.55.2023.10.19.23.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 23:04:51 -0700 (PDT) In-Reply-To: <22B5EBE2-945E-413F-BCC6-8693AB90988C@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Thu, 19 Oct 2023 15:22:34 +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:272772 Archived-At: Mattias Engdeg=C3=A5rd writes: > 19 okt. 2023 kl. 15.08 skrev Gerd M=C3=B6llmann : > >> Could you >> please set completion-at-point-functions to nil in the lldb buffer, and >> see if that's also happening then? > > Yes, that does not seem to affect the output at all. I don't seem to be able to reproduce this with emacs -Q. Here is what I do: cd emacs/master/src ,/emacs -Q # this is a build with -O0 -g M-x lldb RET emacs RET In gud-emacs: b redisplay_internal r -Q then 'n', 'c' and so on. Does that look right? That's on an M1 mac, BTW. Can't try on my x86_64 mac because lldb doesn't work there after the OCLP update to maxOS 14. I'm mentioning this because machine speed might matter in the communication emacs <-> lldb. What machine are you using? Could you try with a newer lldb? (brew install llvm, for example). P.S., just FYI, since you seem to be using this, and might see it: - There is still a problem with things like Corfu + invoking completion-at-point manually. This is interfering with comint redirection, with the effect of printing completions to the gud buffer. - There is a problem with the code in master if completion candidates contain ')', like function names. I have fixed that here.