[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on jed CUA mode



Andy Sy <andy@xxxxxxxxxxx> wrote:
>1) Is it possible to for TAB to invoke 
>self_insert_cmd or insert_line instead of
>fix_indent when no region is highlighted?

You would have to write a custom indent routine for this, something
along the lines of:

    define indent_line_or_insert ()
    {
        if (0 == is_visible_mark ()
	  {
	     call ("self_insert_cmd");
	     return;
	  }
	% indent code here...
    }

Good luck,
--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>.