all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vivek Dasmohapatra <vivek@etla.org>
To: 12577@debbugs.gnu.org
Subject: bug#12577: 24.1; regression in with-timeout in emacs24
Date: Thu, 04 Oct 2012 18:14:43 +0100	[thread overview]
Message-ID: <82lifmnoqk.fsf@octopus.pepperfish.net> (raw)

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''






             reply	other threads:[~2012-10-04 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-04 17:14 Vivek Dasmohapatra [this message]
2012-10-04 18:29 ` bug#12577: 24.1; regression in with-timeout in emacs24 Glenn Morris
2012-10-10  6:35   ` Glenn Morris
     [not found] ` <handler.12577.D12577.13498509461383.notifdone@debbugs.gnu.org>
2012-10-10 11:24   ` bug#12577: closed (Re: bug#12577: 24.1; regression in with-timeout in emacs24) Vivek Dasmohapatra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82lifmnoqk.fsf@octopus.pepperfish.net \
    --to=vivek@etla.org \
    --cc=12577@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.