all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot open load file: ispell
@ 2008-01-25 23:07 Ulrich Scholz
  2008-01-25 23:27 ` Exal de Jesus Garcia Carrillo
  2008-01-28 15:18 ` Michael D. Vose
  0 siblings, 2 replies; 8+ messages in thread
From: Ulrich Scholz @ 2008-01-25 23:07 UTC (permalink / raw)
  To: help-gnu-emacs

Dear all,

after an upgrade of my Kubuntu I get the error

  Cannot open load file: ispell

I'm not really sure what action of mine caused ispell to stop
working.  Neither I'm sure what to report.  Any suggestion is
appreciated.  Ispell is, of course, installed.

Thanks,

Ulrich


This is GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.10.3)
 of 2006-09-19 on rothera, modified by Debian

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-25 23:07 Cannot open load file: ispell Ulrich Scholz
@ 2008-01-25 23:27 ` Exal de Jesus Garcia Carrillo
  2008-01-25 23:52   ` Ulrich Scholz
  2008-01-28 15:18 ` Michael D. Vose
  1 sibling, 1 reply; 8+ messages in thread
From: Exal de Jesus Garcia Carrillo @ 2008-01-25 23:27 UTC (permalink / raw)
  To: help-gnu-emacs

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

Ulrich Scholz em gnu.emacs.help escreveu :

>   Cannot open load file: ispell



Only make sure that is in the load-path.



- -- 
Spam protection: 
In my e-mail replace the words `no-spam' with `exal'.


.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>

iD8DBQFHmnBloZmxoVJRtGIRAmYrAKCSzus0bZ70KQWr7K7d/Lafz0b1zgCferd/
aYAcVvxDkRUicakuH+MEd9k=
=8xe9
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-25 23:27 ` Exal de Jesus Garcia Carrillo
@ 2008-01-25 23:52   ` Ulrich Scholz
  2008-01-26  1:37     ` Rupert Swarbrick
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ulrich Scholz @ 2008-01-25 23:52 UTC (permalink / raw)
  To: help-gnu-emacs

Nope, does not work:

scholz@binge:~/Forschung/Arbeiten/2008/Invarianten$ type ispell
ispell is /usr/bin/ispell

Added (setq load-path (append (list "/usr/bin") load-path))
to .gnu-emacs-custom
(and this is evaluated in deed)

The error remains

Ulrich

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-25 23:52   ` Ulrich Scholz
@ 2008-01-26  1:37     ` Rupert Swarbrick
  2008-01-26  2:39     ` Mike Mattie
       [not found]     ` <mailman.6555.1201315229.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Rupert Swarbrick @ 2008-01-26  1:37 UTC (permalink / raw)
  To: help-gnu-emacs

On Fri, 25 Jan 2008 15:52:23 -0800, Ulrich Scholz wrote:

> Nope, does not work:
> 
> scholz@binge:~/Forschung/Arbeiten/2008/Invarianten$ type ispell ispell
> is /usr/bin/ispell
> 
> Added (setq load-path (append (list "/usr/bin") load-path)) to
> .gnu-emacs-custom
> (and this is evaluated in deed)
> 
> The error remains
> 
> Ulrich

Hi,

Emacs actually needs an elisp file called ispell.el. On my debian
system it's
at /usr/share/emacs22/site-lisp/dictionaries-common/ispell.el.

ispell.el does the interfacing with /usr/bin/ispell and /usr/bin
doesn't need to be on your load path.

Maybe try a locate command to find the lisp file? The reason emacs 
doesn't say "Can't find ispell.el" is that it's able to load
precompiled elisp too, so it might equally be looking for ispell.elc :
"can't load ispell.el" would be misleading in that case.

Rupert

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-25 23:52   ` Ulrich Scholz
  2008-01-26  1:37     ` Rupert Swarbrick
@ 2008-01-26  2:39     ` Mike Mattie
       [not found]     ` <mailman.6555.1201315229.18990.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Mike Mattie @ 2008-01-26  2:39 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 838 bytes --]

On Fri, 25 Jan 2008 15:52:23 -0800 (PST)
Ulrich Scholz <d5@thispla.net> wrote:

> Nope, does not work:
> 
> scholz@binge:~/Forschung/Arbeiten/2008/Invarianten$ type ispell
> ispell is /usr/bin/ispell
> 
> Added (setq load-path (append (list "/usr/bin") load-path))
> to .gnu-emacs-custom
> (and this is evaluated in deed)
> 
> The error remains
> 
> Ulrich

load-path is a list of directories that contain elisp files. exec-path is analgous to PATH
where programs loaded by the system loader are found. My copy of ispell.el was installed
with Emacs itself. Fixing or upgrading your Emacs could provide a working ispell without
modifying your .emacs file.
 _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
       [not found]     ` <mailman.6555.1201315229.18990.help-gnu-emacs@gnu.org>
@ 2008-01-28  9:22       ` Ulrich Scholz
  0 siblings, 0 replies; 8+ messages in thread
From: Ulrich Scholz @ 2008-01-28  9:22 UTC (permalink / raw)
  To: help-gnu-emacs

Wigh find I found emacs.el.  Adding its path to the Emacs load-path
solved the problem.

I have no clue why ispell.el isn't in the load path in the first
place.

Thanks,

Ulrich

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-25 23:07 Cannot open load file: ispell Ulrich Scholz
  2008-01-25 23:27 ` Exal de Jesus Garcia Carrillo
@ 2008-01-28 15:18 ` Michael D. Vose
  2008-01-28 19:57   ` Peter Dyballa
  1 sibling, 1 reply; 8+ messages in thread
From: Michael D. Vose @ 2008-01-28 15:18 UTC (permalink / raw)
  To: Ulrich Scholz; +Cc: help-gnu-emacs


I don't know beans about fixing emacs... but the following is in my
.emacs file and I do recall that putting it there seemed to concide
with having some problems go away...

(autoload 'ispell-word "ispell" "Check the spelling of word in buffer." t)
(autoload 'ispell-region "ispell" "Check the spelling of region." t)
(autoload 'ispell-buffer "ispell" "Check the spelling of buffer." t)

Good luck,

Michael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cannot open load file: ispell
  2008-01-28 15:18 ` Michael D. Vose
@ 2008-01-28 19:57   ` Peter Dyballa
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2008-01-28 19:57 UTC (permalink / raw)
  To: Michael D. Vose; +Cc: Ulrich Scholz, help-gnu-emacs


Am 28.01.2008 um 16:18 schrieb Michael D. Vose:

> (autoload 'ispell-word "ispell" "Check the spelling of word in  
> buffer." t)
> (autoload 'ispell-region "ispell" "Check the spelling of region." t)
> (autoload 'ispell-buffer "ispell" "Check the spelling of buffer." t)

Modern Emacsen should accept one line and do the right thing:

	(setq ispell-program-name "ispell")	; or aspell

--
Greetings

   Pete

America believes in education: the average professor earns more money  
in a year than a professional athlete earns in a whole week.
				– Evan Esar

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-01-28 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 23:07 Cannot open load file: ispell Ulrich Scholz
2008-01-25 23:27 ` Exal de Jesus Garcia Carrillo
2008-01-25 23:52   ` Ulrich Scholz
2008-01-26  1:37     ` Rupert Swarbrick
2008-01-26  2:39     ` Mike Mattie
     [not found]     ` <mailman.6555.1201315229.18990.help-gnu-emacs@gnu.org>
2008-01-28  9:22       ` Ulrich Scholz
2008-01-28 15:18 ` Michael D. Vose
2008-01-28 19:57   ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.