Mike Kazantsev <mk.frag...@gmail.com> writes:

> On Sat, 26 May 2018 03:36:34 +0500
> Mike Kazantsev <mk.frag...@gmail.com> wrote:
>
>> On Fri, 25 May 2018 18:25:13 -0400
>> Yoni Rabkin <y...@rabkins.net> wrote:
>> 
>> > At least I'm not asking you to modify your idiosyncratic
>> > indentation. Now _that's_ a red line I wouldn't ask anyone to cross.  
>> 
>> It's some kind of auto-indenter that does that weird tabs-and-spaces
>> thing which I never looked into, no?
>> 
>> In which case fix there should be pretty straightforward - run that
>> formatter before commit and not bother with indentation.
>
> Found that lispy-multiline formatter seem to produce good aligned
> sexp formatting, which seem to be much more in-line with the existing
> code, so used that.
>
> Some existing emms code seem to have a mix of tabs and spaces, which I
> don't think is consistent (main emms.el can be good example),  and
> probably simply due to indent automation, where emacs auto-inserts tab
> instead of 4 or 8 spaces (depending on tab-size) sometimes.
>
> Used strictly spaces with lispy-multiline formatter for consistency,
> but shouldn't be a problem to tweak that to use tabs + spaces mix as
> well, if preferrable.
>
> Please let me know if it's gotten better or worse this way.
>
> My indentation practices are indeed a bit unorthodox, so I think it'd
> make sense to ditch these in any collaborative project, especially as it
> doesn't really take much effort with great tools like lispy fixing it
> all for you.

The new indentation seems fine to me since it's what Emacs produces by
default with indent-region. There were two lines that didn't get
indented at the end so I went ahead and pushed a fix for that.

-- 
   "Cut your own wood and it will warm you twice"

_______________________________________________
Emms-help mailing list
Emms-help@gnu.org
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to