retitle 334752 Shouldn't unconditionnaly load ispell.el if avoidable
severity 334752 wishlist
thanks

Agustin Martin <[EMAIL PROTECTED]> wrote:

> On Wed, Oct 19, 2005 at 01:23:28PM -0400, Peter S Galbraith wrote:
> > Package: dictionaries-common
> > Version: 0.24.10
> > Severity: normal
> > File: /etc/emacs/site-start.d/50dictionaries-common.el
> > 
> > Hi,
> > 
> > For reference, see:
> > 
> >  http://lists.debian.org/debian-emacsen/2005/10/msg00036.html
> > 
> > The file /etc/emacs/site-start.d/50dictionaries-common.el sets some user
> > settings as:
> > 
> > (if (or (eq window-system 'x) (eq window-system 'gtk))
> >     (progn
> >       (setq ispell-menu-xemacs nil)
> >       (ispell-change-dictionary nil)
> >       )
> >   )
> > 
> 
> > 
> > It would be preferable that Emacs user configuration preferences not
> > be done in a system file (which users don't have the privileges to edit)
> > but rather through the use of an Emacs customization variable
> > (defcustom). 
> > 
> > I realize that this isn't an Emacs package and you may not have the
> > skills to implement this.  Let me know if a patch is required.
> 
> Thanks for the report and the offer,
> 
> The problem here is that the default behavior should be to refresh emacs
> spellcheck pop-up menu on calling the above code, so it shows the really
> available dictionaries, and the optional one not to do that, at least in X
> environments. If I am not wrong, ~/.emacs is loaded last, so I do not think
> that can be done straighforward from ~/.emacs at the stage it is loaded.

Well, I'm not sure that is actually a problem, but...  Tell you what, I
now understand better what the code is about.  It's isn't really a user
option at all, and should be done.  So forget my initial report!

The undesired side-effect of loading ispell is unfortunate.  You're
saying you have to load ispell.el to make "Spell Checking" menu list
within the "Tools" menu?  I notice that by default ispell isn't loaded
and has a more elaborate menu.  Can the code required to regenerate the
menu correctly be added to 50dictionaries-common.el without loading all
of ispell?

If so, then that's my bug report.
If not, feel free to close this and sorry for waisting your time!
-- 
Peter S. Galbraith, Debian Developer          <[EMAIL PROTECTED]>
                                 http://people.debian.org/~psg
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E


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

Reply via email to