On Mon, Dec 30, 2013 at 04:54:34PM -0500, Sanjoy Mahajan wrote:
> Package: dictionaries-common
> Version: 1.20.4
> Severity: normal
> 
> The following file contains two misspellings that are missed by "M-x
> ispell-buffer" (in emacs24-24.3+1-2+b1).  To reproduce, start emacs with
> "emacs -q -nw file.tex" and then "M-x ispell-buffer" and it'll report no
> errors.
> 
> ------- cut here ----------
> % b/a.d
> msucle
> imaginging
> ------- cut here ----------
> 
> However, with the following slightly modified file, it does find the
> errors:
> 
> ------- cut here ----------
> %   a.d
> msucle
> imaginging
> ------- cut here ----------

Hi,

Some status info on what I found for this problem.

I was doing some bisect in sid with the FSF Emacs commits and seems that
the problem arises in a change in upstream FSF Emacs

http://thread.gmane.org/gmane.emacs.diffs/119768

dictionaries-common uses updated ispell.el from FSF Emacs bzr repo with
specific changes for XEmacs and for better integration. That change is not
included in wheezy dictionaries-common, so I could not find the problem
there, but is in sid.

Quickly looking at above change it is not evident for me what is causing the
problem, I need to look at it more carefully.

> Despite the following information in
> /usr/share/doc/dictionaries-common/README.emacs.gz
> 
>   Force disabling of dictionaries-common emacsen-stuff
>   ----------------------------------------------------
> 
>   If you want to always use original {ispell,flyspell}.el instead of
>   those provided by Debian dictionaries-common you should edit the
>   file
> 
>   /etc/emacs/site-start.d/50dictionaries-common.el
> 
>   and add your flavor to the `skip-emacs-flavors-list' list.
> 
> I couldn't convince "emacs -q -nw" to load the generic ispell even after
> I added "emacs24" to the "skip-emacs-flavors-list" list.  The startup
> message showed that it was skipping the dictionaries-common stuff for my
> flavor, but somehow it was still on the load path (and I cannot figure
> out how).

Also looked at this. Emacs flavors are again installing subdirs.el, which
causes al subdirs under it be added to load-path

$ dpkg -S subdirs.el
emacs24-common: /usr/share/emacs24/site-lisp/subdirs.el
emacs23-common: /usr/share/emacs23/site-lisp/subdirs.el
emacs-snapshot-common: /usr/share/emacs/site-lisp/subdirs.el
emacs23-common: /usr/share/emacs/23.4/lisp/subdirs.el
emacs-snapshot-common: /usr/share/emacs-snapshot/site-lisp/subdirs.el
emacs24-common: /usr/share/emacs/24.3/lisp/subdirs.el
emacs-snapshot-common: /usr/share/emacs/24.3.50/lisp/subdirs.el

I think they should rely in emacsen-common tools for this.

I have to ask again at the debian-emacsen list. Already asked 5 years ago

http://thread.gmane.org/gmane.linux.debian.devel.emacsen/2440

but got no reply.

Depending on what others think, I will chose how to re-allow the
possibility of disabling dictionaries-common code from
/etc/emacs/site-start.d/50dictionaries-common.el if needed.

I do not have much spare time these days, do not know when I will be able to
look at this in depth. 

Regards

-- 
Agustin


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to