From unknown Sun Sep 14 03:43:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12577: 24.1; regression in with-timeout in emacs24 Resent-From: Vivek Dasmohapatra Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2012 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12577@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134937096518224 (code B ref -1); Thu, 04 Oct 2012 17:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Oct 2012 17:16:05 +0000 Received: from localhost ([127.0.0.1]:54364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJp1o-0004jt-T3 for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:16:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58249) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJp1m-0004jO-Jt for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJp1T-0001Q8-NR for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:15:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1T-0001Q4-KM for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1N-00011w-TP for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJp1M-0001Ky-JT for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:37 -0400 Received: from flounder.pepperfish.net ([89.238.129.35]:55997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1M-0001D2-Dd for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:36 -0400 Received: from localhost ([127.0.0.1] helo=octopus.pepperfish.net) by flounder.pepperfish.net with esmtps (Exim 4.71 #1 (Debian)) id 1TJp0d-0004sz-G2 for ; Thu, 04 Oct 2012 18:14:51 +0100 From: Vivek Dasmohapatra Date: Thu, 04 Oct 2012 18:14:43 +0100 Message-ID: <82lifmnoqk.fsf@octopus.pepperfish.net> 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.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) The behaviour of with-timeout appears to have changed radically: (with-timeout (5 "BLERG") (ignore "things") (message "HELLO")) In emacs23: The message form is executed and the return value is that of the=20 message invocation ("HELLO"). In emacs24: All forms after the first form in the BODY are ignored. They=20 are not executed at all (not just a case of prog1 vs progn behaviour). The return value is that of the first form in the body (ie the only one that gets executed). This is at odds with the documentation, which does not indicate that any such change has occurred. In addition, I am told that the interpretation of the=20 (SECONDS TIMEOUT-FORMS)=20 part of the forms arguments has changed:=20 It now appears to be interpreted as: (sec1 time1 ) (sec2 time2) =E2=80=A6=20 Instead. I have confirmed the first difference in behaviour with several people in #emacs on freenode, so it does not appear to be specific to my=20 site. ---------------------------------------------------------------------------- In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-08-23 on noise, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11203000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' From unknown Sun Sep 14 03:43:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12577: 24.1; regression in with-timeout in emacs24 Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2012 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vivek Dasmohapatra Cc: 12577@debbugs.gnu.org Received: via spool by 12577-submit@debbugs.gnu.org id=B12577.134937537027955 (code B ref 12577); Thu, 04 Oct 2012 18:30:02 +0000 Received: (at 12577) by debbugs.gnu.org; 4 Oct 2012 18:29:30 +0000 Received: from localhost ([127.0.0.1]:54468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJqAr-0007Gp-5g for submit@debbugs.gnu.org; Thu, 04 Oct 2012 14:29:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49791 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJqAo-0007Gh-8f for 12577@debbugs.gnu.org; Thu, 04 Oct 2012 14:29:27 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TJqAg-0003rM-42; Thu, 04 Oct 2012 14:29:18 -0400 From: Glenn Morris References: <82lifmnoqk.fsf@octopus.pepperfish.net> X-Spook: Albanian Bellcore BCCI e-cash ammunition eavesdropping X-Ran: 2b[x[poy{{r}UJU6braBpbawhBR]3f{Ou~1tTa6sO[U)APl}D;?Ui*q~4CsR (Vivek Dasmohapatra's message of "Thu, 04 Oct 2012 18:14:43 +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-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Vivek Dasmohapatra wrote: > All forms after the first form in the BODY are ignored. Thanks, fixed in emacs-24 branch. > In addition, I am told that the interpretation of the=20 > > (SECONDS TIMEOUT-FORMS)=20 > > part of the forms arguments has changed:=20 > It now appears to be interpreted as: > > (sec1 time1 ) (sec2 time2) =E2=80=A6=20 I don't see it. Can you give an example? From unknown Sun Sep 14 03:43:07 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vivek Dasmohapatra Subject: bug#12577: closed (Re: bug#12577: 24.1; regression in with-timeout in emacs24) Message-ID: References: <4csj9mu960.fsf@fencepost.gnu.org> <82lifmnoqk.fsf@octopus.pepperfish.net> X-Gnu-PR-Message: they-closed 12577 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 12577@debbugs.gnu.org Date: Wed, 10 Oct 2012 06:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1349850962-1409-1" This is a multi-part message in MIME format... ------------=_1349850962-1409-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12577: 24.1; regression in with-timeout in emacs24 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12577@debbugs.gnu.org. --=20 12577: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12577 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1349850962-1409-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12577-done) by debbugs.gnu.org; 10 Oct 2012 06:35:46 +0000 Received: from localhost ([127.0.0.1]:36726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLptR-0000MG-Vu for submit@debbugs.gnu.org; Wed, 10 Oct 2012 02:35:46 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:57218 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLptO-0000M7-8s for 12577-done@debbugs.gnu.org; Wed, 10 Oct 2012 02:35:45 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TLpsm-0000Lm-8j; Wed, 10 Oct 2012 02:35:04 -0400 From: Glenn Morris To: 12577-done@debbugs.gnu.org Subject: Re: bug#12577: 24.1; regression in with-timeout in emacs24 References: <82lifmnoqk.fsf@octopus.pepperfish.net> X-Spook: doctrine Echelon HAMASMOIS UFO AMEMB Israel president X-Ran: .7Kx&P[\zc#@4w`=;G9WtOWb|ug');xW,y?cZdAem>rQDeEQ;v}nnk{N.A2|_r~Wos*H8) X-Hue: black X-Attribution: GM Date: Wed, 10 Oct 2012 02:35:03 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 04 Oct 2012 14:29:17 -0400") Message-ID: <4csj9mu960.fsf@fencepost.gnu.org> 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-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 12577-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Version: 24.3 >> (SECONDS TIMEOUT-FORMS)=20 >> >> part of the forms arguments has changed:=20 >> It now appears to be interpreted as: >> >> (sec1 time1 ) (sec2 time2) =E2=80=A6=20 > > I don't see it. Can you give an example? Closing because I fixed the main issue and there has been no further explanation of what this other issue might be. ------------=_1349850962-1409-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Oct 2012 17:16:05 +0000 Received: from localhost ([127.0.0.1]:54364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJp1o-0004jt-T3 for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:16:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58249) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJp1m-0004jO-Jt for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJp1T-0001Q8-NR for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:15:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:45283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1T-0001Q4-KM for submit@debbugs.gnu.org; Thu, 04 Oct 2012 13:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1N-00011w-TP for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJp1M-0001Ky-JT for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:37 -0400 Received: from flounder.pepperfish.net ([89.238.129.35]:55997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJp1M-0001D2-Dd for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 13:15:36 -0400 Received: from localhost ([127.0.0.1] helo=octopus.pepperfish.net) by flounder.pepperfish.net with esmtps (Exim 4.71 #1 (Debian)) id 1TJp0d-0004sz-G2 for ; Thu, 04 Oct 2012 18:14:51 +0100 From: Vivek Dasmohapatra To: bug-gnu-emacs@gnu.org Subject: 24.1; regression in with-timeout in emacs24 Date: Thu, 04 Oct 2012 18:14:43 +0100 Message-ID: <82lifmnoqk.fsf@octopus.pepperfish.net> 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.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) The behaviour of with-timeout appears to have changed radically: (with-timeout (5 "BLERG") (ignore "things") (message "HELLO")) In emacs23: The message form is executed and the return value is that of the=20 message invocation ("HELLO"). In emacs24: All forms after the first form in the BODY are ignored. They=20 are not executed at all (not just a case of prog1 vs progn behaviour). The return value is that of the first form in the body (ie the only one that gets executed). This is at odds with the documentation, which does not indicate that any such change has occurred. In addition, I am told that the interpretation of the=20 (SECONDS TIMEOUT-FORMS)=20 part of the forms arguments has changed:=20 It now appears to be interpreted as: (sec1 time1 ) (sec2 time2) =E2=80=A6=20 Instead. I have confirmed the first difference in behaviour with several people in #emacs on freenode, so it does not appear to be specific to my=20 site. ---------------------------------------------------------------------------- In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-08-23 on noise, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11203000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/2= 4.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-l= isp:/usr/share/emacs/site-lisp' '--with-crt-dir=3D/usr/lib/x86_64-linux-gnu' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars' 'build_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-g -O2 -fstack-protector --param=3Dssp-buffer-size=3D4 -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2'' ------------=_1349850962-1409-1-- From unknown Sun Sep 14 03:43:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12577: closed (Re: bug#12577: 24.1; regression in with-timeout in emacs24) Resent-From: Vivek Dasmohapatra Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2012 11:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: 12577@debbugs.gnu.org Received: via spool by 12577-submit@debbugs.gnu.org id=B12577.134986836928674 (code B ref 12577); Wed, 10 Oct 2012 11:27:01 +0000 Received: (at 12577) by debbugs.gnu.org; 10 Oct 2012 11:26:09 +0000 Received: from localhost ([127.0.0.1]:36971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLuQS-0007SR-TT for submit@debbugs.gnu.org; Wed, 10 Oct 2012 07:26:09 -0400 Received: from flounder.pepperfish.net ([89.238.129.35]:37499) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLuQR-0007SJ-4M for 12577@debbugs.gnu.org; Wed, 10 Oct 2012 07:26:07 -0400 Received: from localhost ([127.0.0.1]) by flounder.pepperfish.net with esmtps (Exim 4.71 #1 (Debian)) id 1TLuPD-0000Pz-QU for <12577@debbugs.gnu.org>; Wed, 10 Oct 2012 12:24:51 +0100 Date: Wed, 10 Oct 2012 12:24:48 +0100 (BST) From: Vivek Dasmohapatra X-X-Sender: vivek@octopus.pepperfish.net In-Reply-To: Message-ID: References: <4csj9mu960.fsf@fencepost.gnu.org> <82lifmnoqk.fsf@octopus.pepperfish.net> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) I didn't spot the second behaviour - I did ask the person who spotted it to elaborate: I'll ask them to report a separate bug if they can still reproduce it.