Your message dated Wed, 06 Jun 2007 02:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#423128: fixed in windows-el 2.40-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: windows-el
Version: 2.40-2
Severity: normal
Tags: patch

The virtual window/frame created by "KeyFunc&exit" sub-command in the
function `win-switch-to-window' localizes the hook `kill-buffer-hook'
using `make-local-variable', which is advised(*) *not* to apply to a hook
variable.  Consequently, the hook gets totally broken if given function
has made the hook buffer-local already.
 (*)See the docstring of `make-local-variable'; maybe differ in other
    emacsen...

For example, `mew-summary-goto-folder', provided by package `mew',
creates a `mew-summary-mode' buffer, where `kill-buffer-hook' has
got a buffer-local value.  Thereafter the problem occurs.

To demonstrate the problem:

 0. Install mew (>=1:4.2)  ;-)

 1. Execute `mew': M-x mew

 2. (to assure the mail folder has new arrival)
    Create a new draft: w RET C-x k

 3. In buffer +inbox, execute win-switch-to-window: C-c C-w 2
     -> minibuffer prompts:
        [2] is nil. C)reate D)up P)reserve F)indFile B)uff X)M-x
        k)KeyFunc&exit N)o:

 4. Choose "KeyFunc&exit" by typing: k
     -> minibuffer prompts:
        Keysequence function on new window(deleted in the future):

 5. Specify `mew-summary-goto-folder' by typing: g
     -> new window/frame opens and its minibuffer prompts:
        Folder name (+inbox): +

 6. Enter any existing local folder; now we're concerned with: draft RET
     -> EXPECTED:
        +draft opens in `mew-summary-mode' and the up-to-date
        content of the folder, including dummy draft created by #2 above,
        is shown.
        On exiting the buffer (key sequence "C-c C-q"), the window/frame
        would be closed at the same time.

     <- HAPPENS:
        The window/frame vanishes irrelevantly.


-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (510, 'proposed-updates'), (501, 'stable'), (103, 
'testing-proposed-updates'), (102, 'testing'), (101, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP)

Versions of packages windows-el depends on:
ii  emacs21 [emacsen]             21.4a+1-3  The GNU Emacs editor

windows-el recommends no packages.

-- no debconf information
--- windows.el.old      2005-09-18 23:55:55.000000000 +0900
+++ windows.el.new      2007-05-07 23:32:35.000000000 +0900
@@ -1150,13 +1150,13 @@
                    (sit-for 0)
                    (setq inhibitmsg t)
                    (call-interactively cmd)
-                   (make-local-variable 'kill-buffer-hook)
                    (add-hook 'kill-buffer-hook
                              (list 'lambda nil
                                    (list 'win:delete-window
                                          win:current-config
                                          nil t
-                                         )))
+                                         ))
+                             nil 'local)
                    ))
                 ((and (string-match (char-to-string ans) "py")
                       (null win:use-frame))

Attachment: pgpwrl6HSDe2c.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: windows-el
Source-Version: 2.40-3

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

windows-el_2.40-3.diff.gz
  to pool/main/w/windows-el/windows-el_2.40-3.diff.gz
windows-el_2.40-3.dsc
  to pool/main/w/windows-el/windows-el_2.40-3.dsc
windows-el_2.40-3_all.deb
  to pool/main/w/windows-el/windows-el_2.40-3_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.
Hubert Chan <[EMAIL PROTECTED]> (supplier of updated windows-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: RIPEMD160

Format: 1.7
Date: Tue,  5 Jun 2007 21:33:46 -0400
Source: windows-el
Binary: windows-el
Architecture: source all
Version: 2.40-3
Distribution: unstable
Urgency: low
Maintainer: Hubert Chan <[EMAIL PROTECTED]>
Changed-By: Hubert Chan <[EMAIL PROTECTED]>
Description: 
 windows-el - window manager for GNU Emacs
Closes: 423128
Changes: 
 windows-el (2.40-3) unstable; urgency=low
 .
   * Update maintainer address.
   * Don't make kill-buffer-hook a local variable.  Apply patch by INOUE
     Hiroyuki.  (Closes: #423128)
Files: 
 20af1ab26c7df62c179c969b44e7e636 568 utils optional windows-el_2.40-3.dsc
 da35606670186044a3f9c020589858b8 4455 utils optional windows-el_2.40-3.diff.gz
 4d8e1ba5aa8cabbe308a2345dde88ac9 43080 utils optional windows-el_2.40-3_all.deb

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

iD8DBQFGZhG9rynHGRJLYfoRA4c/AKCL0mYice0ajagNqyTgE85SBYEHeACfZdfw
sxhzM10hfISqUo0757ULliA=
=gb17
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to