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#66738: 30.0.50; Gud LLDB regressions Date: Wed, 25 Oct 2023 16:02:58 +0200 Message-ID: References: <1985D138-4723-4744-A1C5-1DC1057AEB4B@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="27884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66738@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 25 16:03:59 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 1qveUI-00075G-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Oct 2023 16:03:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qveUC-0007Dt-Gw; Wed, 25 Oct 2023 10:03:52 -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 1qveTs-000711-68 for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 10:03:32 -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 1qveTr-0006BY-Rq for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 10:03:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qveUL-0003jZ-Lu for bug-gnu-emacs@gnu.org; Wed, 25 Oct 2023 10:04: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: Wed, 25 Oct 2023 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66738 X-GNU-PR-Package: emacs Original-Received: via spool by 66738-submit@debbugs.gnu.org id=B66738.169824262014305 (code B ref 66738); Wed, 25 Oct 2023 14:04:01 +0000 Original-Received: (at 66738) by debbugs.gnu.org; 25 Oct 2023 14:03:40 +0000 Original-Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qveU0-0003if-FL for submit@debbugs.gnu.org; Wed, 25 Oct 2023 10:03:40 -0400 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:54332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qveTx-0003iO-T0 for 66738@debbugs.gnu.org; Wed, 25 Oct 2023 10:03:39 -0400 Original-Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9936b3d0286so865788366b.0 for <66738@debbugs.gnu.org>; Wed, 25 Oct 2023 07:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698242581; x=1698847381; 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=bYRlVtHazxrw0jhJV85xHPyHaz595c09tsRuiyaPGA4=; b=mXKfSHflPpM8ubJMwui3U4ITNl408iCQe9e+7hqiAzPB+WYfmlbgEFVyuzIoIkVLPo WtJ03S4Y5pKIcGgqBPT10BGlvpbBHLM+AzUfYe+VJHrdkl2jE81EwBDFDBq5/8OpWVNi y22KgHZlPg3S6xKHro0zxCVRUFthF8PzI+2yJGWkwhrno2N1fsHWnmwv2CR5IK7zzNpj PKb63eF3JO+fMnKl0Id2t2mz4ty/o4ft44EOOQzHLiSy5cCQGXBH+/JSrKffCyWkQ3SU DgHOEyce9ylFVhVQkPPvs/BeZG4RC6Kvs5z1c962Tr9Xw1ojbbzg7YTPMbCup45CUKab EPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698242581; x=1698847381; 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=bYRlVtHazxrw0jhJV85xHPyHaz595c09tsRuiyaPGA4=; b=lPoNrCHx5K4Aqresu8+KGR2UqUKid0BWW8tBQqUWMueOdkKZVdrxVgbdu3gokfz+FR 8SknhU6KiRqo3plOKgJtjI0Cc1F7rfuArO/mLPflDwfV0AGG8rAeFlnyMRirfQyYHb7j bUPLp5zhQsXiSu2YCYWhTLYtqPZbDz59vmOjVfWjy9CeY+cldk97+zjwce1wn1WJ7ceU 0IXDYTBvZK1O4SfieQhSBDc8YngKTshUVh0cg5URjY6ORs0rHo4W7AQ15mLulCTwhnE2 uRvm3jIFKPQmMzP5xiF+rZKsWXposZH982nLDXjI6kwQbLWEHNHONXPKiUJfbGN8Aruz L5wA== X-Gm-Message-State: AOJu0YwjiJ6iTopISJRNkkrfPv2gudMnRxjzv1k1kMutQ7zxj0KHDPXL xvO2/QSYrL/XO9dQg94kmVDt+7sTdG0= X-Google-Smtp-Source: AGHT+IHJqxIa720+XxAfQFJqdc81Yo0eQGKyOo9K+C2jKcGmpDaT2YPSpwFDRRYwjI6dBDADpXJ/6w== X-Received: by 2002:a17:907:7da7:b0:9b2:b149:b81a with SMTP id oz39-20020a1709077da700b009b2b149b81amr11392752ejc.64.1698242580908; Wed, 25 Oct 2023 07:03:00 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3a69d.dip0.t-ipconnect.de. [79.227.166.157]) by smtp.gmail.com with ESMTPSA id b7-20020a1709062b4700b009ade1a4f795sm9755041ejg.168.2023.10.25.07.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 07:03:00 -0700 (PDT) In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 25 Oct 2023 11:40:40 +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:273183 Archived-At: Mattias Engdeg=C3=A5rd writes: > 25 okt. 2023 kl. 11.06 skrev Gerd M=C3=B6llmann : > >> ...I'll fix this myself, thank you. >>=20 >> Yeah, I did that. But it seems I have misinterpreted what the intention >> of the delete-region is. > > The gist of it is that lldb uses CHA and ED as follows: > > "previous line\nsome text" (CHA N) (ED) "something else" > > where (CHA N) repositions the cursor to column N, which is usually somewh= ere inside "some text", and (ED) clears the rest of the text on the line. > > This means that if the current line, "some text", is M characters > long, then we can simply delete the last M-N characters and remove the > CHA and ED sequences which now have done their job, and continue > processing. > > The snag is that part of "some text" may have already been inserted > into the buffer earlier and is thus not part of the current string > being filtered. For that reason, we start by removing that part from > the buffer and gluing it onto the front of our string so that the CHA > and ED operations can act on it. > > That text deleted from the buffer may have been write-protected but that'= s fine; it will be protected again next time it's inserted. > >> Then let me ask differently: why did you change this in the first place? > > You mean why I didn't use a series of forward slashes as end-delimiter > for the full path name? It seemed no less arbitrary than a newline and > no more robust. The current solution is straightforward and handles > any Unix or Windows file name users will come across. > > I did try out NUL as a delimiter but predictably this didn't work (lldb t= hrew an exception, actually). Ok, thanks. I see you fixed this in master, so I'm closing this issue.