jed-users mailing list

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

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>.


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