jed-users mailing list

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

Re: Reindent an entire C code in one shot


On Thu, 21 Nov 2002 09:45:15 +0100 (CET) wrote Guenter Milde <milde@xxxxxxxxxxxxxxxxxxxx>:
 
> Once we are at indenting: 
> 
> I know about the solution to reset the TAB key with the global-mode hook.
> Still I wonder, whether it would be more clean to 
> 
> * have only the emulation modes (emacs.sl, ide.sl, jed.sl, ...) binding 
>   the TAB key,
> 
> * and optionally set the indent_line_hook to insert("\t") or 
>   text_indent_relative() in modes that have no specific indendation rules.

I just found out, that this doesnot work, as then the newline_and_indent
function (usually the Enter key) executes  text_indent_relative which is not
what we want. :-(

Günter
--
Milde at ife.et.tu-dresden.de


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