GNU bug report logs -
#12577
24.1; regression in with-timeout in emacs24
Previous Next
Reported by: Vivek Dasmohapatra <vivek <at> etla.org>
Date: Thu, 4 Oct 2012 17:17:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.1
Fixed in version 24.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12577 in the body.
You can then email your comments to 12577 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12577
; Package
emacs
.
(Thu, 04 Oct 2012 17:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Vivek Dasmohapatra <vivek <at> etla.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 04 Oct 2012 17:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
message invocation ("HELLO").
In emacs24:
All forms after the first form in the BODY are ignored. They
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
(SECONDS TIMEOUT-FORMS)
part of the forms arguments has changed:
It now appears to be interpreted as:
(sec1 time1 ) (sec2 time2) …
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
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=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-lisp:/usr/share/emacs/site-lisp'
'--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
'--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12577
; Package
emacs
.
(Thu, 04 Oct 2012 18:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 12577 <at> debbugs.gnu.org (full text, mbox):
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
>
> (SECONDS TIMEOUT-FORMS)
>
> part of the forms arguments has changed:
> It now appears to be interpreted as:
>
> (sec1 time1 ) (sec2 time2) …
I don't see it. Can you give an example?
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Wed, 10 Oct 2012 06:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Vivek Dasmohapatra <vivek <at> etla.org>
:
bug acknowledged by developer.
(Wed, 10 Oct 2012 06:36:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 12577-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.3
>> (SECONDS TIMEOUT-FORMS)
>>
>> part of the forms arguments has changed:
>> It now appears to be interpreted as:
>>
>> (sec1 time1 ) (sec2 time2) …
>
> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12577
; Package
emacs
.
(Wed, 10 Oct 2012 11:27:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 12577 <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 07 Nov 2012 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.