GNOME Bugzilla – Bug 757236
libide: Fix parsing indent-tabs-mode in modelines
Last modified: 2015-11-09 18:42:26 UTC
Trivial patch attached.
Created attachment 314299 [details] [review] libide: Fix parsing indent-tabs-mode in modelines If a modeline contains (for example) ‘indent-tabs-mode: t’, libide was explicitly setting IDE_INDENT_STYLE_SPACES. It was assuming that MODELINE_SET_INSERT_SPACES being set meant that spaces were in use, rather than the intended meaning of options.insert_spaces being meaningful.
Thanks! Attachment 314299 [details] pushed as c203c47 - libide: Fix parsing indent-tabs-mode in modelines
Would it be possible to backport this into 3.18.2? It’s a fairly annoying issue, and 3.18 is shipped in Fedora 23.
I wasn't planning on doing a .2, but it doesn't seem outrageous to do one and add this.