jed-users mailing list

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

Re: [0.99-15] Some problems and questions


Martin Klaiber <martinkl@xxxxxxxxxxxxxxxxxx> wrote:
>and 0 are nearly the same. It would be best IMHO, if there was a mode
>available, in which no recentering at all would be done.

This is not always possible.  For example, suppose that because of the
system load, the currrent line is many lines out of the window.
Scrolling one line at a time in such a case would be the wrong thing
to do.  In addition, it would add additional load on an already loaded
system.  If you want to go this route, you might try:

   define my_next_line_cmd ()
   {
      call ("next_line_cmd");
      update (1);
   }
   define my_previous_line_cmd ()
   {
      call ("previous_line_cmd");
      update (1);
   }
   require ("keydefs");
   setkey ("my_next_line_cmd", Key_Down);
   setkey ("my_previous_line_cmd", Key_Up);

in your .jedrc file.

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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