Your message dated Mon, 12 Apr 2010 10:32:15 +0000
with message-id <[email protected]>
and subject line Bug#576223: fixed in dictionaries-common 1.5.2
has caused the Debian Bug report #576223,
regarding dictionaries-common: ispell process current directory prevents 
unmounting removable media
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.)


-- 
576223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576223
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.5.1
Severity: normal

Emacs launches an ispell process (by which I mean whatever you
configured via `ispell-program-name') spontaneously, if you turn on
`flyspell-mode' (e.g., through a mode hook) or by using C-$ (M-x
ispell-word) and friends interactively.  This process is launched using
the current buffer's `default-directory'.  If the current buffer is
visiting a file on a removable volume like a USB stick, then ispell's
current directory is on the volume, and ispell will prevent it from
being unmounted.

I notice that there's already a check that the default directory is a
readable directory and `ispell-start-process' forces ispell to start in
the user's home directory otherwise.  Since (at least if we're using an
asynchronous process) the same ispell process is used for all buffers,
the starting directory isn't necessarily very relevant to the job that
ispell is being asked to do: I think that asynchronous ispell should be
started in the user's home directory unconditionally.

i.e.,

diff -u /tmp/mwooding/ispell.el\~ /tmp/mwooding/ispell.el
--- /tmp/mwooding/ispell.el~      2010-04-01 19:01:13.000000000 +0100
+++ /tmp/mwooding/ispell.el       2010-04-01 18:58:18.000000000 +0100
@@ -2767,7 +2767,8 @@
   (let ((default-directory default-directory)
         args)
     (unless (and (file-directory-p default-directory)
-                 (file-readable-p default-directory))
+                 (file-readable-p default-directory)
+                 (not ispell-async-process-p))
       ;; Defend against bad `default-directory'.
       (setq default-directory (expand-file-name "~/")))
     ;; Local dictionary becomes the global dictionary in use.

(Emacs tells me that I'm getting `ispell.el' from this package so I'm
reporting it here.  The bug probably wants to be fixed in `emacs23' too.)

In the meantime, I'll have to add a `~/bin/aspell-hack' which does

        #! /bin/sh
        set -e; cd; exec aspell "$@"

and point `ispell-program-name' at it.

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

Kernel: Linux 2.6.31.9 (PREEMPT)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libtext-iconv-perl            1.7-2      converts between character sets in

dictionaries-common recommends no packages.

Versions of packages dictionaries-common suggests:
ii  emacsen-common                1.4.19     Common facilities for all emacsen
ii  ispell                        3.1.20.0-7 International Ispell (an interacti
pn  jed-extra                     <none>     (no description available)

-- debconf information:
  dictionaries-common/invalid_debconf_value:
  dictionaries-common/ispell-autobuildhash-message:
  dictionaries-common/move_old_usr_dict: true
  dictionaries-common/selecting_ispell_wordlist_default:
* dictionaries-common/default-ispell: american (American English)
* dictionaries-common/default-wordlist: american (American English)
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/remove_old_usr_dict_link: true



--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.5.2

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

dictionaries-common-dev_1.5.2_all.deb
  to main/d/dictionaries-common/dictionaries-common-dev_1.5.2_all.deb
dictionaries-common_1.5.2.dsc
  to main/d/dictionaries-common/dictionaries-common_1.5.2.dsc
dictionaries-common_1.5.2.tar.gz
  to main/d/dictionaries-common/dictionaries-common_1.5.2.tar.gz
dictionaries-common_1.5.2_all.deb
  to main/d/dictionaries-common/dictionaries-common_1.5.2_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.
Agustin Martin Domingo <[email protected]> (supplier of updated 
dictionaries-common 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: SHA1

Format: 1.8
Date: Mon, 12 Apr 2010 12:08:54 +0200
Source: dictionaries-common
Binary: dictionaries-common dictionaries-common-dev
Architecture: source all
Version: 1.5.2
Distribution: unstable
Urgency: low
Maintainer: Agustin Martin Domingo <[email protected]>
Changed-By: Agustin Martin Domingo <[email protected]>
Description: 
 dictionaries-common - Common utilities for spelling dictionary tools
 dictionaries-common-dev - Developer tools and Policy for spelling dictionary 
tools
Closes: 576107 576223
Changes: 
 dictionaries-common (1.5.2) unstable; urgency=low
 .
   * Fix harmless bogus error messages on installation due to no
     elements in a given class (Closes: #576107).
   * 280_ispell.el_default-dir-change new patch:
     - Fix personal dictionary + default directory check.
   * 200_ispell.el_no-idle-ispell-process new patch:
     - Kill ispell process when killing its associated buffer
       (Closes: #576223).
   * Add explicit debian/source/format. Will stay as 1.0 for now.
Checksums-Sha1: 
 cf221f41709f417b94a742f4b95364000d943679 1128 dictionaries-common_1.5.2.dsc
 4ff93ccc3a6584ceaaa401019f42d06e091c0700 307072 
dictionaries-common_1.5.2.tar.gz
 60d3f166f79849f238a937518933073a412050bc 294506 
dictionaries-common_1.5.2_all.deb
 f5c8073db28e0f85c42b91d509633a5e4bab36ec 129266 
dictionaries-common-dev_1.5.2_all.deb
Checksums-Sha256: 
 0a9ef75510ffa3a00d1d7a5b7caa19e6d9de7f7f14b5a93b80b88cae676ecbe8 1128 
dictionaries-common_1.5.2.dsc
 5c174e46ea8e244d3e656ab5883e563656e92cfbc893b51e2aae2679b4089912 307072 
dictionaries-common_1.5.2.tar.gz
 73bd73e23b0d6a17f951f1bfb8b74aa24b9ea12c2664e73b4736831024cd78bc 294506 
dictionaries-common_1.5.2_all.deb
 80fe5a76669192c176c7d73303e81e8ed3f0b8a582372d48b326f2ac8bbc3cd2 129266 
dictionaries-common-dev_1.5.2_all.deb
Files: 
 ea37de85f2b8512916c43d03203d7ee2 1128 text optional 
dictionaries-common_1.5.2.dsc
 a7116366ce88745e6eae0b8b985f579f 307072 text optional 
dictionaries-common_1.5.2.tar.gz
 98aec2f14afa68e2ec70efc91986e5f7 294506 text optional 
dictionaries-common_1.5.2_all.deb
 9ff2f2b228005e35f5e5035aa9f8f80c 129266 devel extra 
dictionaries-common-dev_1.5.2_all.deb

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

iD8DBQFLwvHsTShHqj72DpwRAvQKAJwNPhgYOEjUpXjuqcXTqtcQSRM7vQCcCPJw
JmjA2rH7X5cAE+UJ8siZzus=
=mJGS
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to