Move to next flagged message in Mutt
Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like <next-new>
, but for skipping around to the next flagged message. If there's nothing like this in Mutt, can I fake it with macros?
mutt
add a comment |
Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like <next-new>
, but for skipping around to the next flagged message. If there's nothing like this in Mutt, can I fake it with macros?
mutt
add a comment |
Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like <next-new>
, but for skipping around to the next flagged message. If there's nothing like this in Mutt, can I fake it with macros?
mutt
Is it possible to move to the next flagged message in Mutt? In looking at the development manual, I wasn't able to see anything that would let me do this. I'm looking for something like <next-new>
, but for skipping around to the next flagged message. If there's nothing like this in Mutt, can I fake it with macros?
mutt
mutt
asked Aug 15 '14 at 15:50
Aaron MasseyAaron Massey
17719
17719
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Just search for the next flagged message: /
followed by ~F
. Well, the only drawback is that this doesn't work from the pager menu (but this would be a valid RFE).
And you can write a macro with the value: <search>~Fr
Note: similarly, I suppose that <next-new>
is almost the same as <search>~Nr
in the index menu (the only difference I can see is the different error message when there are no new messages).
Note 2: from the pager, I suppose that a macro <exit><search>~Fr<display-message>
would do what you want.
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
See alsol
(and then enter~F
) to limit the view to only the flagged messages.
– Stéphane Chazelas
Aug 15 '14 at 20:24
1
And RTFM: Have a look atman muttrc
. Tryman -Pless +/flagged muttrc
orman -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
add a comment |
Bind important messages to I
keypress in .muttrc
In addition to vinc17's correct answer, I would present two lines I've added into my .muttrc
# Bind to I key in index view:
macro index I "<search>~Fn" "Search for next important"
# Bint to I key in pager:
macro pager I "<exit><search>~Fn<display-message>" "Jump to next important"
Nota: I've choosed I
after reading help in both mode and ensuring previous use of I
(uppercase) will prompt Key is not bound. Press '?' for help.
in both context.
add a comment |
To do the same for tagged messages, just use ~T
instead of ~F
.
See also this.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f150427%2fmove-to-next-flagged-message-in-mutt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just search for the next flagged message: /
followed by ~F
. Well, the only drawback is that this doesn't work from the pager menu (but this would be a valid RFE).
And you can write a macro with the value: <search>~Fr
Note: similarly, I suppose that <next-new>
is almost the same as <search>~Nr
in the index menu (the only difference I can see is the different error message when there are no new messages).
Note 2: from the pager, I suppose that a macro <exit><search>~Fr<display-message>
would do what you want.
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
See alsol
(and then enter~F
) to limit the view to only the flagged messages.
– Stéphane Chazelas
Aug 15 '14 at 20:24
1
And RTFM: Have a look atman muttrc
. Tryman -Pless +/flagged muttrc
orman -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
add a comment |
Just search for the next flagged message: /
followed by ~F
. Well, the only drawback is that this doesn't work from the pager menu (but this would be a valid RFE).
And you can write a macro with the value: <search>~Fr
Note: similarly, I suppose that <next-new>
is almost the same as <search>~Nr
in the index menu (the only difference I can see is the different error message when there are no new messages).
Note 2: from the pager, I suppose that a macro <exit><search>~Fr<display-message>
would do what you want.
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
See alsol
(and then enter~F
) to limit the view to only the flagged messages.
– Stéphane Chazelas
Aug 15 '14 at 20:24
1
And RTFM: Have a look atman muttrc
. Tryman -Pless +/flagged muttrc
orman -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
add a comment |
Just search for the next flagged message: /
followed by ~F
. Well, the only drawback is that this doesn't work from the pager menu (but this would be a valid RFE).
And you can write a macro with the value: <search>~Fr
Note: similarly, I suppose that <next-new>
is almost the same as <search>~Nr
in the index menu (the only difference I can see is the different error message when there are no new messages).
Note 2: from the pager, I suppose that a macro <exit><search>~Fr<display-message>
would do what you want.
Just search for the next flagged message: /
followed by ~F
. Well, the only drawback is that this doesn't work from the pager menu (but this would be a valid RFE).
And you can write a macro with the value: <search>~Fr
Note: similarly, I suppose that <next-new>
is almost the same as <search>~Nr
in the index menu (the only difference I can see is the different error message when there are no new messages).
Note 2: from the pager, I suppose that a macro <exit><search>~Fr<display-message>
would do what you want.
edited Aug 15 '14 at 16:49
answered Aug 15 '14 at 16:13
vinc17vinc17
9,0741736
9,0741736
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
See alsol
(and then enter~F
) to limit the view to only the flagged messages.
– Stéphane Chazelas
Aug 15 '14 at 20:24
1
And RTFM: Have a look atman muttrc
. Tryman -Pless +/flagged muttrc
orman -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
add a comment |
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
See alsol
(and then enter~F
) to limit the view to only the flagged messages.
– Stéphane Chazelas
Aug 15 '14 at 20:24
1
And RTFM: Have a look atman muttrc
. Tryman -Pless +/flagged muttrc
orman -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
Cool, thanks. I knew I was missing something. I didn't think about using a pattern in a search like that.
– Aaron Massey
Aug 15 '14 at 16:46
1
1
See also
l
(and then enter ~F
) to limit the view to only the flagged messages.– Stéphane Chazelas
Aug 15 '14 at 20:24
See also
l
(and then enter ~F
) to limit the view to only the flagged messages.– Stéphane Chazelas
Aug 15 '14 at 20:24
1
1
And RTFM: Have a look at
man muttrc
. Try man -Pless +/flagged muttrc
or man -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
And RTFM: Have a look at
man muttrc
. Try man -Pless +/flagged muttrc
or man -Pcol -b muttrc | sed '/^[A-Z ] {0,5}[^ ]/H;/flagged/{x;p;x;q;};d'
– F. Hauri
May 20 '17 at 9:00
add a comment |
Bind important messages to I
keypress in .muttrc
In addition to vinc17's correct answer, I would present two lines I've added into my .muttrc
# Bind to I key in index view:
macro index I "<search>~Fn" "Search for next important"
# Bint to I key in pager:
macro pager I "<exit><search>~Fn<display-message>" "Jump to next important"
Nota: I've choosed I
after reading help in both mode and ensuring previous use of I
(uppercase) will prompt Key is not bound. Press '?' for help.
in both context.
add a comment |
Bind important messages to I
keypress in .muttrc
In addition to vinc17's correct answer, I would present two lines I've added into my .muttrc
# Bind to I key in index view:
macro index I "<search>~Fn" "Search for next important"
# Bint to I key in pager:
macro pager I "<exit><search>~Fn<display-message>" "Jump to next important"
Nota: I've choosed I
after reading help in both mode and ensuring previous use of I
(uppercase) will prompt Key is not bound. Press '?' for help.
in both context.
add a comment |
Bind important messages to I
keypress in .muttrc
In addition to vinc17's correct answer, I would present two lines I've added into my .muttrc
# Bind to I key in index view:
macro index I "<search>~Fn" "Search for next important"
# Bint to I key in pager:
macro pager I "<exit><search>~Fn<display-message>" "Jump to next important"
Nota: I've choosed I
after reading help in both mode and ensuring previous use of I
(uppercase) will prompt Key is not bound. Press '?' for help.
in both context.
Bind important messages to I
keypress in .muttrc
In addition to vinc17's correct answer, I would present two lines I've added into my .muttrc
# Bind to I key in index view:
macro index I "<search>~Fn" "Search for next important"
# Bint to I key in pager:
macro pager I "<exit><search>~Fn<display-message>" "Jump to next important"
Nota: I've choosed I
after reading help in both mode and ensuring previous use of I
(uppercase) will prompt Key is not bound. Press '?' for help.
in both context.
answered May 20 '17 at 9:44
F. HauriF. Hauri
2,7571528
2,7571528
add a comment |
add a comment |
To do the same for tagged messages, just use ~T
instead of ~F
.
See also this.
add a comment |
To do the same for tagged messages, just use ~T
instead of ~F
.
See also this.
add a comment |
To do the same for tagged messages, just use ~T
instead of ~F
.
See also this.
To do the same for tagged messages, just use ~T
instead of ~F
.
See also this.
edited Feb 28 at 21:33
answered Feb 28 at 21:14
Gen.StackGen.Stack
1447
1447
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f150427%2fmove-to-next-flagged-message-in-mutt%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown