On Thu, Jun 29, 2006 at 10:53:36PM +0100, Reuben Thomas wrote:
> >Code at least seems to do what the description says:
> >
> > if (!lookup_bool_variable("expand-tabs"))
> >   insert_char_in_insert_mode('\t');
> > else
> >   insert_expanded_tab(insert_char_in_insert_mode);
> >
> >but I'm obviously missing something, as it doesn't work.
> 
> As I explained, TAB is bound to indent-relative, and that doesn't often 
> end up calling that code.
> 
> I have discovered that Emacs doesn't have expand-tabs. For that reason, 
> it now seems sensible to me to implement tab-always-indent instead. It 
> has a more sensible behaviour than expand-tabs: setting it to false 
> causes indent-relative to insert a \t. (Actually it's a little more 
> complex than that in Emacs, as there's another level of command 
> indirection, but I don't think I need inflict that on Zile.)
> 
> Does this sound like a good solution? As I said before, rebinding TAB 
> will work for you until I implement it.

Seems fine I think.  Thank you.

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to