summaryrefslogtreecommitdiffstats
path: root/include/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/include/modes.h b/include/modes.h
index 1a180055..cc4e8ad8 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -128,21 +128,24 @@
#define RS_FORWARD 0x01 /* backward */
#define RS_TITLE 0x02 /* author/title */
-#define RS_RELATED 0x04
+#define RS_KEYWORD 0x04
#define RS_FIRST 0x08 /* find first article */
#define RS_CURRENT 0x10 /* match current read article */
-#define RS_THREAD 0x20 /* search the first article */
+#define RS_MARK 0x20 /* search the first article */
#define RS_AUTHOR 0x40 /* search author's article */
#define RS_NEWPOST 0x80 /* search new posts */
-#define CURSOR_FIRST (RS_RELATED | RS_TITLE | RS_FIRST)
-#define CURSOR_NEXT (RS_RELATED | RS_TITLE | RS_FORWARD)
-#define CURSOR_PREV (RS_RELATED | RS_TITLE)
-#define RELATE_FIRST (RS_RELATED | RS_TITLE | RS_FIRST | RS_CURRENT)
-#define RELATE_NEXT (RS_RELATED | RS_TITLE | RS_FORWARD | RS_CURRENT)
-#define RELATE_PREV (RS_RELATED | RS_TITLE | RS_CURRENT)
-#define THREAD_NEXT (RS_THREAD | RS_FORWARD)
-#define THREAD_PREV (RS_THREAD)
+#define CURSOR_FIRST (RS_TITLE | RS_FIRST)
+#define CURSOR_NEXT (RS_TITLE | RS_FORWARD)
+#define CURSOR_PREV (RS_TITLE)
+#define RELATE_FIRST (RS_TITLE | RS_FIRST | RS_CURRENT)
+#define RELATE_NEXT (RS_TITLE | RS_FORWARD | RS_CURRENT)
+#define RELATE_PREV (RS_TITLE | RS_CURRENT)
+#define NEWPOST_NEXT (RS_NEWPOST | RS_FORWARD)
+#define NEWPOST_PREV (RS_NEWPOST)
+#define AUTHOR_NEXT (RS_AUTHOR | RS_FORWARD)
+#define AUTHOR_PREV (RS_AUTHOR)
+
enum {STRIP_ALL = 0, ONLY_COLOR, NO_RELOAD};