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: Sat, 21 Oct 2023 12:32:21 +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> <45D77CAF-8694-434D-90BC-448886FBB68E@gmail.com> <68E433F5-C7A5-4DCB-BF2B-FE1054F71E69@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="24069"; 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 Sat Oct 21 12:33:01 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 1qu9Hx-000682-02 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Oct 2023 12:33:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qu9Hh-0002if-PT; Sat, 21 Oct 2023 06:32:45 -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 1qu9HW-0002i5-R6 for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 06:32: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 1qu9HW-0004ni-Gr for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 06:32:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qu9Hy-0000w1-5B for bug-gnu-emacs@gnu.org; Sat, 21 Oct 2023 06:33: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: Sat, 21 Oct 2023 10:33: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.16978843803578 (code B ref 66604); Sat, 21 Oct 2023 10:33:02 +0000 Original-Received: (at 66604) by debbugs.gnu.org; 21 Oct 2023 10:33:00 +0000 Original-Received: from localhost ([127.0.0.1]:42311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu9Hv-0000vd-RW for submit@debbugs.gnu.org; Sat, 21 Oct 2023 06:33:00 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:47329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qu9Ht-0000vO-2w for 66604@debbugs.gnu.org; Sat, 21 Oct 2023 06:32:57 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-53e3b8f906fso2466975a12.2 for <66604@debbugs.gnu.org>; Sat, 21 Oct 2023 03:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697884343; x=1698489143; 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=IknIJBz9St85JmbOLuLCbi2atOqtrBGkJlSPOMWoqsU=; b=R7IKedDTZEP4ofQHBlRWlVbVpQrwPTLk16rpqbvvvJn+4dakdxC4rPQupxeFFe0V0u 2SMlduayfvqZvPMbA1B73VwO9Yp0BM3mZWNHjP3HyteFejw+lIpv5rRuNs6y1B4Bt/jl p5AdZ/8/OVziZ+bSpBK9feyjVN1P1FRuOazpaJQ5UKF0MkVdI7jloQ/ywdxvZhrKGysp tY1WcP4/ZbBeMzotWPQoRcoVd5StMJtscjedxP0QR173c7V7BaQrbyTJHD4hc8IsIJEZ lTnx44RkshuKL+VCb58+BDdi4OmAGk0OrMGmpTf13uSRdH1dY6KnwR/0Hqz5uaRRiM7G DE5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697884343; x=1698489143; 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=IknIJBz9St85JmbOLuLCbi2atOqtrBGkJlSPOMWoqsU=; b=YBY5/7s0AWUmYDNQEV1eF9pMZwARbUuz6VLPIXXacC9ADFSdK732joY3hgW0SoQ81R YIv/lKQYeMzvtg6JKL15KwRSyvfxP20kxGn7qTOFZwySg1jD3QspWWDq0lcfeo06a8Wn /+UggLsb7HYLJsNrY/xBv1akvK32EVuM2UzgG8+UmccAigjtr8kZnEFWFGoGKEb7yI+p Gt6vfosXPjkWGqplkGGkL3CqCyeXXXYiBiSv3frNZn9Lf+zyU1mvcbNoCDO43aHIH34Z PJuXnZ+wCEhpiKRBncV3fOfbaPiiPrfyEZS8m/59BDX9spFcDllYp3rziW8HWH7O+HiQ Zxng== X-Gm-Message-State: AOJu0Yybtkcv+kI0V7oqra1SfRrNekLS08QC13zPpybzTAi9VX/up4WV XNrWZINxPbz4xhQm30gC/7hanymx3rM= X-Google-Smtp-Source: AGHT+IHBOUvuKsegQ3IyKQSKTglw0KxvU+mUcjo66JUaQDWxSK1rknDBSkg/piZI4U54oFrsAXp5Wg== X-Received: by 2002:a05:6402:34d3:b0:530:d8df:afaa with SMTP id w19-20020a05640234d300b00530d8dfafaamr2937786edc.41.1697884342946; Sat, 21 Oct 2023 03:32:22 -0700 (PDT) Original-Received: from Pro.fritz.box (pd9e366af.dip0.t-ipconnect.de. [217.227.102.175]) by smtp.gmail.com with ESMTPSA id ee8-20020a056402290800b00537666d307csm3176268edb.32.2023.10.21.03.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:32:22 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Fri, 20 Oct 2023 19:47:26 +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:272855 Archived-At: Gerd M=C3=B6llmann writes: > Gerd M=C3=B6llmann writes: > >> Gerd M=C3=B6llmann writes: >> w28, #0x7 ; =3D7 \n 0x18721cd3c <+92>: movk w28, #0x1000, lsl #16\n >> 0x18721cd40 <+96>: cmp w0, w28\n[1G[J(lldb) [8G" > > Hm, what one cannot see in the mail, is that the prompt at the end is > actually "(lldb) ^[[8G". Note also the two spaces! > > And what Emacs does afterwards, AFAICT now, is filter the escape > sequences out (see ansi-color-for-comint-mode.*). Strangely, the 8G and > so on sequencess match the regexp used for that. I'm now resasobly convinced that this is kind of a bug in LLDB. It doesn't check if it has an ANSI terminal sometimes, and sends ANSI cursor movement sequences anyway.