Override "emulated tabs" when editing Makefiles?

Eddy De Greef degreef at imec.be
Tue May 20 16:30:29 CEST 2008


TOM TANNER, BLOOMBERG/ LONDON OF wrote:
> Eddy De Greef wrote:
> <cut instructions on how to set up tabs>
> 
> I've just tried this, and it is very useful (it was driving me nuts
> as well). However, I've run across a couple of peculiarites
> 
> 1) When editing a makefile, every time I press tab, a hard tab is
> inserted (nice), and you get thrown into the search bar. This is rather
> confusing.

I didn't notice that because I don't use the search bar. It's indeed a 
showstopper. I suppose there is some hidden Motif widget keybinding that 
comes into play.

> 2) (picky) when you hit return, the next line is indented but using spaces.

There may be a workaround by defining smart indent newline macro 
(Default Settings->Indents->Program Smart Indent), but it could get hairy.

> Despite the complaints - thanks for the instructions. Life is better
> now (esp as ctrl-tab doesn't always work for reasons that are beyond
> me).

I forgot about Ctrl-Tab because I've bound another macro to it. I have 
no idea why it sometimes wouldn't work. Possibly it's related to the 
search bar widget problem above (my Ctrl-Tab macro also moves the focus 
to the search bar when it's turned on, or to the first pane when I have 
multiple panes).

Eddy



More information about the Discuss mailing list