Package: dictionaries-common
Version: 1.5.16
Severity: important
Tags: squeeze

/usr/share/emacs/site-lisp/dictionaries-common/ispell.el creates a bogus
entry in default-menubar under XEmacs 21 (xemacs21-nomule is what I am
running).

After ispell.el changes the "Kill Process" menu item under Cmds ->
Spell-Check, any attempt to click on the menubar produces the error
"Wrong type argument: stringp, clear" because a symbol is not allowed as
an optional fourth item in a menu specification.  I originally
encountered this when using the VM mail reader that is part of
xemacs21-basesupport, and finding that after the first time I ran
vm-compose-mail, the menubar became unusable.  However, it seems likely
this affects other Emacs/XEmacs packages as well.

I find that the patch below fixes the issue locally (after I apply it
and recompile ispell.elc).  If adding "'clear" to the menu was meant
to accomplish something, that probably needs to be done in some more
portable way.  My testing does not suggest that the function of that
menu entry is impaired by removal of "'clear".

--- ispell.el.orig      2010-11-15 05:21:32.000000000 -0800
+++ ispell.el   2011-01-10 16:50:35.000000000 -0800
@@ -1352,7 +1352,7 @@
             ["Continue Check"  ispell-continue                 t]
             ["Complete Word Frag"ispell-complete-word-interior-frag t]
             ["Complete Word"   ispell-complete-word            t]
-            ["Kill Process"    ispell-kill-ispell       t 'clear]
+            ["Kill Process"    ispell-kill-ispell              t]
             ["Customize..."    (customize-group 'ispell)       t]
             ;; flyspell-mode may not be bound...
             ;;["flyspell"      flyspell-mode

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.iso8859-15, LC_CTYPE=en_US.iso8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0]         1.5.36     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.22     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/selecting_ispell_wordlist_default:
* dictionaries-common/default-ispell: american (American English)
  dictionaries-common/default-wordlist: american (American English)
  dictionaries-common/ispell-autobuildhash-message:
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/move_old_usr_dict: true
  dictionaries-common/remove_old_usr_dict_link: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to