From unknown Sun Aug 17 04:15:21 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#32743 <32743@debbugs.gnu.org> To: bug#32743 <32743@debbugs.gnu.org> Subject: Status: 27.0.50; down-list RFC Reply-To: bug#32743 <32743@debbugs.gnu.org> Date: Sun, 17 Aug 2025 11:15:21 +0000 retitle 32743 27.0.50; down-list RFC reassign 32743 emacs submitter 32743 Andreas R=C3=B6hler severity 32743 wishlist tag 32743 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 03:18:03 2018 Received: (at submit) by debbugs.gnu.org; 16 Sep 2018 07:18:03 +0000 Received: from localhost ([127.0.0.1]:41903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1RJi-0006Cv-V2 for submit@debbugs.gnu.org; Sun, 16 Sep 2018 03:18:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1RJh-0006CS-6k for submit@debbugs.gnu.org; Sun, 16 Sep 2018 03:18:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1RJb-0008AU-G5 for submit@debbugs.gnu.org; Sun, 16 Sep 2018 03:17:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1RJb-0008AE-Bs for submit@debbugs.gnu.org; Sun, 16 Sep 2018 03:17:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1RJa-0004HI-Fv for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2018 03:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1RJX-00086j-CU for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2018 03:17:54 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:43081) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1RJX-00081R-1P for bug-gnu-emacs@gnu.org; Sun, 16 Sep 2018 03:17:51 -0400 Received: from [192.168.178.35] ([188.106.77.19]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M0Y5m-1fgCt10bwk-00urQL for ; Sun, 16 Sep 2018 09:12:45 +0200 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: 27.0.50; down-list RFC Message-ID: <6204f1b3-8978-f5b6-ae04-21b2eeddb8af@easy-emacs.de> Date: Sun, 16 Sep 2018 09:17:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:jcMrGMfgQS8E4KX7auTaSBcKZ5xN1cQbyqZjkd4UwrBKyPf4DZh JeRmSd5E97C5nw6ZQLb38jIIRD8DoaMRVKiwf0dUp9Ahu3BlT3pIblul1Hj7uA3LH33uceC 99laQpeS/976r3ZLD4duQGpK6pdFQVAoMS1Sny+EaJU6M21y84gHETN/qJRPDV90YuGwMHv 3+/cp7k5nTahpcKpHDZhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:oaXYT0689Ps=:uAv9D31dy0PidEa/fQynPT mIN1EFG64N1Tljg4AkCCaUbwUAW46xzKDgwRUny0jTlYeNRBbR775orfRDv901kamLSasUV/7 0sJ+V5ydHUIhcT9W+juRyJ4akV4dXr4IEV953v/Wp2lbSx7MQUPcuFzrEEXiv2T+h1ywpwSzv UHTePmPmfjHWeUxM/jgLVU3QqohBZPnCUf+9OLkPLqHEurivZK7b+lCiL2kvrTQLNd3MBT9uo QGxxhAyF6GrgQ0l+FDyeZP4e2uzeR01u8kZIxudbaz8JBE9RbX248LDLquxiHwvJOLuUIXT+r 10Pcl7FwV9t4FNaG+UZyjjBQZoDyGShTqU4PYIgkjh0NNWc9zmw9v05UvqT7b9I89XcriITVP dXasY+oHhUN5aaT6AWpMst6APJFDX6m9pyPqSUIt5N+sMT+jJpt92XwfbAKUAEng0irvmseye BO9bQIbNUN7rHwXZjpZK6Vx5AcA3LhD48l5s/oTYiQzLxI9ckrSHT9bCyLpwazZe3AwAwv+fP wmCEwPhFA6sZQbocWTCG7PKSahd34SJ3TpC0vk3Dconat5yCfKfcNWII5JKvZkD3lCoz7jZ0P qeV8b9c3nRr0LFDAFqPh8wYBuyfyM5BsoLVrb2sVTPMIOVteFmk4p211nomtiz7dEyREg5xof Uts2m7J3w7fyrn8Vn8yGONjI9A+UroCgfvsYCQvNTR1rfpCj0GmljJ+p7e03yCKcVxOCwQUlw 8KA8R04wiNSMFc8S X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -6.0 (------) Hi all, ‘down-list’ currently returns nil if successful but Scan error: "Containing expression ends prematurely" if no further list exist downwards. Suggest to return position reached if successful and nil if no further list exist. BTW with current or-clause, second expression will be never be executed due to error thrown as mentioned: (goto-char (or (scan-lists (point) inc -1) (buffer-end arg))) Also reaching buffer-end doesn't make sense IMO in this case, point should not change then while returning nil. Thanks, Andreas gladly running GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2018-09-15 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 22:18:08 2019 Received: (at 32743) by debbugs.gnu.org; 13 Jul 2019 02:18:08 +0000 Received: from localhost ([127.0.0.1]:41055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7c0-0004rM-HF for submit@debbugs.gnu.org; Fri, 12 Jul 2019 22:18:08 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7by-0004rE-Oe for 32743@debbugs.gnu.org; Fri, 12 Jul 2019 22:18:07 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hm7bv-0004VE-5J; Sat, 13 Jul 2019 04:18:05 +0200 From: Lars Ingebrigtsen To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#32743: 27.0.50; down-list RFC References: <6204f1b3-8978-f5b6-ae04-21b2eeddb8af@easy-emacs.de> Date: Sat, 13 Jul 2019 04:18:02 +0200 In-Reply-To: <6204f1b3-8978-f5b6-ae04-21b2eeddb8af@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Sun, 16 Sep 2018 09:17:08 +0200") Message-ID: <87d0ie1xut.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Andreas Röhler writes: > ‘down-list’ currently returns nil if successful but Scan error: > "Containing expression ends prematurely" if no further list exist downwards. > > Suggest to return position reached if successfu [...] 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: 0.0 (/) X-Debbugs-Envelope-To: 32743 Cc: 32743@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: -1.0 (-) Andreas R=C3=B6hler writes: > =E2=80=98down-list=E2=80=99 currently returns nil if successful but Scan = error: > "Containing expression ends prematurely" if no further list exist downwar= ds. > > Suggest to return position reached if successful and nil if no further > list exist. Hm... I'm not sure that makes sense -- this is down-list: (let ((inc (if (> arg 0) 1 -1))) (while (/=3D arg 0) (goto-char (or (scan-lists (point) inc -1) (buffer-end arg))) (setq arg (- arg inc))))) It very much looks like a command just meant for interactive use, and if you want to do something programmatically in this area, you should probably just use scan-lists directly. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 22:18:18 2019 Received: (at control) by debbugs.gnu.org; 13 Jul 2019 02:18:18 +0000 Received: from localhost ([127.0.0.1]:41058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7c9-0004rl-Qa for submit@debbugs.gnu.org; Fri, 12 Jul 2019 22:18:18 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm7c4-0004rZ-JH for control@debbugs.gnu.org; Fri, 12 Jul 2019 22:18:12 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hm7c2-0004VL-1K for control@debbugs.gnu.org; Sat, 13 Jul 2019 04:18:12 +0200 Date: Sat, 13 Jul 2019 04:18:09 +0200 Message-Id: <87blxy1xum.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #32743 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: tags 32743 wontfix close 32743 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: 0.0 (/) 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: -1.0 (-) tags 32743 wontfix close 32743 quit From unknown Sun Aug 17 04:15:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Aug 2019 11:24:07 +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