• Kevin J. McCarthy's avatar
    Clean up code indentation. · 248c2ee8
    Kevin J. McCarthy authored
    These are mostly automated changes corresponding to the emacs
    settings:
      (c-set-style "linux")
      (setq c-basic-offset 2)
      (c-set-offset 'case-label '+)
    
    Most of the code follows the convention:
      (add-to-list 'c-cleanup-list 'space-before-funcall)
    but this is not enforced by this indentation cleanup.
    
    Also, I personally dislike tabs, so I have:
      (setq-default indent-tabs-mode nil)
    in my own configuration.  However I have no desire to change every line
    just for that effect.  So this cleanup does nothing about the mix issue.
    
    Some of the secondary files (e.g. regex.c) have been skipped.
    
    I've also skipped crypt-gpgme.c, because I need to think about that
    file.  Werner Koch and the GnuPG team contributed most it, and it
    follows the Gnu indentation settings.  It should probably be made
    uniform with Mutt, but I don't want to discourage future GnuPG
    contribution to the file.
    
    I manually reverted a few unsightly cleanups, and added a few tweeks
    when I saw things that could be improved.
    248c2ee8
commands.c 27.8 KB