- Subject: Re: Jed problem(s) fixed... issues resolved...
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Mon, 9 Jan 2006 18:00:51 +0100
On 7.01.06, Dave Laird wrote:
> [STEP 1]
>
> Download the latest version of Jed appropriate to your favorite Unix/Linux
> operating system. While you are at it, also go to the Jed Repository and
> download all the files necessary to build a working copy of Ispell,
> including Ispell or Aspell, if your Unix/Linux distribution already
> includes Ispell or Aspell with your distribution.
AFAIK, there are no source files for Ispell/Aspell at the Jed Modes Repository
(Jedmodes.sf.net). It comes either with your Linux distribution or should be
downloaded from its respective site.
> These include the following files:
>
> Source files for Ispell to work. You must have them all, but they are
> small and take very little time to download:
>
> flyspell.sl ispell.otl ispell.sl ispell_common.sl ispell_init.sl look.sl
> vispell.sl
>
> The Flyspell function(s) in Jed also require you download:
>
> bufutils menutils
Ah, I see you mean the files for the "Jed ispell mode" -- i.e. the script to
access ispell/aspell from within Jed.
> [STEP 2]
>
> Install the RPM or DEB files you downloaded to your operating system,
> carefully noting where the installation process creates the Jed $HOME
> directory, since that is where all the components of Jed reside.
You can always find this out from a running Jed by
Help>Describe_Variable JED_ROOT
> STEP 3]
>
> If you are going to use Jed as a text editor in anything remotely
> resembling production work OR if you want to truly use either Ispell or
> Aspell to perform spell-checking as you write, you will need to copy the
> files for Ispell you downloaded over to the Jed/$HOME and install them
> there.
As Paul already stated, I'd rather recommand
* Create a directory ~/.jed/lib/ and put the *.sl files there.
* In your .jedrc file add e.g.:
set_jed_library_path(expand_filename("~/.jed/lib")
+ "," + get_jed_library_path());
(or get jedmodes.sf.net/libdir/ and read its documentation for a more
convenient and throughout way).
> First, go to your jed/$HOME directory and (in Unix/Linux) become the root
> super-user.
Not needed with the installation in ~/.jed/lib
> Using Jed, open the file named ispell_init.sl and on
> approximately line 49 you will see a series of lines that read:
>
> public variable Ispell_Letters = Assoc_Type
> [String_Type,
>
> "a-zA-ZàèìòùáéíóúäÄëËïÏöÖßüÜâêîôûÀÈÌÒÙÁÉÍÓÚÄËÏÖÜÂÊÎÔÛçÇãÃñÑõÕæøåÆØÅæøåÆØÞþðÐ"];
>
> You can either alter the line to read as stated below OR you comment the
> existing lines out using the '%' character, and insert a new line that
> reads as follows:
>
> public variable Ispell_Letters = Assoc_Type[String_Type, "a-zA-Z"];
>
> You will need to make certain of the semicolon at the end, lest it break
> glass.
This bugfix will hopefully be soon in Jedmode's ispell mode.
> [STEP 5]
>
> ... look on
> approximately line 40 where it reads:
>
> % Your spell program. This could be ispell or aspell.
> custom_variable("Ispell_Program_Name", "ispell");
>
> You have the option of changing the variable from "ispell" to "aspell",
> thus determining which dictionary you will be using.
custom_variable is a function that lets the mode author set a default and a
user override this default by defining this variable in his/her .jedrc. So
skip this step and go to
> [STEP 4]
>
> Then, to make all this work each time you start Jed, put the following
> lines in your .jedrc file in your $HOME directory:
>
> require ("ispell_init");
> define text_mode_hook()
> {
> flyspell_mode;
> }
If you want to use aspell instead of ispell, add also
Ispell_Program_Name = "aspell";
...
Günter
--
G.Milde web.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]