Public bug reported:

Binary package hint: dictionaries-common

1.)
(~):$ lsb_release -rd
Description:    Ubuntu 10.10
Release:        10.10

2.) 
(~):$ apt-cache policy dictionaries-common
dictionaries-common:
  Installed: 1.5.11ubuntu1
  Candidate: 1.5.11ubuntu1
  Version table:
 *** 1.5.11ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

3.) Run M-x flyspell-mode on a text buffer inside emacs 23.1 to turn on 
flyspell-mode
           (~):$ emacs --version
                   GNU Emacs 23.1.1
                   Copyright (C) 2009 Free Software Foundation, Inc.
                   GNU Emacs comes with ABSOLUTELY NO WARRANTY.
                   You may redistribute copies of Emacs
                   under the terms of the GNU General Public License.
                   For more information about these matters, see the file named 
COPYING.

4.) Running M-x flyspell-mode interactively in emacs buffer gives following 
error in *Messages*
    Enabling Flyspell mode gave an error


The problem is in the modified of flyspell-mode.el in the function 
flyspell-mode-on()
located in /usr/share/emacs/site-lisp/dictionaries-common/flyspell.el

The diff patch to fix this is given below:

(~):$ diff -burp /usr/share/emacs/site-lisp/dictionaries-common/flyspell.el 
~/flyspell.el
--- /usr/share/emacs/site-lisp/dictionaries-common/flyspell.el  2010-08-06 
20:34:35.000000000 -0400
+++ /home/brian/flyspell.el     2010-10-14 12:47:45.000000000 -0400
@@ -641,7 +641,7 @@ in your .emacs file.
   (if (and flyspell-issue-message-flag
           flyspell-issue-welcome-flag
           (or (and (fboundp 'called-interactively-p)
-                   (called-interactively-p 'interactive))
+                   (called-interactively-p))
               (interactive-p)))
       (let ((binding (where-is-internal 'flyspell-auto-correct-word
                                        nil 'non-ascii)))

** Affects: dictionaries-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
flyspell-mode called interactively fails
https://bugs.launchpad.net/bugs/660650
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to