From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 02:17:21 2018 Received: (at submit) by debbugs.gnu.org; 6 Mar 2018 07:17:21 +0000 Received: from localhost ([127.0.0.1]:46754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et6qf-0004Z1-88 for submit@debbugs.gnu.org; Tue, 06 Mar 2018 02:17:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et6qd-0004Yp-Jt for submit@debbugs.gnu.org; Tue, 06 Mar 2018 02:17:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1et6qX-0007yM-FW for submit@debbugs.gnu.org; Tue, 06 Mar 2018 02:17:14 -0500 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]:37283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1et6qX-0007yG-BH for submit@debbugs.gnu.org; Tue, 06 Mar 2018 02:17:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1et6qW-000636-6Z for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2018 02:17:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1et6qQ-0007x8-8k for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2018 02:17:12 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:50287) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1et6qP-0007v7-U0 for bug-gnu-emacs@gnu.org; Tue, 06 Mar 2018 02:17:06 -0500 Received: from [192.168.178.35] ([188.100.68.149]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MabPt-1f8iww0Dw9-00K7L0 for ; Tue, 06 Mar 2018 08:17:03 +0100 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: [26.0.91 9] optimistic forward-sexp Message-ID: Date: Tue, 6 Mar 2018 08:16:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:1fRJuRXYi2gOVWSdfa5vltJq0cwgM66d+6eF2UEgjPnXvK4G+Ha arW21Si6QgU7StMDnMcTytHRynfThrVFKyZP0R6dU76H6Q+8p3U6/DmI/5Gb7R+NJXlU4yf IKOWVvwN+8SxmcDDJQZvgJetGCYfgHRGc1LAM/G+yD4ghVCiwAPYHaaU71lDw21ibY7u87j QnBhm3m7/qoLW5FAn9rHw== X-UI-Out-Filterresults: notjunk:1;V01:K0:tcppfO9DhxQ=:5wwV9apegUZDqPcxlxtW4Y GGBkIfwb8Ch3ymmIehlWbFOwXkuyFIr2SQdnpY6eOkg+R4DQh+ySmr8VVABPk1GbVO9m1ZKhE TXwePDkjPkbAkF92MqwKc8LDya5h/EwWREI9bfKD4Caf5PsxXX4rLPzUUXlByBf76E0/rRJg3 m1VSR1C0NSKK1SUKLbFJ/PIhBGznYGHG5yzBgqeAT/GspYmSFM1wwZvKAfAC4toeSb6CLavrV Tw2H1QGKfMzLdVYfWe5n09aTkN+uC4HRBLK1NZp6OIqaWB6N4kI/oF3jL5mdPx+BN5jOucVrx zQT+xHVFN/fCpmw5yoOcfP4Mc1F/8/BXvJJ2XQu7vXcHuyXKrZOTDVcEugUnrq2DUnG6dEdpw DbWwU4yoVmeGuTEl8mcaNpdQbjELECfoCuo4/Yx5YuLSWqkdLL4ZsXEJ/3ZWk/DsAG0N6nu6Y 7n869U4LjOhhB/3SbEzA4q/UGaNNryFz9FCN9q6UYPMCom/tRdtS9m0qUYjS/fJd476nohgVO v+mTPGpVRR/7AGJHhL5ltDYMGE4qd1fATIGB+jPw87XdfW9tkzWy8IggpeqEMJ+lCg42hqfgc xOQE8n2k+4CECadbxSqj8pOZsik2sUnkD40KawQInkVHNATFvulIVy9KrM1UIBBSa7kBKh5Z4 sMTxKeD8q+FJhuahRoJUgY1Bf3WOOKbVl+ZUjeqRRjGlMllqAsFoIcjRPsJ/EFS+6iCGWQIFP +tMLG4I6ZtS6Dq2pmb1qsUfYblUXU0GsBeZ/A8XG6AKr32cgcwtxeqiZ9tU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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: -5.0 (-----) In GNU Emacs 26.0.91 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2018-01-27 From https://emacs.stackexchange.com/questions/39253/sh-mode-scan-error-containing-expression-ends-prematurely Error occurs when forward-sexp is called from closing paren at last line of example code below (echo '#!/bin/bash' echo 'myfunc() {' echo "cat <<'z'" seq 135 echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz echo z echo '}') >out Bug-source is in but-last line of the def in lisp.el, where (goto-char (or (scan-sexps (point) arg) (buffer-end arg))) scan-sexps sends the error. Wrapping in into (ignore-errors... (or (ignore-errors (scan-sexps (point) arg)) makes it gone. Cheers, Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 02:47:56 2018 Received: (at 30726) by debbugs.gnu.org; 6 Mar 2018 07:47:56 +0000 Received: from localhost ([127.0.0.1]:46778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et7KG-0005K4-D2 for submit@debbugs.gnu.org; Tue, 06 Mar 2018 02:47:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1et7KF-0005Js-D3 for 30726@debbugs.gnu.org; Tue, 06 Mar 2018 02:47:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1et7K9-0005K8-Ae for 30726@debbugs.gnu.org; Tue, 06 Mar 2018 02:47:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1et7K6-0005Ir-Fj; Tue, 06 Mar 2018 02:47:46 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1et7K4-00017Z-H7; Tue, 06 Mar 2018 02:47:44 -0500 From: Glenn Morris To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp References: X-Spook: Subway Botnet Downing Street Agriculture Fort Hancock X-Ran: [$=beUx|<40tI~]5>`tDOBC6?zjKRD9iMy/nKgIqX/_|Fy7.&kI(+-MT303-I=k64G?R2D X-Hue: green X-Attribution: GM Date: Tue, 06 Mar 2018 02:47:44 -0500 In-Reply-To: ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Tue, 6 Mar 2018 08:16:47 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30726 Cc: 30726@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: -5.0 (-----) Andreas R=C3=B6hler wrote: > https://emacs.stackexchange.com/questions/39253/sh-mode-scan-error-contai= ning-expression-ends-prematurely Already reported as bug#30721. (It would be great if people forwarding other people's stackexchange issues would do basic checks first.) > Error occurs when forward-sexp is called from closing paren at last > line of example code below > > (echo '#!/bin/bash' > echo 'myfunc() {' > echo "cat <<'z'" > seq 135 > echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz > echo z > echo '}') >out Note that the OP meant you to run that as shell code to generate a file, "out", and then visit it. You appear to have discovered that using forward-sexp inside eg ( ) will print "containing expression ends prematurely" ? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 05:43:36 2018 Received: (at 30726) by debbugs.gnu.org; 6 Mar 2018 10:43:36 +0000 Received: from localhost ([127.0.0.1]:46869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etA4G-0000vL-8p for submit@debbugs.gnu.org; Tue, 06 Mar 2018 05:43:36 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:60161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etA4E-0000v7-FH for 30726@debbugs.gnu.org; Tue, 06 Mar 2018 05:43:35 -0500 Received: from [192.168.178.35] ([188.100.68.149]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MCdZW-1f1NXh46oE-009Lha; Tue, 06 Mar 2018 11:43:28 +0100 Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp To: Glenn Morris References: From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <69cfd5b3-46fc-e203-81c0-8ae3cb040555@easy-emacs.de> Date: Tue, 6 Mar 2018 11:43:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:ypJPkrZYI2MdPNqH8aQZovlND/Nw75RO8p3apwXBxPGrI92sLa2 hgjP6sIVOWeuBY+nQbeVapsZVIKhngEGOlx2xPco7mmg9/S5kHuYtYp+A1sMeTmjzIJvasR Ju3YmJ1IjKgz+Uwu6i1mr/t3A6MjWi6s3+/XL7OQ+8A7yHGzOtnoZ/oDROGM089AxLQtcT0 F8BS5qdd0XJRCOLCYbIwg== X-UI-Out-Filterresults: notjunk:1;V01:K0:3ApE/TUhLvA=:FxBDGRs/gAPFBfaozxIiDh tEJJDnpc+BYDpnmoroEojL7xDgzPuhCdNFkwDFxXVE6uzEr/0PWuOvXz8cWcCo0lXPFWO0FqD lUiyIrFUJ1zQc7KEQVjRbYrKnKxLACyVadNPZJLaxzOCY7/sHflyD+INF7NqX8haYY+0csIld RZOt+MlF100xS2b6xyg3zSdaNZlIh29GnzvQciBaVnpHhe5ARuTsx2vMm+nXGEA6OX/isF+A8 ghtVnK8BT+fLDOtxIjeVPn84Bdzieb0/JNC7MmnRwNqZ91lp9mqwgx/xEf530y9UujTJ+VzLW bNrD1QYqjugR45TyBA44+RBQ36zkSuHVYyntsgyw6fZKKcQjwNSqPpsdp0IqRR+DswkJjyOs8 aIbh+CEZauGVOj5dzBCjaZ466/53N8TnHbxNInwMCowa6GwuSuLQW1BU9iXpqWC8rG4LSWGgb HG6QsrKMLHIvI/FnqwQ0jiyQ/I5NL27i4IVCVb+yGhD6WTSnfLHJb6EYb/O0ifG/3N9jzNZgV +/9C3OJ2LibnUvlTMlSBerBpWAKX2fdpUAy1sPVo8dPVOzzLJnYv4EkF09bEpp5x8PedF6x/0 ERPkho/YtUsfCrRgdWSvAbFti6dcCqUiXQGdxmiRaBAIcoWikZIHLXb+WvOkj1OrSopTuM6Vr 7o+rcc62dZzMvTGmc9Li+M8FuMwXKF6nwP40/AYw+fkXTReEcStW/9JPSc8l6J1MJWjF95bIM lqOZVEOfMfUq/dr/IRdLk5rbQOsMtrDZkkIJSGx5EZsPjcEK4brR5VkriF0= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30726 Cc: 30726@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: 0.0 (/) On 06.03.2018 08:47, Glenn Morris wrote: > Andreas Röhler wrote: > >> https://emacs.stackexchange.com/questions/39253/sh-mode-scan-error-containing-expression-ends-prematurely > > Already reported as bug#30721. > (It would be great if people forwarding other people's stackexchange > issues would do basic checks first.) > >> Error occurs when forward-sexp is called from closing paren at last >> line of example code below >> >> (echo '#!/bin/bash' >> echo 'myfunc() {' >> echo "cat <<'z'" >> seq 135 >> echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz >> echo z >> echo '}') >out > > Note that the OP meant you to run that as shell code to generate a file, > "out", and then visit it. > > You appear to have discovered that using forward-sexp inside eg > > ( > > ) > > will print "containing expression ends prematurely" ? > Right. Which it shouldn't IMO, but navigate sexp's until EOB is reached. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 05:48:07 2018 Received: (at 30726) by debbugs.gnu.org; 6 Mar 2018 10:48:07 +0000 Received: from localhost ([127.0.0.1]:46873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etA8c-00012D-QV for submit@debbugs.gnu.org; Tue, 06 Mar 2018 05:48:07 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:46425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etA8b-00011j-BX for 30726@debbugs.gnu.org; Tue, 06 Mar 2018 05:48:06 -0500 Received: from [192.168.178.35] ([188.100.68.149]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M1MLN-1eZiL816qX-00tWO5; Tue, 06 Mar 2018 11:47:59 +0100 Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp To: Glenn Morris References: From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <2598ad60-bb29-d693-638c-b830cec903ad@easy-emacs.de> Date: Tue, 6 Mar 2018 11:47:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:v6GNCDWLnn7EkRUlGyYqrh1itkYLmXRIBl7bMqHAMVHgiWbpvlD iVuNuVT9+ruau1fVvPa5uG6jwih9ClKYk+acdHOCt1j6FsS0r6zbP+fPBx9ASZr2FV8urE/ CIisMXfbUx8pBM/FpIdLjGJ9Syp+nRSTw62oQ3zqgWs68dFnV7sSCwWITW5+jnV5RfF+b1O wuSR1eXsjHI6QBWVNspNQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:An2KVXvPPww=:ozUayMXDOlh1GWFiMABdOV w+2rNMQFzkduV0sKynt0Eg0A7xzIKGPZzT2YHkBSSWWbdEWYkW9ReyWD8nb8SN/56b8SykojO ImbVwNoir+YwdWP3M99Zw7hJeoSJ8hS7Tyw31y5U7oV3/urA4g8odcfCcF8+okWl80TG8jYPV y4LFIO5sR5SWX+m2ZJ15oRVCpeqBeKG0VDEGt+eeSZveb8XfbCX1uavWCndl4UYiC4vqRAD1N owC0mN53AFTiZ0wP34HGhxCFSh9d9dc6nwb5nw1YyK+MgPC+vHwnROR5opM/5sTzo0AKuhn9B zfYU37NRTW8wANJzk9f1/6pTxSK6NMSLuQS2TnTCuUC5uDuHysk2tp1YrtgH7h4To8voH8EmD 2jpxNUXmwf1vG/9pg+0jMGMxs3IvN1ZF7n2tUiUm5moZei7nsVUte0UKkrdyVxqXS5tk+X/eG GD58rFMMmALuedAlcw9xbwYB4ANq1QoDrlBfWsFUERwNeu3Howzc+MbXfjsNjSjksMEXZg/ff DTRPiWuMZzhFbAdw4gGnu/9wbIVthuM0cIj5r76emGLy2xXoFypW00uH2nLIARHPuZhW8rzvy nZJLoLHw68iwe6DOV5HggklCIPcXmk/zV1g0O5WOo4mGDpt19XACjaIEfnXG3xbp53kXxlcw3 6eIuDhBMtw5ia6jkLlFMd9y0sb59IP+8M0ko89Aa/Zsxgw02CZ5DppOryRG56cNHELuU18jf2 Zr2hnY/q/H/LYDTneEPledurzYQFUl1+57Sr12ss4gBvNXp4WVINLFiOMAM= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30726 Cc: 30726@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: 0.0 (/) On 06.03.2018 08:47, Glenn Morris wrote: > Andreas Röhler wrote: > >> https://emacs.stackexchange.com/questions/39253/sh-mode-scan-error-containing-expression-ends-prematurely > > Already reported as bug#30721. > (It would be great if people forwarding other people's stackexchange > issues would do basic checks first.) > >> Error occurs when forward-sexp is called from closing paren at last >> line of example code below >> >> (echo '#!/bin/bash' >> echo 'myfunc() {' >> echo "cat <<'z'" >> seq 135 >> echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz >> echo z >> echo '}') >out > > Note that the OP meant you to run that as shell code to generate a file, > "out", and then visit it. > > You appear to have discovered that using forward-sexp inside eg > > ( > > ) > > will print "containing expression ends prematurely" ? > When calling the way the OP intended get the error as below from inside the singlequoted, which also is an old issue: To avoid these wrote ar-forward-sexp which see here: https://github.com/andreas-roehler/thingatpt-utils-core/blob/master/ar-subr.el ;;;;; Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 515 515) signal(scan-error ("Containing expression ends prematurely" 515 515)) smie-forward-sexp-command(1) forward-sexp(1) funcall-interactively(forward-sexp 1) call-interactively(forward-sexp nil nil) command-execute(forward-sexp) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 10:20:41 2021 Received: (at 30726) by debbugs.gnu.org; 12 Aug 2021 14:20:41 +0000 Received: from localhost ([127.0.0.1]:39573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEBZV-0005KH-F4 for submit@debbugs.gnu.org; Thu, 12 Aug 2021 10:20:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEBZP-0005Jr-Dp for 30726@debbugs.gnu.org; Thu, 12 Aug 2021 10:20:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=ad5bnHkFetP3EQppZAqt2GbQt++vFmNjdRkAe/OsC7c=; b=JJuuym/ot4iBzT/R+d3EFD2x9T 1sAZO93qVhHD69nLpKJde0oMc7UZxOMWTGeM/JMi8Plnw7bTavJMz7VuZd1YDS1OSuVkjub6M2GVK 1xjy52ZElT5dk9kEGpq/C7efPTcsscqvBep2xP1PLYu0uzaqeKFFLVDmP0RXtlWEXOJQ=; 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 1mEBZE-0006jt-QQ; Thu, 12 Aug 2021 16:20:25 +0200 From: Lars Ingebrigtsen To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp References: <69cfd5b3-46fc-e203-81c0-8ae3cb040555@easy-emacs.de> Date: Thu, 12 Aug 2021 16:20:16 +0200 In-Reply-To: <69cfd5b3-46fc-e203-81c0-8ae3cb040555@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Tue, 6 Mar 2018 11:43:11 +0100") Message-ID: <87eeaykan3.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; 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: >> Note that the OP meant you to run that as shell code to generate a >> file, >> "out", and then visit it. >> You appear to have discovered that using forward-sexp inside eg >> ( >> ) >> will print " [...] 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: 30726 Cc: Glenn Morris , 30726@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: -3.3 (---) Andreas R=C3=B6hler writes: >> Note that the OP meant you to run that as shell code to generate a >> file, >> "out", and then visit it. >> You appear to have discovered that using forward-sexp inside eg >> ( >> ) >> will print "containing expression ends prematurely" ? >>=20 > > Right. Which it shouldn't IMO, but navigate sexp's until EOB is reached. It has to -- we rely on it signalling an error for various commands to work. In these cases, the user may want to go up in the list and then do a forward-sexp, though. But I don't think there's any bug here, so I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 12 10:20:45 2021 Received: (at control) by debbugs.gnu.org; 12 Aug 2021 14:20:45 +0000 Received: from localhost ([127.0.0.1]:39575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEBZZ-0005KU-SJ for submit@debbugs.gnu.org; Thu, 12 Aug 2021 10:20:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:41396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEBZT-0005Jy-GZ for control@debbugs.gnu.org; Thu, 12 Aug 2021 10:20:39 -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=YaKzi5phiJTN/p6r18/IuLlunRyYm6O3NnnT3cEpkUk=; b=GdMr6+EsWjAR1tH2QIfMlH8Gns KWuHAZZ+OMeCwNsBfWJAziqgQsG2BfvvStjNazl1tVlDFz7ssD0Xwf/gZ+jLba6uCarrE/pNRgSA2 +hrilv8RX4V46PF/jOeOrLd4ctDJjKy1GovQR4u7KiH867G2JeojJYSUDMy4wOlE+wYU=; 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 1mEBZL-0006k4-Oq for control@debbugs.gnu.org; Thu, 12 Aug 2021 16:20:29 +0200 Date: Thu, 12 Aug 2021 16:20:27 +0200 Message-Id: <87czqikams.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30726 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 30726 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 30726 quit From unknown Sun Jun 22 03:57:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Sep 2021 11:24:06 +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