Your message dated Mon, 16 Sep 2013 15:48:15 +0000
with message-id <e1vlb27-0007fg...@franck.debian.org>
and subject line Bug#721797: fixed in dictionaries-common 1.20.3
has caused the Debian Bug report #721797,
regarding dictionaries-common: [PATCH] Improve debian-ispell.el not to display 
message etc
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 ow...@bugs.debian.org
immediately.)


-- 
721797: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721797
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.20.2
Severity: wishlist

Here are some improvement suggestions to the Emacs startup
configuration:

    * Patch 1: No need to load at the very start of Emacs start up.
      Make setup load, when the ispell is actuallu used/loaded. This
      helps to make Emacs faster at start when additional settings
      are postponed.

    * Patch 2: Do not display any extra messages on echo-area. The
      information "...already loaded" may confuse new users.

    * Patch 3: In order to check debian-ispell.el locally, this fails:

      emacs -Q -q -ne debian-ispell.el
      M-x eval-current-buffer

      The patch adds "fboundp" check for appropriate place and makes
      the above commands to work.

Jari

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  libtext-iconv-perl     1.7-5

dictionaries-common recommends no packages.

Versions of packages dictionaries-common suggests:
ii  emacsen-common  2.0.5
ii  ispell          3.3.02-6
pn  jed-extra       <none>

-- debconf-show failed
>From 21a97f670d8a2e30f5ad9ed93e6fb973dc8a80a7 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Wed, 4 Sep 2013 09:36:20 +0300
Subject: [PATCH 2/3] In debian-ispell.el Do not display extra messages at
 debian-ispell-set-startup-menu
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 support/emacsen/debian-ispell.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/emacsen/debian-ispell.el b/support/emacsen/debian-ispell.el
index b5e9a59..41e74e1 100644
--- a/support/emacsen/debian-ispell.el
+++ b/support/emacsen/debian-ispell.el
@@ -244,7 +244,7 @@ To be run at `after-init-hook' or at any time if FORCE is given."
 
     (if (and (featurep 'ispell)
 	     (not force))
-	(message "ispell.el is already loaded")
+	nil
       (when (fboundp 'debian-ispell-build-startup-menu)
 	(debian-ispell-build-startup-menu dicts-list)
 	;; (fmakunbound 'debian-ispell-build-startup-menu)
-- 
1.7.10.4

>From f59851fb956642e0a43e296fb04bfab5577ae534 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Wed, 4 Sep 2013 09:35:22 +0300
Subject: [PATCH 1/3] In debian-ispell.el load setup after ispell, not at
 Emacs start up
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 support/emacsen/debian-ispell.el |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/emacsen/debian-ispell.el b/support/emacsen/debian-ispell.el
index 4a57a0b..b5e9a59 100644
--- a/support/emacsen/debian-ispell.el
+++ b/support/emacsen/debian-ispell.el
@@ -251,10 +251,10 @@ To be run at `after-init-hook' or at any time if FORCE is given."
 	))))
 
 ;; Make sure updated Debian menu is available after emacs is started
-(add-hook 'after-init-hook 'debian-ispell-set-startup-menu)
+;; (add-hook 'after-init-hook 'debian-ispell-set-startup-menu)
 
 ;; Make sure updated Debian menu is not overriden by ispell.el one
-(eval-after-load "ispell" '(debian-ispell-set-startup-menu))
+(eval-after-load "ispell" '(debian-ispell-set-startup-menu 'force))
 
 ;;; -----------------------------------------------------------------------
 ;;;  Guess default ispell dictionary under emacs and make ispell.el use it
-- 
1.7.10.4

>From 3a4d8bba3ffd8a4c1e5a7c7318b49a1b68973dcb Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Wed, 4 Sep 2013 09:38:11 +0300
Subject: [PATCH 3/3] In debian-ispell.el Check debian-pkg-add-load-path-item
 before use
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 support/emacsen/debian-ispell.el |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/support/emacsen/debian-ispell.el b/support/emacsen/debian-ispell.el
index 41e74e1..c9c2c18 100644
--- a/support/emacsen/debian-ispell.el
+++ b/support/emacsen/debian-ispell.el
@@ -458,17 +458,19 @@ LANG if any."
 		 ispell-program-name))
     )) ;; let and defun ends
 
