From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oleg Sivokon Newsgroups: gmane.emacs.bugs Subject: bug#24959: 26.0.50; cancel-timer: void-variable timer Date: Thu, 17 Nov 2016 19:55:16 +0200 Message-ID: References: <874m36sahw.fsf@localhost.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1479406229 15851 195.159.176.226 (17 Nov 2016 18:10:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Nov 2016 18:10:29 +0000 (UTC) Cc: 24959@debbugs.gnu.org To: Lars Ingebrigtsen , eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 17 19:10:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7R8d-0002ay-A9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Nov 2016 19:10:19 +0100 Original-Received: from localhost ([::1]:60782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7R8g-0002gl-Hr for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Nov 2016 13:10:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7Qur-0007wO-J2 for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2016 12:56:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7Quo-00061v-5M for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2016 12:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7Quo-00061r-20 for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2016 12:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c7Qun-0008UC-Mw for bug-gnu-emacs@gnu.org; Thu, 17 Nov 2016 12:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Oleg Sivokon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Nov 2016 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24959-submit@debbugs.gnu.org id=B24959.147940532932571 (code B ref 24959); Thu, 17 Nov 2016 17:56:01 +0000 Original-Received: (at 24959) by debbugs.gnu.org; 17 Nov 2016 17:55:29 +0000 Original-Received: from localhost ([127.0.0.1]:60902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7QuE-0008TC-8R for submit@debbugs.gnu.org; Thu, 17 Nov 2016 12:55:29 -0500 Original-Received: from mail-qt0-f198.google.com ([209.85.216.198]:38967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7QuA-0008Sw-BW for 24959@debbugs.gnu.org; Thu, 17 Nov 2016 12:55:25 -0500 Original-Received: by mail-qt0-f198.google.com with SMTP id x26so85542520qtb.6 for <24959@debbugs.gnu.org>; Thu, 17 Nov 2016 09:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elastifile-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=sv+oTenKTS3Njonq0NuPOY1UdfXUirp8N084StMD6aI=; b=QfTlzAvua5ihOtRwfFCuoTzJ0XAbEi4EyOzGf2x0tYuQUw6UH4Cqj43Yv+amSuDaMS GcmmuMqUysYUEhLNTg+ILhZtvcAij8kDbmOFgW+fD9rX7jtCR6aOgzkQWJx8lvY3g+Ns YBdpbvrn2DpXkoLqnbhbQ6YqwoO49iT9HoiS9TKixsVtaTAseAmrRlInulSK2sF6sQyP 3KzYPkDxg0oxrssOh2YjZrP2Mn9xFGuU7tYTJkyOkzXv531hLBx661XXkKBTepdsnGXQ QLfecypGNZmy9/yy0QRqw7AdYfRblIRwsZVwTZwxHIjdAq4ghLtKejTA2164o8b6L+c3 ZNhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=sv+oTenKTS3Njonq0NuPOY1UdfXUirp8N084StMD6aI=; b=iFUiaKSF+ptmHUGci/J9ePgX1TlXy8YW8rgCMPQamHr/dS5hA7d4/ESBq1KrMuBbBn GvWEgvrBQ0UXwki3sfEvGtYQEsN3WT2A0h0P+I2V4aPnnlVttq3k0Xay3cNBpdz/N3Ws f8nxr1Op6NjF0UO/IZCONnY0+vc+NhluFmA31wD6rpAMTnBaQwvbH0ACMtmSV3Qf8lk8 ayIMIU4o+g+4lzv7jwJW9MV2plm66QIIF+NerWjZm6XYTUwXld0DwYZeULDxcqfYEkCp z/QqtyXWAl8unQVHb3Ex8hpTuTJHUdhOU3azXLfm1KYEKrdtdgvfIpYMm2XfjvP92F4K Dg8g== X-Gm-Message-State: AKaTC00SjZ3a9y/ZPLugcaVwFRRYPa1aH5zhUx4LN78rCtDJ+ZeTgNummV/lpbyrp2cKKyStTVE2O2GaNKg30ABR X-Received: by 10.233.220.71 with SMTP id q68mr4827026qkf.153.1479405316687; Thu, 17 Nov 2016 09:55:16 -0800 (PST) Original-Received: by 10.237.33.34 with HTTP; Thu, 17 Nov 2016 09:55:16 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125796 Archived-At: Eli, Lars, I know what the timer handler is. I'm not sure how to interpret the backtrace then: did it or did it not enter the cancel-timer function? I thought it did, and this is why I filed this ticket. More background (this applies if the backtrace says that cancel-timer was not entered): The code in the handler relies on the code that sets up the timer to create a special variable "timer". This variable is created by calling setq (but no defvar). setq used to make variable special, if it wasn't already let-bound. Now it seems like this behavior has changed. Does this make sense? On Thu, Nov 17, 2016 at 7:11 PM, Lars Ingebrigtsen wrote: > Oleg Sivokon writes: > >> Debugger entered--Lisp error: (void-variable timer) >> (cancel-timer timer) >> (condition-case err (if (let* ((--cl-var-- buffs) (buf nil) (--cl-flag= -- t) --cl-var--) (while (and (consp --cl-var--) (progn (setq buf (car --cl= -var--)) (setq --cl-flag-- (not ...)))) (setq --cl-var-- (cdr --cl-var--)))= --cl-var--) nil (let* ((--cl-var-- buffs) (buf nil) (container nil) (conte= nts nil)) (while (consp --cl-var--) (setq buf (car --cl-var--)) (setq conta= iner (save-current-buffer (set-buffer buf) container)) (setq contents (save= -current-buffer (set-buffer buf) (buffer-substring (point-min) (point-max))= )) (kill-buffer buf) (save-current-buffer (set-buffer output) (insert (form= at "\n\n=3D=3D=3D=3D=3D %s =3D=3D=3D=3D=3D\n\n" container)) (insert content= s)) (setq --cl-var-- (cdr --cl-var--))) nil) (cancel-timer timer)) (error (= let* ((--cl-var-- buffs) (buf nil)) (while (consp --cl-var--) (setq buf > > I've grepped around the Emacs sources a bit, and I'm unable to find a > string like "=3D=3D=3D=3D=3D %s =3D=3D=3D=3D=3D" or "setq container" anyw= here in Emacs. > > Could this be from a local package you've installed? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no