1 --- mutt-0.94.7i/OPS.orig Sat Sep 12 21:23:27 1998
2 +++ mutt-0.94.7i/OPS Sat Sep 19 02:54:15 1998
4 OP_PAGER_TOP "jump to the top of the message"
5 OP_PIPE "pipe message/attachment to a shell command"
6 OP_PREV_ENTRY "move to the previous entry"
7 +OP_PREV_JUMP "jump to the previously selected message"
8 OP_PREV_LINE "scroll up one line"
9 OP_PREV_PAGE "move to the previous page"
10 OP_PRINT "print the current entry"
11 --- mutt-0.94.7i/curs_main.c.orig Wed Sep 16 07:57:23 1998
12 +++ mutt-0.94.7i/curs_main.c Sat Sep 19 02:55:06 1998
14 int tag = 0; /* has the tag-prefix command been pressed? */
17 + int LastJumped = -1;
20 char *cp; /* temporary variable. */
24 menu->current = Context->hdrs[j]->virtual;
25 + LastJumped=Context->v2r[menu->current]+1;
26 if (menu->menu == MENU_PAGER)
28 op = OP_DISPLAY_MESSAGE;
31 menu->redraw = REDRAW_FULL;
32 set_option (OPTSEARCHINVALID);
36 case OP_DISPLAY_MESSAGE:
37 @@ -1043,6 +1046,29 @@
38 menu->redraw = REDRAW_MOTION;
43 + if (i > 0 && i <= Context->msgcount)
45 + if (Context->hdrs[i-1]->virtual != -1)
47 + LastJumped=Context->v2r[menu->current]+1;
48 + menu->current = Context->hdrs[i-1]->virtual;
49 + if (menu->menu == MENU_PAGER)
51 + op = OP_DISPLAY_MESSAGE;
55 + menu->redraw = REDRAW_MOTION;
58 + mutt_error ("That message is not visible.");
61 + mutt_error ("No target yet.");
68 case OP_MAIN_PREV_UNREAD:
71 + LastJumped=Context->v2r[menu->current]+1;
74 for (j = 0; j != Context->vcount; j++)
76 case OP_MAIN_PREV_SUBTHREAD:
79 + i=Context->v2r[menu->current]+1;
82 case OP_MAIN_NEXT_THREAD:
83 @@ -1424,11 +1424,13 @@
85 else if (menu->menu == MENU_PAGER)
88 op = OP_DISPLAY_MESSAGE;
92 menu->redraw = REDRAW_MOTION;
96 case OP_MAIN_SET_FLAG:
97 --- mutt-0.94.7i/functions.h.orig Sat Sep 12 21:23:30 1998
98 +++ mutt-0.94.7i/functions.h Sat Sep 19 02:54:16 1998
100 { "display-headers", OP_DISPLAY_HEADERS, "h" },
101 { "next-undeleted", OP_MAIN_NEXT_UNDELETED, "j" },
102 { "previous-undeleted", OP_MAIN_PREV_UNDELETED, "k" },
103 + { "previous-jump", OP_PREV_JUMP, "\033b" },
104 { "limit", OP_MAIN_LIMIT, "l" },
105 { "list-reply", OP_LIST_REPLY, "L" },
106 { "mail", OP_MAIL, "m" },
108 { "next-entry", OP_NEXT_ENTRY, "J" },
109 { "previous-undeleted",OP_MAIN_PREV_UNDELETED, "k" },
110 { "previous-entry", OP_PREV_ENTRY, "K" },
111 + { "previous-jump", OP_PREV_JUMP, "\033b" },
112 { "list-reply", OP_LIST_REPLY, "L" },
113 { "redraw-screen", OP_REDRAW, "\014" },
114 { "mail", OP_MAIL, "m" },
115 --- mutt-0.94.7i/patchlist.c.orig Sat Sep 19 02:29:51 1998
116 +++ mutt-0.94.7i/patchlist.c Sat Sep 19 02:54:16 1998
121 + printf("Feature patch: previous-jump 0.94.7 by Stefan `Sec` Zehl\n");
125 /* DO NOT MODIFY AFTER THIS LINE */