arnested / drupal-mode

Advanced Emacs minor mode for Drupal development
https://melpa.org/#/drupal-mode
GNU General Public License v3.0
32 stars 14 forks source link

Indentation using 4 spaces instead of 2 #47

Closed kostajh closed 10 years ago

kostajh commented 10 years ago

If I open up a Drupal module file, php-mode and drupal-mode are active, but indentation defaults to 4 spaces instead of 2. Do you have ideas on what might be the issue or how I could debug the problem? (My .emacs.d is here if that helps you identify what might be the issue.)

arnested commented 10 years ago

Hmmm...

Maybe auto-indent-global-mode is causing trouble? Does it help not to enable it?

What are the values of auto-indent-assign-indent-level and c-basic-offset?

arnested commented 10 years ago

Hi, @kostajh.

Any news regarding this?

kostajh commented 10 years ago

@arnested sorry for the delay in getting back to you. I'm not seeing this issue any more but if I come across the problem again I will report with more info.

arnested commented 10 years ago

OK, we'll close it for now then.