Your message dated Fri, 23 Jul 2010 14:32:31 +0000
with message-id <[email protected]>
and subject line Bug#589880: fixed in dictionaries-common 1.5.10
has caused the Debian Bug report #589880,
regarding dictionaries-common: ispell process restarted constantly
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.)
--
589880: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589880
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.5.5
Hi Augustin, your fix for
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576223
has resulted in the ispell process being restarted almost every time
the buffer is changed, which is really needless and quite irritating.
It seems like the right fix is to always start the process in the
user's home directory. The personal dictionary is already being
expanded to an absolute path and passed to the ispell process, so
ispell should still read the correct file even when it was specified
as a relative path so long as you override default-directory after
expanding the path.
The real problem seems to be that ispell-internal-change-dictionary is
not comparing expanded versions of the current and proposed personal
dictionaries and so would not detect the need to start a new ispell
process when the personal dictionary is a relative path and the
directory changes.
I am currently testing the patch below.
thanks,
Greg
--- ispell.el.orig 2010-05-17 06:44:01.000000000 -0400
+++ ispell.el 2010-07-21 16:37:02.000000000 -0400
@@ -2812,7 +2812,8 @@
(setq ispell-buffer-local-name nil)
(if ispell-async-processp
- (let ((process-connection-type ispell-use-ptys-p))
+ (let ((default-directory (expand-file-name "~/"))
+ (process-connection-type ispell-use-ptys-p))
(apply 'start-process
"ispell" nil ispell-program-name
"-a" ; accept single input lines
@@ -2829,13 +2830,7 @@
(defun ispell-init-process ()
"Check status of Ispell process and start if necessary."
(if (and ispell-process
- (eq (ispell-process-status) 'run)
- ;; Unless we are using an explicit personal dictionary,
- ;; ensure we're in the same default directory!
- ;; Restart check for personal dictionary is done in
- ;; `ispell-internal-change-dictionary', called from
`ispell-buffer-local-dict'
- (or (or ispell-local-pdict ispell-personal-dictionary)
- (equal ispell-process-directory default-directory)))
+ (eq (ispell-process-status) 'run))
(setq ispell-filter nil ispell-filter-continue nil)
;; may need to restart to select new personal dictionary.
(ispell-kill-ispell t)
@@ -2995,7 +2990,11 @@
(let ((dict (or ispell-local-dictionary ispell-dictionary))
(pdict (or ispell-local-pdict ispell-personal-dictionary)))
(unless (and (equal ispell-current-dictionary dict)
- (equal ispell-current-personal-dictionary pdict))
+ (equal (and ispell-current-personal-dictionary
+ (expand-file-name
ispell-current-personal-dictionary
+ ispell-process-directory))
+ (and pdict
+ (expand-file-name pdict default-directory))))
(ispell-kill-ispell t)
(setq ispell-current-dictionary dict
ispell-current-personal-dictionary pdict))))
--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.5.10
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.10_all.deb
to main/d/dictionaries-common/dictionaries-common-dev_1.5.10_all.deb
dictionaries-common_1.5.10.dsc
to main/d/dictionaries-common/dictionaries-common_1.5.10.dsc
dictionaries-common_1.5.10.tar.gz
to main/d/dictionaries-common/dictionaries-common_1.5.10.tar.gz
dictionaries-common_1.5.10_all.deb
to main/d/dictionaries-common/dictionaries-common_1.5.10_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: Fri, 23 Jul 2010 14:20:23 +0200
Source: dictionaries-common
Binary: dictionaries-common dictionaries-common-dev
Architecture: source all
Version: 1.5.10
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: 589880
Changes:
dictionaries-common (1.5.10) unstable; urgency=low
.
* support/emacsen/*: Remove ancient (and buggy) 'Local Variables'
section in Debian files. Thanks Trent W. Buck for noticing and
suggesting this.
* Update ispell.el and flyspell.el to 20100707 FSF emacs bzr repo
(bzr#r100743). This includes comparison of expanded directories
(Closes: #589880).
o Patches removed. Integrated upstream:
- 200_ispell.el_no-idle-ispell-process
- 280_ispell.el_default-dir-change
o Patches removed: No longer needed:
- 800_flyspell.el_limit-looking-back.
o Unused patches removed:
- 200_ispell.el.
- 470_ispell.el_fixlatin0-1.
- 520_flyspell.el_debian-ispell-program-name.
- 550_ispell.el_debian-ispell-program-name.
o Patches adapted:
- 210_ispell.el_session-localwords.
- 410_ispell-el_kill-ispell-if-other-frame.
- 470_ispell.el_handle-non-unified-chars.
o New patches:
- 580_flyspell.el_called-interactively-p.
- 600_flyspell.el_ispell-define-obsolete-face-alias.
- 100_ispell.el_ispell-comment-or-string.
- 950_flyspell.el_revert-sgml-lexical-context.
Checksums-Sha1:
bc494e34bf6b1c20178ce17879a86e4c1c95324d 1132 dictionaries-common_1.5.10.dsc
8e1bcda269bc017818ca2e1aede5d5ac3c34ee33 306509
dictionaries-common_1.5.10.tar.gz
aa20c7d781c8c324e2520f104b044b3d801fdaa9 293490
dictionaries-common_1.5.10_all.deb
5dc88b62080cb21cc0b41b889777bccf41668447 126304
dictionaries-common-dev_1.5.10_all.deb
Checksums-Sha256:
137d73c173e74e563f39742a06d7fe60f832c77e0634e7050a59d40e144838bc 1132
dictionaries-common_1.5.10.dsc
3ac5a401ff3af3cefe30c360ee99f90efbdcff85607833c9f2bf734b797a6d9a 306509
dictionaries-common_1.5.10.tar.gz
708e2acdee88ad01d8db47e90ec3c72357c07031d7a1d8eb7efabf50b610c527 293490
dictionaries-common_1.5.10_all.deb
78a2259598c5f17e4754b471bd9fb176221c1ecdde0372e9979228b7b9f4ab3c 126304
dictionaries-common-dev_1.5.10_all.deb
Files:
43d003e18642aa3780f743a2a8371177 1132 text optional
dictionaries-common_1.5.10.dsc
9b54a6100c644c918da8916cbfbf566a 306509 text optional
dictionaries-common_1.5.10.tar.gz
82c4b5ba1132552009ce10455db1b797 293490 text optional
dictionaries-common_1.5.10_all.deb
d9306f316b0920f817330c1971e0e414 126304 devel extra
dictionaries-common-dev_1.5.10_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFMSZ63TShHqj72DpwRAg2sAKCAvjnDzYgfSONWKtCmJzAs0o9ZjgCfYrZ3
zWNFVGpgXnA7ZtTcxycl1F8=
=4kWq
-----END PGP SIGNATURE-----
--- End Message ---