From unknown Tue Aug 19 21:04:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31948@debbugs.gnu.org Cc: Stefan Monnier X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier Received: via spool by submit@debbugs.gnu.org id=B.152976017012416 (code B ref -1); Sat, 23 Jun 2018 13:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jun 2018 13:22:50 +0000 Received: from localhost ([127.0.0.1]:60916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWiV8-0003EC-Ae for submit@debbugs.gnu.org; Sat, 23 Jun 2018 09:22:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWiV7-0003Dz-6v for submit@debbugs.gnu.org; Sat, 23 Jun 2018 09:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWiV1-00046N-Gc for submit@debbugs.gnu.org; Sat, 23 Jun 2018 09:22:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42119) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fWiV1-000463-ER for submit@debbugs.gnu.org; Sat, 23 Jun 2018 09:22:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWiV0-00048u-GQ for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 09:22:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWiUx-00044T-EQ for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 09:22:42 -0400 Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]:43270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWiUx-00044A-7b for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2018 09:22:39 -0400 Received: by mail-pg0-x22e.google.com with SMTP id a14-v6so4141012pgw.10 for ; Sat, 23 Jun 2018 06:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Q/DxvT3Eiv8z055/lsffa6OxQq25HSs5/LwSmXmMwGs=; b=WdzpvbOJ9qv31l8RoubbfFszdbjbX8AgkNmymvyYMt3WWEq8RJ+0ARRa4lScDpE4a9 5/OVMOH+m7MqjCbOMvvO/BU/6uOhwxPhmAxhNZnyqfF3PUW3a2cfjRFWdl4RwV053gPj 0Dc+7pdnQWeFFLQTTICwtPxjuShMlzpGqjIEYcF/yCFI2ToYWsx89u0bAKRuujc5jVpp 520URlNqL1orW2jjjKv5mzrzc6B0pvur8AojuZStj4nUXEScmd7LN+QhL03pppReLnOH Us8uTOAB1WqK0X+ePz5509bEuGjAM/OncW0TwZzJrV3jvYlMZdnc3ap5PYrKsflVr27b Wv5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Q/DxvT3Eiv8z055/lsffa6OxQq25HSs5/LwSmXmMwGs=; b=GuWQcWIp1510iI/e3oZdFs6XGFulbmbgIsdFJqclc3zY3SeEQ0xNmRTLkwYc2mMIIm guHhX/dBZzknuXkiFdzw8q/dCJN2DPJpv5VqkjU1vmZ3erXQJ5DUVjMdAfGun4x8zgq0 6f/akilatdkosbMgg3hxqTDlBg24LKn/ZUKn0m8+mGff3WbPaAkVuQzq4IlTKqoSzbGW Q0vYVsGh0ruw2aEjw++STxzCVlsfJqMBMOs8PM8lJdp+7aX95jkagZkXK+/K8CpEVml4 I5cRi1DmsNBEPjiZpsaxuwLtWHXTzCYG35yyL/KoNhyK6noQwZyhii4gHy/xT+ES1dXc sRbQ== X-Gm-Message-State: APt69E2KwBpnusHxP2AWNBfYHpRpsDvN+sz1XP2f65mYcf4FyVRmhvzA Y9yoR+aXDWRDJVoc2aKGe6T9tA== X-Google-Smtp-Source: ADUXVKKGZ6cX7dG4Csud+Y2JICSiNybihOR5BmoIWERYORfsMDKsdQDdpRimQZY+rClCiIrnGeAvzA== X-Received: by 2002:a62:e097:: with SMTP id d23-v6mr5890339pfm.81.1529760157699; Sat, 23 Jun 2018 06:22:37 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([110.54.223.149]) by smtp.gmail.com with ESMTPSA id v13-v6sm23976300pfa.131.2018.06.23.06.22.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Jun 2018 06:22:36 -0700 (PDT) From: Leo Liu Date: Sat, 23 Jun 2018 21:22:32 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -5.0 (-----) smie-indent-forward-token appears unpredictable because sometimes it errs with (scan-error "Unbalanced parentheses" 32 33) sometimes not. I dug a bit deeper and found the following behaviour that might be questionable. For example, in a ruby-mode buffer with the following content, place point inside the first "", and M-: (smie-indent-forward-token). Point moves to the subsequent "" no matter how far away the second "" is. -------- buffer content -------- "", beg do end abc, abc, abc, "" -------------------------------- Is this a bug? Leo From unknown Tue Aug 19 21:04:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2018 18:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Leo Liu Cc: 31948@debbugs.gnu.org Received: via spool by 31948-submit@debbugs.gnu.org id=B31948.152977773814386 (code B ref 31948); Sat, 23 Jun 2018 18:16:02 +0000 Received: (at 31948) by debbugs.gnu.org; 23 Jun 2018 18:15:38 +0000 Received: from localhost ([127.0.0.1]:33432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWn4U-0003jx-1d for submit@debbugs.gnu.org; Sat, 23 Jun 2018 14:15:38 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:50303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWn4R-0003jp-Qw for 31948@debbugs.gnu.org; Sat, 23 Jun 2018 14:15:36 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w5NIG6mm010223; Sat, 23 Jun 2018 14:16:06 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5DC0865122; Sat, 23 Jun 2018 14:15:33 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Sat, 23 Jun 2018 14:15:33 -0400 In-Reply-To: (Leo Liu's message of "Sat, 23 Jun 2018 21:22:32 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6314=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6314> : inlines <6714> : streams <1790539> : uri <2662970> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > For example, in a ruby-mode buffer with the following content, place > point inside the first "", and M-: (smie-indent-forward-token). Point > moves to the subsequent "" no matter how far away the second "" is. > > -------- buffer content -------- > "", > beg do > end > abc, > abc, > abc, > "" > -------------------------------- > > Is this a bug? It doesn't look like a bug, in the sense that smie-indent-forward-token should be able to assume it's called from a position outside of a string/comment. IOW I'd tend to put the blame on the code that calls this function. Stefan From unknown Tue Aug 19 21:04:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jun 2018 08:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31948@debbugs.gnu.org Received: via spool by 31948-submit@debbugs.gnu.org id=B31948.152982861610361 (code B ref 31948); Sun, 24 Jun 2018 08:24:01 +0000 Received: (at 31948) by debbugs.gnu.org; 24 Jun 2018 08:23:36 +0000 Received: from localhost ([127.0.0.1]:33628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX0J6-0002h3-EP for submit@debbugs.gnu.org; Sun, 24 Jun 2018 04:23:36 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX0J4-0002gq-B4 for 31948@debbugs.gnu.org; Sun, 24 Jun 2018 04:23:34 -0400 Received: by mail-pf0-f178.google.com with SMTP id z24-v6so5068040pfe.7 for <31948@debbugs.gnu.org>; Sun, 24 Jun 2018 01:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version; bh=nAdPpd7b6Sqnonqs1dMeJHW3G4L5FBdGKjG7zRBdlJQ=; b=g/w8pLMjIhA2uvnPNh8swlvZ5JdJIp3oZO536isT6/Ifig0c07cdGbVrrmse0yL9vC uGkYoMgBYtX6A+JpXdkqLiJy09yIbhnO+RaGCPcShqfOagEhW8N1TQrOiorFCm7GYSuC e93CbRKLjLxid22y6RP8eCkhcxQjyGX+I2CX7JPyXHaY03V+7HrkKlfB7U67nYtJpZV6 CDBKLK5Era3vBekX51Yw+SXPAbaHLQpO+SSm18hsvmqxHcXAxSi+J/G5m/3rtyP/T/Zo cIUJSLiCsJFCLSkdSxLCvWTOk09SrHWG99cHZasVlp6GcGDcwiSQLGxz3vA7BHq9i93v 2gZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:face:date :in-reply-to:message-id:user-agent:mime-version; bh=nAdPpd7b6Sqnonqs1dMeJHW3G4L5FBdGKjG7zRBdlJQ=; b=c69v+4XCsJ994gB0imd1VpeP0FoGGRXM41+uYEYS+UQ45B9X5IOHZnORKiHRf6zYmn PWmfB7C768TIwJ3BJXbmoCxNtauweC62JscB4PBe5P5zIDqSiGuR8zXxcS4I8G3AKuD8 DJugOP/7h6v05TfvIJJMWm7HaB1zWhJGHuysNP/6uPr3x/Y5ghVHSUJR1sUEeJLKZqtX yOioP8szQowlaU+9dtEAFIKRLTgJjYFdUPn1IQB7b8SHEF181Qp3GASU9F7H1QrPc/xg irQ0r3ggMiLCy4gemwhLeOhB5KFFXbpmsCXASWQFEec+ltI8ylKv473CDc1ILZ4y9Oqy 2knA== X-Gm-Message-State: APt69E0YS95Nz+4pYGL9T4o1eGLCmVhkitWvf75mi1QySlaOW8bH+HYq hO1MSzZRYL/3tZUuOGVBi2VtoA== X-Google-Smtp-Source: ADUXVKJ4SgU7WO+OL+b/EK6EGAnuv9GqwBNV/RylNXWbkqHhfGxn0ZhKwaKiiPoqD53jo19wTpU+oQ== X-Received: by 2002:a63:a00a:: with SMTP id r10-v6mr6907895pge.222.1529828608285; Sun, 24 Jun 2018 01:23:28 -0700 (PDT) Received: from Zeuss-MacBook-Air.local ([110.54.223.149]) by smtp.gmail.com with ESMTPSA id h12-v6sm17413851pfi.114.2018.06.24.01.23.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Jun 2018 01:23:27 -0700 (PDT) From: Leo Liu References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Date: Sun, 24 Jun 2018 16:23:23 +0800 In-Reply-To: (Stefan Monnier's message of "Sat, 23 Jun 2018 14:15:33 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (macOS 10.12.6) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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.0 (-) On 2018-06-23 14:15 -0400, Stefan Monnier wrote: > It doesn't look like a bug, in the sense that smie-indent-forward-token > should be able to assume it's called from a position outside of > a string/comment. > > IOW I'd tend to put the blame on the code that calls this function. I remember reading something along these lines but cannot find it. Is this documented somewhere? If not should it be documented? Leo From unknown Tue Aug 19 21:04:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jun 2018 13:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Leo Liu Cc: 31948@debbugs.gnu.org Received: via spool by 31948-submit@debbugs.gnu.org id=B31948.152984758522276 (code B ref 31948); Sun, 24 Jun 2018 13:40:01 +0000 Received: (at 31948) by debbugs.gnu.org; 24 Jun 2018 13:39:45 +0000 Received: from localhost ([127.0.0.1]:33733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX5F3-0005nD-4U for submit@debbugs.gnu.org; Sun, 24 Jun 2018 09:39:45 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:41515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX5F0-0005n5-MN for 31948@debbugs.gnu.org; Sun, 24 Jun 2018 09:39:43 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w5ODeDgK012630; Sun, 24 Jun 2018 09:40:14 -0400 Received: by ceviche.home (Postfix, from userid 20848) id AD574660EB; Sun, 24 Jun 2018 09:39:40 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Sun, 24 Jun 2018 09:39:40 -0400 In-Reply-To: (Leo Liu's message of "Sun, 24 Jun 2018 16:23:23 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6314=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6314> : inlines <6714> : streams <1790616> : uri <2663343> X-Spam-Score: -2.3 (--) 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: -3.3 (---) >> It doesn't look like a bug, in the sense that smie-indent-forward-token >> should be able to assume it's called from a position outside of >> a string/comment. >> IOW I'd tend to put the blame on the code that calls this function. > I remember reading something along these lines but cannot find it. I don't think it's clearly documented. > If not should it be documented? You could try and clarify that the starting point is expected to be *between* tokens (tho that could also be interpreted to include being in the middle of a comment). Stefan From unknown Tue Aug 19 21:04:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31948: 26.1; smie-indent-forward-token forward-sexp in strings Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Aug 2021 13:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 31948@debbugs.gnu.org, Leo Liu Received: via spool by 31948-submit@debbugs.gnu.org id=B31948.162877562522404 (code B ref 31948); Thu, 12 Aug 2021 13:41:01 +0000 Received: (at 31948) by debbugs.gnu.org; 12 Aug 2021 13:40:25 +0000 Received: from localhost ([127.0.0.1]:37845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAwa-0005pI-Mw for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:40:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAwY-0005p1-Ay for 31948@debbugs.gnu.org; Thu, 12 Aug 2021 09:40:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cYtu1h6Yda033P2DSr2YEamwnM3rGpFSyCWfh6VEcys=; b=Pyp6oIJKpYYsArsGNp5fNbqunF +0RsUw4Hvp55IY+h2XIUj3t/R5w0UUvSka6koOcx/xWrRjg2ucU4juOSG9h7E+NBdfzBcIKb/c/Sr LIjse/lpwnu9V5siFJp0JlHhspJlwU1QcjerB53fF0Vk4IB8En2YgsMXu9bf4BKfP3a0=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAwM-0006Nh-G9; Thu, 12 Aug 2021 15:40:14 +0200 From: Lars Ingebrigtsen References: Date: Thu, 12 Aug 2021 15:40:07 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 24 Jun 2018 09:39:40 -0400") Message-ID: <871r6ylr2g.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> If not should it be documented? > > You could try and clarify that the starting point is expected to be > *between* tokens (tho that could also be interpreted to include being > in the middle of a [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Stefan Monnier writes: >> If not should it be documented? > > You could try and clarify that the starting point is expected to be > *between* tokens (tho that could also be interpreted to include being > in the middle of a comment). I've now basically copied that sentence to the doc string in Emacs 28, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 09:40:28 2021 Received: (at control) by debbugs.gnu.org; 12 Aug 2021 13:40:28 +0000 Received: from localhost ([127.0.0.1]:37848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAwd-0005pX-Tx for submit@debbugs.gnu.org; Thu, 12 Aug 2021 09:40:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEAwc-0005p7-3F for control@debbugs.gnu.org; Thu, 12 Aug 2021 09:40:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zqrEoh/BMfPHn/yOQxKxmew+siYgY/o/F0QdgCZD+6Y=; b=f4cCYX1ZaKSNENOSdlR25oARF9 6W0kbzXCmoQvfzVHNy/hZN7qwXVE//sIAkEIfrxz/ZZo6r0DayQUqV3mnmiCLfrlce09OJhCT0h7S ZRWwm1Wg1JrpQQ3tCOM+twrgJIWjWIQPOhVc3yb766HW60ZUwZOvd0eZE682fNufu35U=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEAwU-0006Nv-C4 for control@debbugs.gnu.org; Thu, 12 Aug 2021 15:40:20 +0200 Date: Thu, 12 Aug 2021 15:40:17 +0200 Message-Id: <87zgtmkchq.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #31948 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: close 31948 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) close 31948 28.1 quit