jed-users mailing list

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

Re: EDT emulation wish list


John E. Davis wrote:
David Gressett <jdgressett@xxxxxxxxxxxxxxx> wrote:
in the original EDT, when moving up and down in the text, EDT would scroll the screen to keep the cursor from reaching the top or bottom of the display. This way, there was always some context visible at the top and bottom of the screen. The cursor would only go to the top or bottom edge of the screen when the edge of the screen coincided with the top or bottom of the buffer. In the JED EDT emulation, this works with the up and down arrow keys with 0.99.18 on Linux. It does not work with the LINE command (bound to the 0 key on the keypad). It doesn't work at all on the 0.99.18 that I am using on Windows. It would be nice if LINE worked like up and down arrows.

Try this in your .jedrc file:
define keybindings_hook (emulation)
     {
        switch (emulation)
	  {
             case "edt":
	       setkey ("edt_line; edt_check_scroll;", "\eOp");
	  }
     }

Thanks,
--John


Apologies for the late reply.

This has no effect whatsoever in 0.99.18 running on Windows XP.

With 0.99.18 running on Fedora Core 6, Jed chokes on the .jedrc with a message that emulation is undefined. It then changes the color scheme to something in various shades of gray, changes to a scratch buffer, and prompts for a new input file.

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


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