jed-users mailing list

[2019 Date Index] [2019 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[jed-users] Jed does not read .sql in jed_library_path


Hi!
I am usng Jed for many years and finally found that I need to install a 
additional mode, sql.sl. I downloaded it from jedmodes.sourceforge.io, placed 
into ~/.jed, compiled it and edited my .jedrc like this:

variable Jed_Home_Library = "~/.jed";
set_jed_library_path (Jed_Home_Library + "," + get_jed_library_path ());
Jed_Highlight_Cache_Dir = Jed_Home_Library;
Jed_Highlight_Cache_Path = Jed_Highlight_Cache_Dir + "," +
                             Jed_Highlight_Cache_Path;
Color_Scheme_Path = Jed_Home_Library + "/colors/," + Color_Scheme_Path;

autoload ("sql_mode", "sql");
autoload ("sql92_mode", "sql");
autoload ("sql99_mode", "sql");
autoload ("mssql_mode", "sql");
autoload ("mysql_mode", "sql");
autoload ("pgsql_mode", "sql");
autoload ("orsql_mode", "sql");
add_mode_for_extension ("sql", "sql");
custom_variable ("sql_default_mode", "pgsql");

After doing so,  I found that jed is unable to load sql. I checked my jed-
library_path and found that ~/.jed is in there

[serge@perun examples]$ jed -batch -f 'message(get_jed_library_path())'
loading /usr/share/jed/lib/site.slc
loading /usr/share/jed/lib/os.sl
loading /usr/share/jed/lib/menus.slc
loading /etc/jed.conf
loading /usr/share/jed/lib/compress.slc
loading /home/serge/.jedrc
loading /usr/share/jed/lib/compat.sl
~/.jed/,/usr/share/jed/lib,/usr/share/slsh,/usr/share/slsh/local-packages

So, why isn't it loading the mode?



_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2019 date index] [2019 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]