Hi,
I am trying to get the following indentation style.
if(condition)
{
something;
}
However, the default substatement-open offset is "+" which means it indents
in the following way
if(condition)
{
something;
}
An extract of my dot emacs file is:
(setq default-tab-width 4)
(custom-set-variables
'(c-set-offset (substatement-open . 0))
'(pc-select-meta-moves-sexps t)
'(pc-select-selection-keys-only t)
'(c-echo-syntactic-information-p t)
'(next-line-add-newlines nil)
'(delete-selection-mode t nil (delsel))
'(pc-selection-mode t nil (pc-select)))
Even though I explicitly set the c-offset, it is not taking effect. So, I
have to do a C-x C-o and set
it.
I realise that this maybe more of an emacs query rather than JDE, but could
someone
please help me out on this...
TIA,
Gautam