summaryrefslogtreecommitdiffstats
path: root/include/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/include/modes.h b/include/modes.h
index 641ed3ca..4d4100b9 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -129,7 +129,7 @@
#define MODE_POSTCHECKED 0x0004 /* 是否已檢查在 currboard 發表文章的權限 */
#define MODE_BOARD 0x0008 /* 是否可以在 currboard 刪除、mark文章 */
#define MODE_GROUPOP 0x0010 /* 是否為小組長 (可以在 MENU 開板) */
-#define MODE_DIGEST 0x0020 /* 是否為 digest mode */
+// #define MODE_DIGEST 0x0020 /* 是否為 digest mode */ // deprecated
#define MODE_SELECT 0x0080 /* 搜尋使用者標題 */
#define MODE_DIRTY 0x0100 /* 是否更動過 userflag */
@@ -144,18 +144,19 @@
#define TAG_INSERT 2 /* 加入 TagList */
-#define RS_FORWARD 0x01 /* backward */
-#define RS_TITLE 0x02 /* author/title */
-#define RS_KEYWORD 0x04
-#define RS_FIRST 0x08 /* find first article */
-#define RS_CURRENT 0x10 /* match current read article */
-#define RS_MARK 0x20 /* search by 'm' mark */
-#define RS_AUTHOR 0x40 /* search author's article */
-#define RS_NEWPOST 0x80 /* search new posts */
-#define RS_KEYWORD_EXCLUDE 0x100 /* exclude keyword */
-#define RS_RECOMMEND 0x200 /* search by recommends */
-#define RS_MONEY 0x400 /* search by money */
-#define RS_SOLVED 0x800 /* search by 's' mark */
+#define RS_FORWARD 0x0001 /* backward */
+#define RS_TITLE 0x0002 /* author/title */
+#define RS_KEYWORD 0x0004
+#define RS_FIRST 0x0008 /* find first article */
+#define RS_CURRENT 0x0010 /* match current read article */
+#define RS_MARK 0x0020 /* search by 'm' mark */
+#define RS_AUTHOR 0x0040 /* search author's article */
+#define RS_NEWPOST 0x0080 /* search new posts */
+#define RS_KEYWORD_EXCLUDE 0x0100 /* exclude keyword */
+#define RS_RECOMMEND 0x0200 /* search by recommends */
+#define RS_MONEY 0x0400 /* search by money */
+#define RS_SOLVED 0x0800 /* search by 's' mark */
+#define RS_DIGEST 0x1000 /* search by digest ('g') mark */
#define CURSOR_FIRST (RS_TITLE | RS_FIRST)
#define CURSOR_NEXT (RS_TITLE | RS_FORWARD)