jed-users mailing list

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

Re: cut & paste and indention


Günter Milde schrieb:

> Sorry, I did not mention you have to bind it to the Enter key. The complete
> recipe would be:
> (Works for me)

Still not for me. :-(
There's a problem with setkey(). As I can check with M-x describe_bindings
"^M" is not set to newline_indent. Is it possible that it is set by the
major mode?

I tried

define global_mode_hook (hook_name)
{
   if (hook_name != "c_mode_hook")
     local_setkey("newline_indent", "^M");
}

and

define global_mode_hook (hook_name)
{
   if (hook_name != "c_mode_hook")
     setkey("newline_indent", "^M");
}

But it didn't help either.

cu,
	boris

-- 
Dipl.-Inf. Boris Folgmann   mailto:boris@xxxxxxxxxxx
TeamForge GmbH i.G.         http://www.folgmann.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>.


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