-(add-hook 'after-init-hook 'debian-ispell-set-default-dictionary)
+;; (add-hook 'after-init-hook 'debian-ispell-set-default-dictionary)
+(eval-after-load "ispell" '(debian-ispell-set-default-dictionary))
 
 ;; ---------------------------------------------------------------------------
 ;; Make sure patched ispell.el is first in the loadpath if not already there
 ;; ---------------------------------------------------------------------------
 
-(let ((mypath (concat "/usr/share/"
-		      (symbol-name debian-emacs-flavor)
-		      "/site-lisp/dictionaries-common")))
-  (unless (member mypath load-path)
-    (debian-pkg-add-load-path-item mypath)))
+(when (fboundp 'debian-pkg-add-load-path-item)
+  (let ((mypath (concat "/usr/share/"
+			(symbol-name debian-emacs-flavor)
+			"/site-lisp/dictionaries-common")))
+    (unless (member mypath load-path)
+      (debian-pkg-add-load-path-item mypath))))
 
 ;; --------------------------------------------------------------------------
 ;; Set ispell-program-name consistently for all emacsen flavours. Prefer
-- 
1.7.10.4


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

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.

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 721...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Agustin Martin Domingo <agmar...@debian.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 16 Sep 2013 15:46:35 +0200
Source: dictionaries-common
Binary: dictionaries-common dictionaries-common-dev
Architecture: source all
Version: 1.20.3
Distribution: unstable
Urgency: low
Maintainer: Agustin Martin Domingo <agmar...@debian.org>
Changed-By: Agustin Martin Domingo <agmar...@debian.org>
Description: 
 dictionaries-common - Common utilities for spelling dictionary tools
 dictionaries-common-dev - Developer tools and Policy for spelling dictionary 
tools
Closes: 721797
Changes: 
 dictionaries-common (1.20.3) unstable; urgency=low
 .
   * support/emacsen/debian-ispell.el: Merge some improvements
     by Jari Aalto, thanks (Closes: #721797).
     - Check debian-pkg-add-load-path-item before use
     - Do not display extra messages at debian-ispell-set-startup-menu
   * debian/control: Canonicalize Vcs-* headers
Checksums-Sha1: 
 c1b29f8d49c586b07ff7d4d3ee07154bd07963b1 1240 dictionaries-common_1.20.3.dsc
 5afa8717d13a2e19063432ec6f619f3df49eb4b9 325994 
dictionaries-common_1.20.3.tar.gz
 f18b15cf5f081de09e5800cb8afac35e84fc86e7 284746 
dictionaries-common_1.20.3_all.deb
 ad1e8c48704a573056fa07a6bef035abfbf115d2 128600 
dictionaries-common-dev_1.20.3_all.deb
Checksums-Sha256: 
 f9a4d74e438417ef000786514ab3cc3a68c89c6950f62e6096d68d1f432bda32 1240 
dictionaries-common_1.20.3.dsc
 070cf4e4b85e63ac4c7e01906b5f9a59787e2e257f1d4e1ed92fc6eed760eba7 325994 
dictionaries-common_1.20.3.tar.gz
 ef04c4645cb70703dd6562073a500958f27e60dce41a126695feecfb2bac55af 284746 
dictionaries-common_1.20.3_all.deb
 2575e1e62f93f98f0bb7bc02adfeb685cc3f7315f034276476a39d3749f93a46 128600 
dictionaries-common-dev_1.20.3_all.deb
Files: 
 91fb33e7509f8aa624e12051fe8ab74c 1240 text optional 
dictionaries-common_1.20.3.dsc
 5aef9f5e816f6fa8501dfe6499d80222 325994 text optional 
dictionaries-common_1.20.3.tar.gz
 21d3254c6d07010a016c4f017f8c26e1 284746 text optional 
dictionaries-common_1.20.3_all.deb
 669a2f5c809fc60071cfc4e6ba4798b2 128600 devel extra 
dictionaries-common-dev_1.20.3_all.deb

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

iD8DBQFSNxoVTShHqj72DpwRApUgAJwIyNCmYkXN1byIIvhBPUGZ5iO0vACeN4ju
ofcZ5EbHg6UwX7hEvh/41ls=
=fg8/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to