jed-users mailing list

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

[jed-users] Start jed in certain mode


Hello,

I want to set a certain mode when calling jed.

Let's say, jed would open a file in Text-Mode, but I want jed to open
it in SH-Mode.

I know I could edit .jedrc oder set the mode within jed. But I want to
set the mode on the command-line when calling jed.

I didn't find an exact description in the documentation, so I tried:

   jed -l shmode.sl <file>
     ==> opens file in Text-Mode

   jed -l /usr/share/jed/lib/shmode.sl <file>
     ==> opens file in Text-Mode

   jed -f sh_mode <file>
     ==> opens file in Text-Mode

   jed -f set_mode sh_mode <file>
     ==> throws error: Stack Underflow Error

   jed -f set_mode(sh_mode,2) <file>
     ==> throws error: syntax error near unexpected token `('

Hm. Is there a way to do what I want?

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


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