Bug#563237: jed-extra: not obvious how to use new modes

Jonathan Nieder jrnieder at gmail.com
Fri Jan 8 13:13:22 UTC 2010


G. Milde wrote:

> could we discuss this at JED Debian Developers
> <pkg-jed-devel at lists.alioth.debian.org>?

Sure.  Apologies for cluttering up the bug log.

> On  4.01.10, Jonathan Nieder wrote:

>> But hitting escape does not exit insert mode, so it is not clear how to
>> move around, exit, or give any other command.
>
> The source file (vi.sl) has a comment:
> 
> % While starting off in command mode is more vi-like,
> % because of the way JED does things, it's difficult to make perfect
> % emulation (specifically, you can type while in command mode).

Okay, this will take some getting used to.

> % make it at least more logical, I have to have it start in INSERT mode.
> 
> The help() command (e.g. via M-x help) will show basic help. In vi mode
> this is the file vi.hlp:
> 
> JED Vi keybindings:  `^' means to use Ctrl key (e.g., ^X = Ctrl-X).
> :q exit    u Undo    :w write to file
> ^L redraw    dd delete   :e open a file     ^E end of line

I can't see how to make any of these work.  Even ^E inserts a literal
^E character.  I would expect ^[ dd to delete the current line, but the
^[ seems to be ignored.

I am expecting some strangeness (to account for 'the way JED does
things'), but my setup is not so much strange as broken.  Next I
guess I should try to figure out how vi.sl is supposed to work...

Thanks for all the help so far.

Good night,
Jonathan



More information about the Pkg-jed-devel mailing list