Your message dated Wed, 28 Jul 2010 16:17:17 +0000
with message-id <[email protected]>
and subject line Bug#584598: fixed in emacs-goodies-el 34.1
has caused the Debian Bug report #584598,
regarding emacs-goodies-el: tail.el restart timer on new output
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
584598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584598
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs-goodies-el
Version: 33.5
Severity: wishlist
Tags: patch
File: /usr/share/emacs/site-lisp/emacs-goodies-el/tail.el

I saw the todo entry in tail.el for restarting the hide timer when new
output is received.  This seems important since otherwise if there's
steady new output then the old timers left running make the window flick
between open and closed in an unattractive way.  I struck that tailing
compiler output going to a file.

I get some joy from the couple of lines below, holding the timer object
in a per-buffer variable.

It might be possible to restart/reset a timer object to a new target
time, but there doesn't seem to be a good function for that, only some
semi-documented combination of cancel-timer + timer-set-time
+ timer-activate, hence for now just a fresh run-at-time.

diff -u tail.el.orig tail.el
--- tail.el.orig	2010-06-03 12:02:35.000000000 +1000
+++ tail.el	2010-06-05 08:43:42.000000000 +1000
@@ -84,6 +84,9 @@
 
 ;; Functions
 
+(defvar tail-timer nil)
+(make-variable-buffer-local 'tail-timer)
+
 ;; Taken from calendar/appt.el
 (defun tail-disp-window (tail-buffer tail-msg)
   "Display some content specified by TAIL-MSG inside buffer TAIL-BUFFER.
@@ -132,11 +135,15 @@
     (select-window this-window)
     (if tail-audible
 	(beep 1))
-    (if tail-hide-delay
-	(run-with-timer tail-hide-delay nil 'tail-hide-window tail-buffer))))
+    (when tail-hide-delay
+      (if tail-timer
+          (cancel-timer tail-timer))
+      (setq tail-timer (run-with-timer tail-hide-delay nil
+                                       'tail-hide-window tail-buffer)))))
 
 (defun tail-hide-window (buffer)
-  ;; TODO: cancel timer when some output comes during that time
+  (with-current-buffer buffer
+    (kill-local-variable 'tail-timer)) ;; the now expired timer object
   (let ((window (get-buffer-window buffer t)))
     (and window
 	 (or (eq window (frame-root-window (window-frame window)))


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs-goodies-el depends on:
ii  bash                      4.0-7          The GNU Bourne Again SHell
ii  dpkg                      1.15.7.2       Debian package management system
ii  emacs21 [emacsen]         21.4a+1-5.7    The GNU Emacs editor
ii  emacs22-gtk [emacsen]     22.3+1-1.2     The GNU Emacs editor (with GTK use
ii  emacs23 [emacsen]         23.2+1-2       The GNU Emacs editor (with GTK+ us
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  xemacs21-mule [emacsen]   21.4.22-2      highly customizable text editor --

Versions of packages emacs-goodies-el recommends:
ii  dict                       1.11.2+dfsg-2 dictionary client
ii  perl-doc                   5.10.1-2      Perl documentation
ii  wget                       1.12-2        retrieves files from the web

emacs-goodies-el suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: emacs-goodies-el
Source-Version: 34.1

We believe that the bug you reported is fixed in the latest version of
emacs-goodies-el, which is due to be installed in the Debian FTP archive:

debian-el_34.1_all.deb
  to main/e/emacs-goodies-el/debian-el_34.1_all.deb
devscripts-el_34.1_all.deb
  to main/e/emacs-goodies-el/devscripts-el_34.1_all.deb
dpkg-dev-el_34.1_all.deb
  to main/e/emacs-goodies-el/dpkg-dev-el_34.1_all.deb
emacs-goodies-el_34.1.dsc
  to main/e/emacs-goodies-el/emacs-goodies-el_34.1.dsc
emacs-goodies-el_34.1.tar.gz
  to main/e/emacs-goodies-el/emacs-goodies-el_34.1.tar.gz
emacs-goodies-el_34.1_all.deb
  to main/e/emacs-goodies-el/emacs-goodies-el_34.1_all.deb
gnus-bonus-el_34.1_all.deb
  to main/e/emacs-goodies-el/gnus-bonus-el_34.1_all.deb
vm-bonus-el_34.1_all.deb
  to main/e/emacs-goodies-el/vm-bonus-el_34.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter S Galbraith <[email protected]> (supplier of updated emacs-goodies-el 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 28 Jul 2010 11:50:25 -0400
Source: emacs-goodies-el
Binary: emacs-goodies-el gnus-bonus-el devscripts-el debian-el dpkg-dev-el 
vm-bonus-el
Architecture: source all
Version: 34.1
Distribution: unstable
Urgency: low
Maintainer: Peter S Galbraith <[email protected]>
Changed-By: Peter S Galbraith <[email protected]>
Description: 
 debian-el  - Emacs helpers specific to Debian users
 devscripts-el - Emacs wrappers for the commands in devscripts
 dpkg-dev-el - Emacs helpers specific to Debian development
 emacs-goodies-el - Miscellaneous add-ons for Emacs
 gnus-bonus-el - Miscellaneous add-ons for Gnus
 vm-bonus-el - vm-bogofilter add-on for VM
Closes: 584598 587321 587921 587922 587924 589434 589785
Changes: 
 emacs-goodies-el (34.1) unstable; urgency=low
 .
   * debian/control:
     - Standards-Version: 3.9.0
   * gnus-bonus-el:
     - No longer depend on recent version of Emacs or gnus.
       Bug fix: "please allow emacs-snapshot as an alternative emacs",
       thanks to RISKO Gergely (Closes: #587321).
   * emacs-goodies-el:
     - perldoc.el: Complete for Perl core documentation.
       Thanks to Florian Ragwitz <[email protected]> for the bug report.
       (Closes: #589785)
     - pod-mode.el: New upstream release available 1.03. Thanks to
       Florian Ragwitz for the bug report (Closes: #589434).
     - tail.el: "tail.el restart timer on new output", thanks to Kevin Ryde
       (Closes: #584598).
   * dpkg-dev-el:
     - debian-copyright.el: Fix and simplify auto-mode-alist", thanks to
       Kevin Ryde (Closes: #587922).
     - debian-changelog.el: Simplify auto-mode-alist, thanks to Kevin Ryde
       (Closes: #587924)
     - dpkg-dev-el.el: Fix modify-coding-system-alist entry for utf-8,
       thanks to Kevin Ryde (Closes: #587921)
Checksums-Sha1: 
 5af4cc64d0901948f39adf299542e9bc790d0a4b 1650 emacs-goodies-el_34.1.dsc
 32396d451f8c35e9d12a942eddfca67e48c04a01 1045918 emacs-goodies-el_34.1.tar.gz
 21576cbfe8b8398429744834e6b5b238dfe8f68f 827884 emacs-goodies-el_34.1_all.deb
 d9579c8473b83bdcead203e63d98cce4024bf0df 81688 gnus-bonus-el_34.1_all.deb
 03b8f8315be01d0fe44308274daae670d4a041fc 41120 devscripts-el_34.1_all.deb
 b89b36c62c18e21b5a766575a43d9eeb50c0a60c 102908 debian-el_34.1_all.deb
 09f49ffd7760ddf215d88784262e41bab992010a 74550 dpkg-dev-el_34.1_all.deb
 92f586ba1a93f43706dc7b0faccb025a290cd433 43248 vm-bonus-el_34.1_all.deb
Checksums-Sha256: 
 2ecdbac7a237ad8f894c9d2140ccf06fd2ffc4258c26c54721d82322daec83f9 1650 
emacs-goodies-el_34.1.dsc
 4d76e7ab780b49db417db883c01a27d89b3cf780c448167a1853708b7ab3004a 1045918 
emacs-goodies-el_34.1.tar.gz
 753454e4d8d41fdff17f92b96817b69aff48adf02e3c049cd13929bdf871e75e 827884 
emacs-goodies-el_34.1_all.deb
 dc8c3e38475c82e7ba66caa5fefcf4ba3f494cbf6f640055c47ef135fa9a36eb 81688 
gnus-bonus-el_34.1_all.deb
 8f8737f91cd8fbe03c5bdb5361822ee9c434f60cb432f544f621041aacb2d38e 41120 
devscripts-el_34.1_all.deb
 31c5dc28bd99b0012c95a0fdd1fe3496659082330ceae0c53a1ec3b23b8f0b53 102908 
debian-el_34.1_all.deb
 5925ec54ae236f8b365b90189f6274ff9423701011b33b6510762d9f34dfd62b 74550 
dpkg-dev-el_34.1_all.deb
 50a03c80d69d917ce77d864397605dda25885d490bf26488e2004ba7f9dc9b78 43248 
vm-bonus-el_34.1_all.deb
Files: 
 7b84d9303c497d265193c17d8c4ea686 1650 editors optional 
emacs-goodies-el_34.1.dsc
 928b64f7c2cfe2dedd60fd7800bfa078 1045918 editors optional 
emacs-goodies-el_34.1.tar.gz
 c6323a2b4578fe21287b41fd7c31e9d2 827884 editors optional 
emacs-goodies-el_34.1_all.deb
 6f60e142555f48042bb74eaeaa009e4b 81688 news optional gnus-bonus-el_34.1_all.deb
 bb7f6bd11d53f0f7fce1c5c06ffdcbd2 41120 editors optional 
devscripts-el_34.1_all.deb
 28fc216154f32050344a935f8e839885 102908 utils optional debian-el_34.1_all.deb
 9c344224b85cb376fd40d678c854f69d 74550 utils optional dpkg-dev-el_34.1_all.deb
 71b5d09dd78543d7089a377b5d9ad337 43248 mail optional vm-bonus-el_34.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMUFQlAAoJEBfcPMRw1Kl5uXMP/RK9gyljhKVs7Y0s9dOTSJAN
41aRlmBUuM8Pk7nFwpXVjSFGvYIkupTRrV0AHWRBy5dEzXg99FV84jHrNCA4cTwD
gAiJ+bZRoqzbNp4sDcMSixrcruvIvOIpXPhlwTimiyDUU5IF4KHYvngORAYOw3mP
pCZyA/BBRCr6emdk3fAS9/LHKHzaw1e5Ug7v/8LawcTdmkiD0chm7ENSDnekZWbx
i3XBfNKqll7uLMw4YzgR3kU4pMLI36gSTthNgCWurOYb/0T0uqEr4bE2nG2VsdS7
7dDRL85kDXkS6BnkTZB1oGzL4ST2AuuwqPtY2gmPwn4uoqcmYHlV/3WVVrnDj6Oo
ryIp48e72bXFCoRHxJGeEQYRNi+1wqF/NpeniGv7BTj9i28WJzNlQudJljACWgk/
OSZYeoNlGe8cuIrORQrs18vju/Seh8wwizmIeptLbB7klHl3Nw0XcU1+189FhyZv
t7qAPsbVAhDJC4KYAJq1bUn93rMI1kkFFNSCTkrj++6MrAMtuIoaAI+ckWe6giXN
CQ+OpqyH/WsrOkrHSOb68EYWhxOac0laMXKuyIDVQPdWTzzRo/cTruX0mzZ2g2H7
DU2qUbfPiiLyi0aSAhjsQzO3MwQd3yfSxE1P+4lqeQHMqIRoFWJtXSsEg5AIWPY/
PzBzDEtby8kQtXmXvmcp
=mMxJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to