]> granicus.if.org Git - neomutt/commitdiff
Fix header file indentation after M_ prefix renaming.
authorKevin McCarthy <kevin@8t8.us>
Thu, 26 May 2016 21:45:02 +0000 (14:45 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 26 May 2016 21:45:02 +0000 (14:45 -0700)
The use of tabs caused misalignment of various macro definitions.

copy.h
group.h
mailbox.h
mutt.h
mutt_curses.h
pager.h

diff --git a/copy.h b/copy.h
index 03e47f4ef1325dc297c108138f2a0b251e939c6b..4d6fc54a7a8ba51aa336b450faa6cf115b41c212 100644 (file)
--- a/copy.h
+++ b/copy.h
  */ 
 
 /* flags to _mutt_copy_message */
-#define MUTT_CM_NOHEADER       1       /* don't copy the message header */
-#define MUTT_CM_PREFIX (1<<1)  /* quote the message */
-#define MUTT_CM_DECODE (1<<2)  /* decode the message body into text/plain */
-#define MUTT_CM_DISPLAY        (1<<3)  /* output is displayed to the user */
-#define MUTT_CM_UPDATE (1<<4)  /* update structs on sync */
-#define MUTT_CM_WEED   (1<<5)  /* weed message/rfc822 attachment headers */
-#define MUTT_CM_CHARCONV       (1<<6)  /* perform character set conversions */
-#define MUTT_CM_PRINTING       (1<<7)  /* printing the message - display light */
-#define MUTT_CM_REPLYING       (1<<8)  /* replying the message */
+#define MUTT_CM_NOHEADER        1       /* don't copy the message header */
+#define MUTT_CM_PREFIX          (1<<1)  /* quote the message */
+#define MUTT_CM_DECODE          (1<<2)  /* decode the message body into text/plain */
+#define MUTT_CM_DISPLAY         (1<<3)  /* output is displayed to the user */
+#define MUTT_CM_UPDATE          (1<<4)  /* update structs on sync */
+#define MUTT_CM_WEED            (1<<5)  /* weed message/rfc822 attachment headers */
+#define MUTT_CM_CHARCONV        (1<<6)  /* perform character set conversions */
+#define MUTT_CM_PRINTING        (1<<7)  /* printing the message - display light */
+#define MUTT_CM_REPLYING        (1<<8)  /* replying the message */
 
-#define MUTT_CM_DECODE_PGP       (1<<9) /* used for decoding PGP messages */
-#define MUTT_CM_DECODE_SMIME (1<<10) /* used for decoding S/MIME messages */
-#define MUTT_CM_DECODE_CRYPT  (MUTT_CM_DECODE_PGP | MUTT_CM_DECODE_SMIME)
+#define MUTT_CM_DECODE_PGP      (1<<9)  /* used for decoding PGP messages */
+#define MUTT_CM_DECODE_SMIME    (1<<10) /* used for decoding S/MIME messages */
+#define MUTT_CM_DECODE_CRYPT    (MUTT_CM_DECODE_PGP | MUTT_CM_DECODE_SMIME)
 
-#define MUTT_CM_VERIFY (1<<11) /* do signature verification */
+#define MUTT_CM_VERIFY          (1<<11) /* do signature verification */
 
 /* flags for mutt_copy_header() */
 #define CH_UPDATE         1       /* update the status and x-status fields? */
diff --git a/group.h b/group.h
index 68f01dcc1d5f798405da9193a80178d196f067d6..55adcfa0384334f19466f6fb710e42edcab655b1 100644 (file)
--- a/group.h
+++ b/group.h
@@ -20,8 +20,8 @@
 #ifndef _MUTT_GROUP_H_
 #define _MUTT_GROUP_H_ 1
 
-#define MUTT_GROUP             0
-#define MUTT_UNGROUP   1
+#define MUTT_GROUP   0
+#define MUTT_UNGROUP 1
 
 void mutt_group_add_adrlist (group_t *g, ADDRESS *a);
 
index 8d35c4d6d2bb272c17f8cdc155681f275da6d451..322b8a90bac8c8fa47290a7ff6ebd07d890d464d 100644 (file)
--- a/mailbox.h
+++ b/mailbox.h
 #define _MAILBOX_H
 
 /* flags for mutt_open_mailbox() */
-#define MUTT_NOSORT    (1<<0) /* do not sort the mailbox after opening it */
-#define MUTT_APPEND    (1<<1) /* open mailbox for appending messages */
-#define MUTT_READONLY  (1<<2) /* open in read-only mode */
-#define MUTT_QUIET             (1<<3) /* do not print any messages */
-#define MUTT_NEWFOLDER (1<<4) /* create a new folder - same as MUTT_APPEND, but uses
-                               * safe_fopen() for mbox-style folders.
-                               */
+#define MUTT_NOSORT     (1<<0) /* do not sort the mailbox after opening it */
+#define MUTT_APPEND     (1<<1) /* open mailbox for appending messages */
+#define MUTT_READONLY   (1<<2) /* open in read-only mode */
+#define MUTT_QUIET      (1<<3) /* do not print any messages */
+#define MUTT_NEWFOLDER  (1<<4) /* create a new folder - same as MUTT_APPEND, but uses
+                                * safe_fopen() for mbox-style folders.
+                                */
 
 /* mx_open_new_message() */
-#define MUTT_ADD_FROM  (1<<0)  /* add a From_ line */
-#define MUTT_SET_DRAFT (1<<1)  /* set the message draft flag */
+#define MUTT_ADD_FROM   (1<<0)  /* add a From_ line */
+#define MUTT_SET_DRAFT  (1<<1)  /* set the message draft flag */
 
 /* return values from mx_check_mailbox() */
 enum
 {
-  MUTT_NEW_MAIL = 1,   /* new mail received in mailbox */
-  MUTT_LOCKED,         /* couldn't lock the mailbox */
-  MUTT_REOPENED,               /* mailbox was reopened */
-  MUTT_FLAGS               /* nondestructive flags change (IMAP) */
+  MUTT_NEW_MAIL = 1,    /* new mail received in mailbox */
+  MUTT_LOCKED,          /* couldn't lock the mailbox */
+  MUTT_REOPENED,        /* mailbox was reopened */
+  MUTT_FLAGS            /* nondestructive flags change (IMAP) */
 };
 
 typedef struct _message
diff --git a/mutt.h b/mutt.h
index 4e6fe39beba729f64ca3f3147a25318d5af78a37..f6ca62d31ca58f10f8ebd0ed09a117d6bbed7e01 100644 (file)
--- a/mutt.h
+++ b/mutt.h
 #define  MUTT_PATTERN (1<<7) /* pattern mode - only used for history classes */
 
 /* flags for mutt_get_token() */
-#define MUTT_TOKEN_EQUAL               1       /* treat '=' as a special */
-#define MUTT_TOKEN_CONDENSE    (1<<1)  /* ^(char) to control chars (macros) */
-#define MUTT_TOKEN_SPACE               (1<<2)  /* don't treat whitespace as a term */
-#define MUTT_TOKEN_QUOTE               (1<<3)  /* don't interpret quotes */
-#define MUTT_TOKEN_PATTERN             (1<<4)  /* !)|~ are terms (for patterns) */
-#define MUTT_TOKEN_COMMENT             (1<<5)  /* don't reap comments */
-#define MUTT_TOKEN_SEMICOLON   (1<<6)  /* don't treat ; as special */
+#define MUTT_TOKEN_EQUAL      1       /* treat '=' as a special */
+#define MUTT_TOKEN_CONDENSE   (1<<1)  /* ^(char) to control chars (macros) */
+#define MUTT_TOKEN_SPACE      (1<<2)  /* don't treat whitespace as a term */
+#define MUTT_TOKEN_QUOTE      (1<<3)  /* don't interpret quotes */
+#define MUTT_TOKEN_PATTERN    (1<<4)  /* !)|~ are terms (for patterns) */
+#define MUTT_TOKEN_COMMENT    (1<<5)  /* don't reap comments */
+#define MUTT_TOKEN_SEMICOLON  (1<<6)  /* don't treat ; as special */
 
 typedef struct
 {
@@ -118,51 +118,51 @@ typedef struct
 /* flags for mutt_FormatString() */
 typedef enum
 {
-  MUTT_FORMAT_FORCESUBJ        = (1<<0), /* print the subject even if unchanged */
-  MUTT_FORMAT_TREE             = (1<<1), /* draw the thread tree */
-  MUTT_FORMAT_MAKEPRINT        = (1<<2), /* make sure that all chars are printable */
-  MUTT_FORMAT_OPTIONAL = (1<<3),
-  MUTT_FORMAT_STAT_FILE        = (1<<4), /* used by mutt_attach_fmt */
-  MUTT_FORMAT_ARROWCURSOR      = (1<<5), /* reserve space for arrow_cursor */
-  MUTT_FORMAT_INDEX    = (1<<6), /* this is a main index entry */
-  MUTT_FORMAT_NOFILTER = (1<<7)  /* do not allow filtering on this pass */
+  MUTT_FORMAT_FORCESUBJ   = (1<<0), /* print the subject even if unchanged */
+  MUTT_FORMAT_TREE        = (1<<1), /* draw the thread tree */
+  MUTT_FORMAT_MAKEPRINT   = (1<<2), /* make sure that all chars are printable */
+  MUTT_FORMAT_OPTIONAL    = (1<<3),
+  MUTT_FORMAT_STAT_FILE   = (1<<4), /* used by mutt_attach_fmt */
+  MUTT_FORMAT_ARROWCURSOR = (1<<5), /* reserve space for arrow_cursor */
+  MUTT_FORMAT_INDEX       = (1<<6), /* this is a main index entry */
+  MUTT_FORMAT_NOFILTER    = (1<<7)  /* do not allow filtering on this pass */
 } format_flag;
 
 /* types for mutt_add_hook() */
-#define MUTT_FOLDERHOOK        1
-#define MUTT_MBOXHOOK  (1<<1)
-#define MUTT_SENDHOOK  (1<<2)
-#define MUTT_FCCHOOK   (1<<3)
-#define MUTT_SAVEHOOK  (1<<4)
-#define MUTT_CHARSETHOOK       (1<<5)
-#define MUTT_ICONVHOOK         (1<<6)
-#define MUTT_MESSAGEHOOK       (1<<7)
-#define MUTT_CRYPTHOOK (1<<8)
-#define MUTT_ACCOUNTHOOK       (1<<9)
-#define MUTT_REPLYHOOK (1<<10)
-#define MUTT_SEND2HOOK     (1<<11)
+#define MUTT_FOLDERHOOK  1
+#define MUTT_MBOXHOOK    (1<<1)
+#define MUTT_SENDHOOK    (1<<2)
+#define MUTT_FCCHOOK     (1<<3)
+#define MUTT_SAVEHOOK    (1<<4)
+#define MUTT_CHARSETHOOK (1<<5)
+#define MUTT_ICONVHOOK   (1<<6)
+#define MUTT_MESSAGEHOOK (1<<7)
+#define MUTT_CRYPTHOOK   (1<<8)
+#define MUTT_ACCOUNTHOOK (1<<9)
+#define MUTT_REPLYHOOK   (1<<10)
+#define MUTT_SEND2HOOK   (1<<11)
 
 /* tree characters for linearize_tree and print_enriched_string */
-#define MUTT_TREE_LLCORNER             1
-#define MUTT_TREE_ULCORNER             2
-#define MUTT_TREE_LTEE         3
-#define MUTT_TREE_HLINE                4
-#define MUTT_TREE_VLINE                5
-#define MUTT_TREE_SPACE                6
-#define MUTT_TREE_RARROW               7
-#define MUTT_TREE_STAR         8
-#define MUTT_TREE_HIDDEN               9
-#define MUTT_TREE_EQUALS               10
-#define MUTT_TREE_TTEE         11
-#define MUTT_TREE_BTEE         12
-#define MUTT_TREE_MISSING              13
-#define MUTT_TREE_MAX          14
-
-#define MUTT_THREAD_COLLAPSE   (1<<0)
-#define MUTT_THREAD_UNCOLLAPSE (1<<1)
-#define MUTT_THREAD_GET_HIDDEN (1<<2)
-#define MUTT_THREAD_UNREAD             (1<<3)
-#define MUTT_THREAD_NEXT_UNREAD        (1<<4)
+#define MUTT_TREE_LLCORNER      1
+#define MUTT_TREE_ULCORNER      2
+#define MUTT_TREE_LTEE          3
+#define MUTT_TREE_HLINE         4
+#define MUTT_TREE_VLINE         5
+#define MUTT_TREE_SPACE         6
+#define MUTT_TREE_RARROW        7
+#define MUTT_TREE_STAR          8
+#define MUTT_TREE_HIDDEN        9
+#define MUTT_TREE_EQUALS        10
+#define MUTT_TREE_TTEE          11
+#define MUTT_TREE_BTEE          12
+#define MUTT_TREE_MISSING       13
+#define MUTT_TREE_MAX           14
+
+#define MUTT_THREAD_COLLAPSE    (1<<0)
+#define MUTT_THREAD_UNCOLLAPSE  (1<<1)
+#define MUTT_THREAD_GET_HIDDEN  (1<<2)
+#define MUTT_THREAD_UNREAD      (1<<3)
+#define MUTT_THREAD_NEXT_UNREAD (1<<4)
 
 enum
 {
@@ -303,9 +303,9 @@ enum
 #define MUTT_COMPOSE_NOFREEHEADER (1<<0)
 
 /* flags to _mutt_select_file() */
-#define MUTT_SEL_BUFFY (1<<0)
-#define MUTT_SEL_MULTI (1<<1)
-#define MUTT_SEL_FOLDER        (1<<2)
+#define MUTT_SEL_BUFFY  (1<<0)
+#define MUTT_SEL_MULTI  (1<<1)
+#define MUTT_SEL_FOLDER (1<<2)
 
 /* flags for parse_spam_list */
 #define MUTT_SPAM          1
@@ -954,14 +954,14 @@ typedef struct
 } ENTER_STATE;
 
 /* flags for the STATE struct */
-#define MUTT_DISPLAY   (1<<0) /* output is displayed to the user */
-#define MUTT_VERIFY    (1<<1) /* perform signature verification */
+#define MUTT_DISPLAY       (1<<0) /* output is displayed to the user */
+#define MUTT_VERIFY        (1<<1) /* perform signature verification */
 #define MUTT_PENDINGPREFIX (1<<2) /* prefix to write, but character must follow */
 #define MUTT_WEED          (1<<3) /* weed headers even when not in display mode */
-#define MUTT_CHARCONV  (1<<4) /* Do character set conversions */
-#define MUTT_PRINTING  (1<<5) /* are we printing? - MUTT_DISPLAY "light" */
-#define MUTT_REPLYING  (1<<6) /* are we replying? */
-#define MUTT_FIRSTDONE (1<<7) /* the first attachment has been done */
+#define MUTT_CHARCONV      (1<<4) /* Do character set conversions */
+#define MUTT_PRINTING      (1<<5) /* are we printing? - MUTT_DISPLAY "light" */
+#define MUTT_REPLYING      (1<<6) /* are we replying? */
+#define MUTT_FIRSTDONE     (1<<7) /* the first attachment has been done */
 
 #define state_set_prefix(s) ((s)->flags |= MUTT_PENDINGPREFIX)
 #define state_reset_prefix(s) ((s)->flags &= ~MUTT_PENDINGPREFIX)
index 4241be91e2abd83002b9172617a97ad1012eb3f8..fbdc45c24f79c3183c851dcdffa47999ab617356 100644 (file)
@@ -138,8 +138,8 @@ typedef struct color_line
   struct color_line *next;
 } COLOR_LINE;
 
-#define MUTT_PROGRESS_SIZE             (1<<0)  /* traffic-based progress */
-#define MUTT_PROGRESS_MSG              (1<<1)  /* message-based progress */
+#define MUTT_PROGRESS_SIZE      (1<<0)  /* traffic-based progress */
+#define MUTT_PROGRESS_MSG       (1<<1)  /* message-based progress */
 
 typedef struct
 {
diff --git a/pager.h b/pager.h
index b73e040747b68f6dc628a749486bc92fc46fbcf0..36c8725e2a60d7dd1988158f754b4d6f1f1e924c 100644 (file)
--- a/pager.h
+++ b/pager.h
 #include "attach.h"
 
 /* dynamic internal flags */
-#define MUTT_SHOWFLAT  (1<<0)
-#define MUTT_SHOWCOLOR (1<<1)
-#define MUTT_HIDE              (1<<2)
-#define MUTT_SEARCH    (1<<3)
-#define MUTT_TYPES             (1<<4)
-#define MUTT_SHOW              (MUTT_SHOWCOLOR | MUTT_SHOWFLAT)
+#define MUTT_SHOWFLAT   (1<<0)
+#define MUTT_SHOWCOLOR  (1<<1)
+#define MUTT_HIDE       (1<<2)
+#define MUTT_SEARCH     (1<<3)
+#define MUTT_TYPES      (1<<4)
+#define MUTT_SHOW       (MUTT_SHOWCOLOR | MUTT_SHOWFLAT)
 
 /* exported flags for mutt_(do_)?pager */
-#define MUTT_PAGER_NSKIP               (1<<5)  /* preserve whitespace with smartwrap */
-#define MUTT_PAGER_MARKER              (1<<6)  /* use markers if option is set */
-#define MUTT_PAGER_RETWINCH    (1<<7)  /* need reformatting on SIGWINCH */
-#define MUTT_PAGER_MESSAGE             (MUTT_SHOWCOLOR | MUTT_PAGER_MARKER)
-#define MUTT_PAGER_ATTACHMENT  (1<<8)
-#define MUTT_PAGER_NOWRAP              (1<<9)  /* format for term width, ignore $wrap */
+#define MUTT_PAGER_NSKIP       (1<<5)  /* preserve whitespace with smartwrap */
+#define MUTT_PAGER_MARKER      (1<<6)  /* use markers if option is set */
+#define MUTT_PAGER_RETWINCH    (1<<7)  /* need reformatting on SIGWINCH */
+#define MUTT_PAGER_MESSAGE     (MUTT_SHOWCOLOR | MUTT_PAGER_MARKER)
+#define MUTT_PAGER_ATTACHMENT  (1<<8)
+#define MUTT_PAGER_NOWRAP      (1<<9)  /* format for term width, ignore $wrap */
 
-#define MUTT_DISPLAYFLAGS      (MUTT_SHOW | MUTT_PAGER_NSKIP | MUTT_PAGER_MARKER)
+#define MUTT_DISPLAYFLAGS      (MUTT_SHOW | MUTT_PAGER_NSKIP | MUTT_PAGER_MARKER)
 
 typedef struct
 {