jed-users mailing list

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

Re: [Jed-users-l] always show line number


Mike Ma <zhtx10@xxxxxxxxx> wrote:
> I use
>      public define global_mode_hook (hook_name)
>     {
>          toggle_line_number_mode ();
>     }
> To get the line number bar. But if I open a C file, and then start 
> folding_mode. Then I cannot find it, I must run 
> "toggle_line_number_mode" again. Is there a way to make the bar always here?

In your global_mode_hook use

   set_line_number_mode (1);

Thanks,
--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


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