From unknown Sun Sep 07 03:05:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71698 <71698@debbugs.gnu.org> To: bug#71698 <71698@debbugs.gnu.org> Subject: Status: 29.3; comint--intersect-regions fontifies some output using input function Reply-To: bug#71698 <71698@debbugs.gnu.org> Date: Sun, 07 Sep 2025 10:05:42 +0000 retitle 71698 29.3; comint--intersect-regions fontifies some output using i= nput function reassign 71698 emacs submitter 71698 JD Smith severity 71698 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 21 14:12:55 2024 Received: (at submit) by debbugs.gnu.org; 21 Jun 2024 18:12:55 +0000 Received: from localhost ([127.0.0.1]:43249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKiko-0003L7-J2 for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:12:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:57290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKikm-0003KE-Cv for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:12:52 -0400 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 1sKho6-0005sc-Ka for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 13:12:15 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKho4-0004UG-Po for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 13:12:14 -0400 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-6b06e63d288so9981606d6.0 for ; Fri, 21 Jun 2024 10:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718989930; x=1719594730; darn=gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=tpK0wy+mJi54NpKXk9CYDxrHcxRufU77wUeJyKE1v7o=; b=BgK6uDfxnmupfhMF6Uo3SQGwslQBtQ9RKOCTvpgOO2PiDPjGPs0s0HuWDVPytEBkoF mLq0v4x/jOscgi4gzij39ljHHN0T1SGMy1LwHs7Np01884jzb2KDKCipcQEUVRoxTbII izlOzu/zBkId8GynuT58Znv1+KW6PhpHIbIukUm9AJrDaO95wOsvEKRv68GQDlPPGH2l 8Iz/hdEXtQXteGrCw6U+Ey+W93sbo3PDN2eUyXvmrYzhHArzVGLQaLC/958ko0ZSNTV7 +h837XxfyWWfqoTIhM9xlUoVzjRVnfusMJr7Lnb67Pm424eGa07hjxcRWt9cZUqdxw96 0pEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718989930; x=1719594730; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tpK0wy+mJi54NpKXk9CYDxrHcxRufU77wUeJyKE1v7o=; b=Jeysa7mKhp/77mEXu+SorDcmNQtpfpd6Q4LlhA0/ylf+/5lk+vPaSieCWqpIw2K4n+ kvgfWdkZPD5tD6x78t1X5DXElT+loPm7ib1n/B9JV3gD97OnMSssfwMf8E18GmWa5YuF +Pp5ISk9O91ES8G2EMsTPuSUA0+51iIARHOamp6vRwel1WG9yr7y6VJTD4GjOHV+2tjX mmR5zq9+D6D4Pv5igz3yjI9f2PfoT7Tb3aAkZNLg4Wq72ZR+9eSV9DM6cWgQQBBVFaqP u72/Pob/cj0pndM37dG+i2OXH3OV2kdQdF0XhpC5dnuagYQ6Zc0t4beOo69EWW+pluEc JqfQ== X-Gm-Message-State: AOJu0YyfpI7u5UR+4nm3TQ2N2fRMak6rDbWgIKNSW1y9x3ygcZ2bckmb +mFeA3J8xjlQHlF9b2n+qoWQVQvTzKHiOf/8camN/LGVAs9TV4fjJGyFZg== X-Google-Smtp-Source: AGHT+IHAuKamEt77WCr0h3kaABE3+ZuEFcS6hvCRSO2t8Mt/HuHCZGCYAZQVzK/0HsD2ZDmwYoVtrQ== X-Received: by 2002:a0c:e610:0:b0:6b5:6a1:f894 with SMTP id 6a1803df08f44-6b506a1fce4mr80282336d6.3.1718989929961; Fri, 21 Jun 2024 10:12:09 -0700 (PDT) Received: from smtpclient.apple ([131.183.131.33]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b51ef30d30sm10579066d6.93.2024.06.21.10.12.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2024 10:12:09 -0700 (PDT) From: JD Smith Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: 29.3; comint--intersect-regions fontifies some output using input function Message-Id: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> Date: Fri, 21 Jun 2024 13:11:58 -0400 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3774.600.62) Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=jdtsmith@gmail.com; helo=mail-qv1-xf29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: miha@kamnitnik.top X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This relates to bug#51940: 29.0.50; [PATCH] Fontification and = indentation in M-x shell. I found a tiny bug in the introduced command = `comint--intersect-regions'. It pertains to the "field-expansion" in = the following section, which is responsible for narrowing to alternating = regions of input and output: (let ((beg2 beg1) (end2 end1)) (when (=3D beg2 beg) (setq beg2 (field-beginning beg2))) ; <--- bug here (when (=3D end2 end) (setq end2 (field-end end2))) ;; Narrow to the whole field surrounding the region (narrow-to-region beg2 end2)) The nature of the bug is that `field-beginning' is left-associative, = whereas `(get-text-property (point) 'field)` is right associative. You = can demonstrate this to yourself as follows: (progn (insert (concat "\n" (propertize "AAA" 'field 'a) (propertize "B" = 'field 'b) (propertize "CCC" 'field 'c))) (goto-char (- (point) 4)) ; cursor on 'B' (list (get-text-property (point) 'field) (field-beginning) (field-end) (buffer-substring-no-properties (field-beginning) (field-end)))) ;; gives: (b 356 359 "AAA") So on the line: (setq beg2 (field-beginning beg2))) ; <--- bug here if beg is at the first character of its field, `field-beginning` will = actually return the start of the prior field. This leads to = `comint--intersect-regions' unwittingly including `output' field text in = its input fontification narrowing. I noticed this in a new python = interactive mode I'm working on: the prompt itself (i.e. output) was = being partially fontified by python-mode. I believe the correct fix is: (setq beg2 (field-beginning (1+ beg2)))) This takes care of the problem here, even for single-character fields = (like `boundary'). We know (< beg1 end) from the loop condition, so = it's safe to increment beg2. --- /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/jka-comrWKsIJ = 2024-06-21 13:08:59 +++ = /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/buffer-content-Q8dmID = 2024-06-21 13:08:59 @@ -4122,7 +4122,7 @@ (let ((beg2 beg1) (end2 end1)) (when (=3D beg2 beg) - (setq beg2 (field-beginning beg2))) + (setq beg2 (field-beginning (1+ beg2)))) (when (=3D end2 end) (setq end2 (field-end end2))) ;; Narrow to the whole field surrounding the region From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 21 15:14:10 2024 Received: (at submit) by debbugs.gnu.org; 21 Jun 2024 19:14:10 +0000 Received: from localhost ([127.0.0.1]:43835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKji5-0005TH-So for submit@debbugs.gnu.org; Fri, 21 Jun 2024 15:14:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:40420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKji3-0005T9-KA for submit@debbugs.gnu.org; Fri, 21 Jun 2024 15:14:07 -0400 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 1sKji4-0001zS-1J for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 15:14:08 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKji2-0001Eu-Jn for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 15:14:07 -0400 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-440609dd118so10694601cf.1 for ; Fri, 21 Jun 2024 12:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718997244; x=1719602044; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tuFetnvy+6KbmhVtmWiQSY1MAzmhehidDX/RaX29Lws=; b=TQwBVKGGVnLm4ZOd340iCijpRrIVM553v5k5Rvn6NPxuMC93jSoZmeYdrjZGc+NoSX s20zXIodMGiAV+HoZR9c7Kq3qLyVG6oWRv1fsQCxsJTsQUBQlDrfKP60FC5aYSBB8MtV mIttJ4Y5vRsLSp1TCjWfCnZ81+QkNZewXaAIMQbXxFtD0RSHwXFYl4DWAop8O+bGzERR aEZuxb71cSO99rM7q49607Rx4JhDgOimxdck4zFiDy905Mnb1c0j7DpBAb49MsngpCa+ dP6Df0p3ysflk8QsqPEvuKV9Me1uTdD92UTf99ypQ4O4gF0ABCOPsRqPzYLVt7xti4Qp DTdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718997244; x=1719602044; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tuFetnvy+6KbmhVtmWiQSY1MAzmhehidDX/RaX29Lws=; b=q90lPCW3J0ExcXp//KYu+vtcXtRpgbwsgLsffNb+j/uTM8OIE/gbNRy2tb7+qRp7Ai 5yazlzA+Q7GIniwwOSORD5GLBxJIC67XWCqi6xd6TPDNZS/IOF6+bxYoR6CxJVoUxm4f fKIc5nfd2Cz9Bv8+Y2r9RPBn4q3ApKQ2JBpB6sY023Jkd6NUWoxRqMGp1fHWyCU1MdlF tpdPEusVyNDmDy2gA50iVI87dGe4P0AJs8ffvSLudESf4gj9Um/VCkuNwwSWehH8NVxC sTDNdm8+0v2fv5ODCWBis06gmCIDgfHNXyII+oRAJeJwDk9gen6KxvRzweVDXfu8ASvM 6LWQ== X-Gm-Message-State: AOJu0YzXnRfCi37Ut1Q6RDJXRWXnYdetj+ACjtXurDLKI/Lov36n6cF9 6V7B/YStoVMD+pow8mDa+Fkslhfq3dXOivg1kOjJ/FeLSkkE0T9LRXh+wg== X-Google-Smtp-Source: AGHT+IFD0eO54HYVGpcfF2mHvX72Ob+yv6p0OjvaAUX8K/x2aTDAx6YbCFzmmiUuqxDQ6Oe/Uoz9yw== X-Received: by 2002:a05:622a:190d:b0:43a:f1f0:12f with SMTP id d75a77b69052e-444a7a5a4b7mr112475821cf.59.1718997244515; Fri, 21 Jun 2024 12:14:04 -0700 (PDT) Received: from smtpclient.apple ([131.183.131.33]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-444c2b44e57sm14283551cf.2.2024.06.21.12.14.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2024 12:14:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: 29.3; comint--intersect-regions fontifies some output using input function From: JD Smith In-Reply-To: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> Date: Fri, 21 Jun 2024 15:13:53 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3774.600.62) Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=jdtsmith@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: miha@kamnitnik.top X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) A bit more context, to quote from the manual: > When the characters before and after POS are part of the same field, > there is no doubt which field contains POS: the one those characters > both belong to. When POS is at a boundary between fields, which field > it belongs to depends on the stickiness of the =E2=80=98field=E2=80=99 = properties of the > two surrounding characters (*note Sticky Properties::). The field = whose > property would be inherited by text inserted at POS is the field that > contains POS. Note that comint adds `field' as `rear-nonsticky' on the prompt, but = this does not impact the inheritance of the field from the previous = character or the behavior of field-beginning (only a front-sticky on the = following character would do so).= From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 21 18:30:28 2024 Received: (at submit) by debbugs.gnu.org; 21 Jun 2024 22:30:28 +0000 Received: from localhost ([127.0.0.1]:43988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKmm4-0007Ps-0W for submit@debbugs.gnu.org; Fri, 21 Jun 2024 18:30:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:47170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKmm1-0007Ph-23 for submit@debbugs.gnu.org; Fri, 21 Jun 2024 18:30:27 -0400 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 1sKmm1-0000Dv-BB for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 18:30:25 -0400 Received: from mail.kamnitnik.top ([209.250.245.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKmlz-0000bB-K2 for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 18:30:25 -0400 From: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1719009018; bh=bqRDbsn/m2lp6MQ3VzJvkWonRudsZat27lGeEwB9Owc=; h=From:To:Subject:In-Reply-To:References:Date:From; b=B+kA4WIbhoKIXsSRvo7i2qgi1oy6ryw8Uv+A3utP5S7xOTpjd2ukvnuL78ESowHlh BAtpQEi0XejmtUiKG5NLLUL4iHeT7fnEwle75vKXAV/Wb9Tv0BH3s5Lw64Et2OOUtY wAJ1+qAHYDol3w4hSVs0eYA/asE8rb+g5BRgUN3MizXqLzQVN1ETTIT3O5jw31swFn qJhHf7wTRaXG69ojRCBrTSM8S4ZahHtmj9PCWJYWQvonzKJOSuyjZURxPB0u0A1oWC +8Egox96Lj2zg9WGS1eO81hQbpsz6YI3vip1xzQvkzXPRPa520Kyvm8ItlX6L2i0GF L/sn40N0k9UrQ== To: JD Smith , bug-gnu-emacs@gnu.org Subject: Re: 29.3; comint--intersect-regions fontifies some output using input function In-Reply-To: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> References: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> Date: Sat, 22 Jun 2024 00:30:17 +0200 Message-ID: <87cyoaq686.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=209.250.245.214; envelope-from=miha@kamnitnik.top; helo=mail.kamnitnik.top X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: JD Smith writes: > --- /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/jka-comrWKsIJ 2024-06-21 13:08:59 > +++ /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/buffer-content-Q8dmID 2024-06-21 13:08:59 > @@ -4122,7 + [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=miha%40kamnitnik.top; ip=209.51.188.17; r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: JD Smith writes: > --- /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/jka-comrWKsIJ 2024-06-21 13:08:59 > +++ /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/buffer-content-Q8dmID 2024-06-21 13:08:59 > @@ -4122,7 + [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=miha%40kamnitnik.top;ip=209.51.188.17;r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain JD Smith writes: > --- /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/jka-comrWKsIJ 2024-06-21 13:08:59 > +++ /var/folders/by/19mt78cj63v5_tslqh826g7w0000gn/T/buffer-content-Q8dmID 2024-06-21 13:08:59 > @@ -4122,7 +4122,7 @@ > (let ((beg2 beg1) > (end2 end1)) > (when (= beg2 beg) > - (setq beg2 (field-beginning beg2))) > + (setq beg2 (field-beginning (1+ beg2)))) > (when (= end2 end) > (setq end2 (field-end end2))) > ;; Narrow to the whole field surrounding the region Thanks. Could you please check if this is related and possibly fixed in bug#59626 commit 949bc1c72d7. Best. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmZ1/vkTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP/13EACzb1WBV76w2WHfr8I96Sad+PAQuj13 UbF243HZCYE+UMNsW+t546nGlvm5hurJFOKUMbnW+BNGL8Gcs26u0Q5HHqaEhY4g RWF6BlVK0/y+7r0TytkMmXDTjAvCKNSg8ySaRUXD9RJZKUvoCxz2+3j/DpKjmx1m xwasHLAsQH1CjCu/+3jTIXqA/maG77bYogDY8ksjHzubJpdD1bDnvlkL4HLxQgHy glh0NtEYOEO+nF6G6VJtOavfhpfbpY19Ku4VgmQnsTDvcOb/6UvaPyq/SE0fxpuG 6nccx88jbzgJq8hnP5YhqEyJS9/EdQ9Creb/MEAReVjMhPGmRbrNaLwSM4m1G9A9 KAGZLjJjqb+rFKWN6HbVEc+UiyaIkvfBYiAXheY9aBRo3dQMh5inBTpMoTOX/fUa 4cv6xtej91GNwSkR6XOi8ZoNIPRl4eNPytPA/R94RI1am7zVIbZ8Fc6vRJjm8t2R ULRbsRsu4C5SppdFdM/it8/Rde69cGg72whMd4G9DEkFnf2zsKhR/vLZqDpCnW6o PtNn6hmqMD49fUXwUWawsGmRXZLZIk7/tcU9RtI30wspwmIrlvvL2tvwQxLav/uT NJGUbNcWGU+ZOcv2eDLUaccMSnw663Xr2lJ42gIvW8W4ba791JlV8Y5XQWHkqa5q a65Gitm0iXeIHg== =qrR2 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 21 20:28:52 2024 Received: (at submit) by debbugs.gnu.org; 22 Jun 2024 00:28:52 +0000 Received: from localhost ([127.0.0.1]:44054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKoce-0001hx-2e for submit@debbugs.gnu.org; Fri, 21 Jun 2024 20:28:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:33956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKocb-0001hp-NT for submit@debbugs.gnu.org; Fri, 21 Jun 2024 20:28:50 -0400 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 1sKocc-0008Cp-0U for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 20:28:50 -0400 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKoca-0001y1-Hf for bug-gnu-emacs@gnu.org; Fri, 21 Jun 2024 20:28:49 -0400 Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-37621e7468eso8734225ab.0 for ; Fri, 21 Jun 2024 17:28:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719016126; x=1719620926; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=elKGYjv+kHUg4YQMalLVtBLtRUMr8GZI7CvH8fhYc5Q=; b=m8RBF9zHD9hVg48Q/hMilPRAcH5mxBqfnPjGMjEjYwQFyIy/ih/dOSWKg04/xzI2oP tyiuNO7S/Et/gdrNFpr8vLoikTOAsscXmjq94fScKSfaqnhKtOGQ+lCzTLw4B96DV+Zl AheUSMAdV9P+8RFuhJ1QP/cQOBF0ARz7UjPn3/bjcs0gq0PpCVlQi7Q8Lu5YsFN98J0f v8eYWOCkhJaRLR+7TkcfF8QrQSmwgBtE/1uQlcIEzgRKx/FkLRvcOn/aDimRdK8KVFP8 ind5bngyOWVZ++gwoD44gmwkeQGChYCXFAjKENJuSesp52oVqR4mxBMJc3icq7UP8UGo h9tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719016126; x=1719620926; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=elKGYjv+kHUg4YQMalLVtBLtRUMr8GZI7CvH8fhYc5Q=; b=fzYl18TLvYMsAYbdgb26p84DZsEH40wNAi4cTDmYKeHY4ueEv+QDaAUZWZNgdi9tYF +Lghq1mKio4V2CLc8dF8FhNHXJFbr32vIuZq0x/1Zgy7G/4vhAclTqncuGK2Yapv13oV dqFnvu1Hg7JzS7WLU7iY7UchSeF91qQwpRzhrxx2s/Q1QW62gEqADwO48FIF3qmP6d5O aCHxBsWpiMoZkrtTdRXuc2ldVfUUG974oC+MN2TUom2LhTsd0nL2crsjXqcmIusxlUcj DDQsi0YSVLx7MvD8VF/X/p5lPzbZuzusuc83iv6Hb/VjVjuRQzHeMZJSw7PuNZ9R+vRE /JbQ== X-Gm-Message-State: AOJu0YxKr6OxnpMC8UzjaxP8St3Dd2sqeziIIq8g7VC5Z1RLORH0R1La P0ezZauH4evglLMDeWubn4/0ilHNtB+mAsW5F9h1Xexym4UNkeaIeoRRJQ== X-Google-Smtp-Source: AGHT+IHBE7xxZ1wTxHuGLWfdJ6F1fmaJEt9Rgt0tVWnndmyWKtdDgCVXLhsslWy2zu7rQHiKkAFVTQ== X-Received: by 2002:a05:6e02:1447:b0:376:21d8:3b87 with SMTP id e9e14a558f8ab-37639edc79fmr151835ab.9.1719016126468; Fri, 21 Jun 2024 17:28:46 -0700 (PDT) Received: from smtpclient.apple (cm-24-53-187-34.buckeyecom.net. [24.53.187.34]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d10cfb26sm632263173.30.2024.06.21.17.28.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2024 17:28:45 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: 29.3; comint--intersect-regions fontifies some output using input function From: JD Smith In-Reply-To: <87cyoaq686.fsf@miha-pc> Date: Fri, 21 Jun 2024 20:28:34 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> <87cyoaq686.fsf@miha-pc> To: miha@kamnitnik.top X-Mailer: Apple Mail (2.3774.600.62) Received-SPF: pass client-ip=2607:f8b0:4864:20::12a; envelope-from=jdtsmith@gmail.com; helo=mail-il1-x12a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Thanks, I took a look. commit 949bc1c72d7 I believe solves the same = problem, and also fixes my issue. In fact I think the solutions are = equivalent, since the end test will never need to trigger, because for = field-end the left associativity works in our favor. But yours is more = explicit. =20 Feel free to close. > On Jun 21, 2024, at 6:30=E2=80=AFPM, = wrote: >=20 > JD Smith writes: >=20 > Thanks. Could you please check if this is related and possibly fixed = in > bug#59626 commit 949bc1c72d7. >=20 > Best. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 03:28:36 2024 Received: (at 71698-done) by debbugs.gnu.org; 23 Jun 2024 07:28:36 +0000 Received: from localhost ([127.0.0.1]:48183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLHeO-0004wN-1r for submit@debbugs.gnu.org; Sun, 23 Jun 2024 03:28:36 -0400 Received: from mail.kamnitnik.top ([209.250.245.214]:40086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLHeM-0004wD-48 for 71698-done@debbugs.gnu.org; Sun, 23 Jun 2024 03:28:35 -0400 From: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1719127712; bh=EaZo4XmH84sZz6ii5Wbcx8KwheNinVZrcc7jICl+z88=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Ysg/ry7jSrnGSqo1wbbYhfzT9pvq9KymxMQtouhxE50PJ1desqlEXrOFjJN5W98N6 mhS2oCPGOls8tVWc7VhGwQW5HqgdBlaXY8yjcukzgyiLOqzta/Q62JJw35m1lCDssT a7NanIwSCMgLZr8YMA5J5of8gEN43futXRkdr2j2aIHj+3eUV/CsPJn0zpjdoxxsET kvlwMoSL+ZUbXASw8tUFpSSGfANcemjkRElWP4D/7AbFduM4IERD6Pq6kUsfwOl+wC tnrW14EX8cRIDWcbP2DW1Nv3hFUnA1cA8CYrphd/lHl3Y+h/N/zhgC8RG7wukJXmY7 ry0OiX9gBSGfA== To: JD Smith Subject: Re: 29.3; comint--intersect-regions fontifies some output using input function In-Reply-To: References: <277CDEDD-3D35-4ACC-A94A-D733AF1B6A10@gmail.com> <87cyoaq686.fsf@miha-pc> Date: Sun, 23 Jun 2024 09:28:30 +0200 Message-ID: <878qywqfs1.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: JD Smith writes: > Thanks, I took a look. commit 949bc1c72d7 I believe solves the same problem, and also fixes my issue. In fact I think the solutions are equivalent, since the end test will never need to trigger, bec [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 71698-done Cc: 71698-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: JD Smith writes: > Thanks, I took a look. commit 949bc1c72d7 I believe solves the same problem, and also fixes my issue. In fact I think the solutions are equivalent, since the end test will never need to trigger, bec [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable JD Smith writes: > Thanks, I took a look. commit 949bc1c72d7 I believe solves the same prob= lem, and also fixes my issue. In fact I think the solutions are equivalent= , since the end test will never need to trigger, because for field-end the = left associativity works in our favor. But yours is more explicit.=20=20 > > Feel free to close. Thanks. I'm therefore closing this bug report. On an unrelated note, my reply to your personal e-mail Subject: comint-fontify-input-mode Date: Wed, 22 May 2024 14:50:00 -0400 might have ended up in your spam folder, so I kindly ask you to check it if you are interested. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmZ3zp8THG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZPy3HD/90YCX5JDqrDJHlw9jXla8XJJzxiMp8 vjZyDWFsPYixGi2H2Mlgy19POlOdi64n3GFm/jtk5K/k50zwQb1/SkpBRrRzjlwg eESthTJIYnOnrsmqqvOm6CUDPdOCzcq+ROT+EzI4NiKsjvRRaVht23rIcylO7Viz 9++SSczVKUXMZEB1wjtALTLA1+ZLBTI2JUyaQwW6i7syIQISse6xuz5l+hF180mi Dd8N2oOB9h3EK2zsdm58Se3r63JfFXAgHNgvzB5GCOgOdALd54YNwzEZW1yqpBmL hctDC3hDa9Ypr9xyit8H7FFaBtcNOYz0Dys8ZPPIWrcEwMB89BrxCqi5vUuALYwS 6GVDV2pgAtIXQvB+inHcRbRt0Tsl1Rcp1G6QLwLq/+T4F4aGYnOcafIxXoJCwe4f QMBPAXIFIiyQxnNuRylu62QdWQrDjZXCB4AgfVUvCr07u3jEGZz16bSMiM8doZPu LFhuoomB4VsJhcG6oNq4yFbo0S1O3YtXWA3bfKwtvoZBpwT0eo8YE3M44FOP5lf5 3TWKoZUgdBvtTJew4DJaZbZ/9QHtCUKEvU/EQ1onWCd7pnikaKA4GKN7Bneiw74H 5aIw9JPcN918OStKdg6m4kD658dTcipTzlql2wisBbgUaqm2cVja705nt+flv3r8 y7ZYTeH2pUlkPg== =WiHZ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Sep 07 03:05:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 21 Jul 2024 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator