Re: Mailbox browser doesn't trigger mail check

2025-07-27 Thread googly . negotiator862
On Wed, Jun 04, 2025 at 03:00:15AM +0200, Nickolai Dobrynin wrote: > I would like to press 'y' (), leave the mutt > session idle, and still be notified of new mail. Is this possible? ... > Entering a mailbox (any mailbox) does get me notified, but not until > I leave the m

Mailbox browser doesn't trigger mail check

2025-06-03 Thread Nickolai Dobrynin
I would like to press 'y' (), leave the mutt session idle, and still be notified of new mail. Is this possible? I use isync. Sync'ing my mail ahead of time and subsequently running 'mutt -y' works as expected, but I get no further notifications. Entering a mailbox

Re: Auto jump to next mailbox from pager

2024-12-31 Thread Christian Ebert
next mailbox with new messages (or unread, but that's not too important) when there are no more in the current mailbox? Not exactly what you want, but did you try the next-unread-mailbox function? Hmmm. I knew there was *some* command like that, I did not remember it or how to find it this

Re: Auto jump to next mailbox from pager

2024-12-30 Thread Will Yardley
key in the pager keymap) > > > go to the next mailbox with new messages (or unread, but that's > > > not too important) when there are no more in the current mailbox? > > > Not exactly what you want, but did you try the next-unread-mailbox > > function? &

Re: Auto jump to next mailbox from pager

2024-12-30 Thread googly . negotiator862
On Mon, Dec 30, 2024 at 11:35:42PM +, Christian Ebert wrote: > > is there a way to make the command which moves to the next new or > > unread message in the pager (bound to Tab key in the pager keymap) > > go to the next mailbox with new messages (or unread, but that'

Re: Auto jump to next mailbox from pager

2024-12-30 Thread Christian Ebert
* googly.negotiator...@aceecat.org on Wednesday, December 11, 2024 at 09:34:08 -0800: is there a way to make the command which moves to the next new or unread message in the pager (bound to Tab key in the pager keymap) go to the next mailbox with new messages (or unread, but that's no

Auto jump to next mailbox from pager

2024-12-11 Thread googly . negotiator862
Dear list, is there a way to make the command which moves to the next new or unread message in the pager (bound to Tab key in the pager keymap) go to the next mailbox with new messages (or unread, but that's not too important) when there are no more in the current mailbox? Right now it p

Re: Default save mailbox from a script

2023-07-31 Thread Nicolas George
't easily express what you want with a collection of > save hooks in the right order with clever patterns. My main purpose is to group threads in the same mailbox. For that, the external command will have an index of all the message-id in my archives, as people can reply months later. That w

Re: Default save mailbox from a script

2023-07-30 Thread Jon LaBadie
On Sun, Jul 30, 2023 at 03:59:57PM +0200, Nicolas George wrote: Hi. I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being c

Re: Default save mailbox from a script

2023-07-30 Thread Cameron Simpson
On 30Jul2023 15:59, Nicolas George wrote: I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being chosen from save-hooks o

Default save mailbox from a script

2023-07-30 Thread Nicolas George
Hi. I want to use an external command to decide in what mailbox to save messages. When I hit ‘s’ with its default action of save-message, mutt asks “Save to mailbox ('?' for list): =ml/debian”, with the default being chosen from save-hooks or from the author of the mail. What I want

Re: Deleting large number of emails from busy mailbox

2023-04-17 Thread Sam Kuper
On Wed, Mar 15, 2023 at 08:47:44AM +0100, Vegard Svanberg wrote: > Multi-threaded GUI version coming up any time soon? ;-) Let's hope not. That would massively increase Mutt's attack surface and the burden on its maintainer. People who really want to expose themselves to the risk that multi-thre

Re: Deleting large number of emails from busy mailbox

2023-03-15 Thread Vegard Svanberg
* Kevin J. McCarthy [2023-03-14 19:16]: > > After reading the fine manual, I don't see an immediate way to disable > > trash. Assuming I'll have to move it to IMAP then. Which is fine, just > > wondering if trash could be disabled as I don't really need it. > > $trash starts out empty, so there

Re: Deleting large number of emails from busy mailbox

2023-03-15 Thread Vegard Svanberg
* Patrick Shanahan [2023-03-14 12:56]: > > After reading the fine manual, I don't see an immediate way to disable > > trash. Assuming I'll have to move it to IMAP then. Which is fine, just > > wondering if trash could be disabled as I don't really need it. > > you haven't gone deep enough. [sni

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Kevin J. McCarthy
On Tue, Mar 14, 2023 at 08:40:24AM +0100, Vegard Svanberg wrote: After reading the fine manual, I don't see an immediate way to disable trash. Assuming I'll have to move it to IMAP then. Which is fine, just wondering if trash could be disabled as I don't really need it. $trash starts out empty,

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Patrick Shanahan
* Vegard Svanberg [03-14-23 03:41]: > * Kevin J. McCarthy [2023-03-13 21:07]: > > > Do you mean the 2000 emails you want to delete, or the half-million emails > > in the mailbox? > > The 2000 I want to delete, yes. :-) > > > If it's the first, it sounds

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Vegard Svanberg
* Dan Ritter [2023-03-14 00:29]: > You could: > * operate on local storage with mutt -f Maildir/ That's actually slower than letting Dovecot handling it... > or > * build lists with doveadm-search and delete with > doveadm-expunge That's a good idea, I'll look into that. Thanks. >

Re: Deleting large number of emails from busy mailbox

2023-03-14 Thread Vegard Svanberg
* Kevin J. McCarthy [2023-03-13 21:07]: > Do you mean the 2000 emails you want to delete, or the half-million emails > in the mailbox? The 2000 I want to delete, yes. :-) > If it's the first, it sounds as if Mutt thinks the value in $trash is not > the same server as th

Re: Deleting large number of emails from busy mailbox

2023-03-13 Thread Kevin J. McCarthy
On Mon, Mar 13, 2023 at 08:47:14AM +0100, Vegard Svanberg wrote: Latest mutt on local IMAP (Dovecot). My mailbox is rather busy (and contains around half a million emails). Say I want to delete 2000 emails. I tag them, ;d and press X to expunge. Mutt starts fetching every email (not sure why

Re: Deleting large number of emails from busy mailbox

2023-03-13 Thread Kira Oakley
On 03/13 08:47, Vegard Svanberg wrote: > Hi, > > Latest mutt on local IMAP (Dovecot). > > My mailbox is rather busy (and contains around half a million emails). > > Say I want to delete 2000 emails. > > I tag them, ;d and press X to expunge. Mutt starts fetching

Deleting large number of emails from busy mailbox

2023-03-13 Thread Vegard Svanberg
Hi, Latest mutt on local IMAP (Dovecot). My mailbox is rather busy (and contains around half a million emails). Say I want to delete 2000 emails. I tag them, ;d and press X to expunge. Mutt starts fetching every email (not sure why that is - does it have to?), then would normally remove them

Re: macro does not work when mailbox opened read-only

2022-08-11 Thread Fourhundred Thecat
> On 2022-08-11 02:22, Cameron Simpson wrote: On 10Aug2022 11:10, todd zullinger wrote: Fourhundred Thecat wrote: When I delete my custom macro, and revert "q" to its default action, then I get this message when exiting from mutt (case 2): Purge 1 deleted message? ([yes]/no): Aye, what t

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Cameron Simpson
On 10Aug2022 11:10, todd zullinger wrote: >Fourhundred Thecat wrote: >> When I delete my custom macro, and revert "q" to its default action, >> then I get this message when exiting from mutt (case 2): >> >> Purge 1 deleted message? ([yes]/no): >> >> When I create custom macro to sync automatical

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Todd Zullinger
Fourhundred Thecat wrote: > I am using mutt in 2 modes: > > 1) mutt -R -f folder > 2) mutt-f folder > > In case 1), pressing "q" should simply exit. This is read-only mode and > there are no messages to be deleted. > > In case 2), pressing "q" should exit while also automatically deletin

Re: macro does not work when mailbox opened read-only

2022-08-10 Thread Fourhundred Thecat
On 2022-08-08 22:15, Derek Martin wrote: On Fri, Jul 29, 2022 at 08:15:31AM +0200, Fourhundred Thecat wrote: Hello, I have custom macro "q" for exit: macro index q ";" but when I open mailbox read-only, I am not able to exit from mutt: AFAICT this macro does nothin

Re: macro does not work when mailbox opened read-only

2022-08-08 Thread Derek Martin
On Fri, Jul 29, 2022 at 08:15:31AM +0200, Fourhundred Thecat wrote: > Hello, > > I have custom macro "q" for exit: > > macro index q ";" > > but when I open mailbox read-only, I am not able to exit from mutt: AFAICT this macro does nothing usef

macro does not work when mailbox opened read-only

2022-07-28 Thread Fourhundred Thecat
Hello, I have custom macro "q" for exit: macro index q ";" but when I open mailbox read-only, I am not able to exit from mutt: Mailbox is read-only. the key "q' does not work. is there any workaround to solve this?

Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Kevin J. McCarthy
On Fri, Jun 03, 2022 at 05:48:55AM +, Sam Lee via Mutt-users wrote: Is there some kind of setting similar to "set sidebar_use_mailbox_shortcuts=no", but for the mailbox browser? 'unset browser_abbreviate_mailboxes' might work for you. -- Kevin J. McCarthy GPG Fingerp

Re: How to disable mailbox shortcuts in mailbox browser

2022-06-03 Thread Sam Lee via Mutt-users
On 2022-06-03 05:48 +, Sam Lee via Mutt-users wrote: > In the sidebar, my mailbox is displayed in a format like > "imaps://john-...@example.com/INBOX". However, in the mailbox browser > (accessed using keybinding 'y' or :exec browse-mailboxes), it is > displ

How to disable mailbox shortcuts in mailbox browser

2022-06-02 Thread Sam Lee via Mutt-users
In the sidebar, my mailbox is displayed in a format like "imaps://john-...@example.com/INBOX". However, in the mailbox browser (accessed using keybinding 'y' or :exec browse-mailboxes), it is displayed as "=INBOX". In the mailbox browser, how do I make Mu

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
On Thu, Jan 27, 2022 at 10:46:53PM +0300, Oleg A. Mamontov wrote: > I successfully use the below approach for syncing current folder with > the same on IMAP: > --- > folder-hook . "source ~/.mutt/on-folder-change.muttrc" > --- > > where on-folder-change.muttrc is: > --- > set record = ^ > set my_f

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Oleg A. Mamontov
an 27, 2022 at 05:31:01PM +, Chris Green wrote: > Is there a way of accessing the current mailbox name (i.e. for maildir > the directory name) in mutt? IIRC, the caret symbol (^) can be used as a shortcut for the current mailbox. Possibly relevant sections of the manual: http://www.mutt.o

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
On Thu, Jan 27, 2022 at 06:07:39PM +, Sam Kuper wrote: > On Thu, Jan 27, 2022 at 05:31:01PM +, Chris Green wrote: > > Is there a way of accessing the current mailbox name (i.e. for maildir > > the directory name) in mutt? > > IIRC, the caret symbol (^) can be used

Re: Can one get at the current mailbox name (directory)?

2022-01-27 Thread Sam Kuper
On Thu, Jan 27, 2022 at 05:31:01PM +, Chris Green wrote: > Is there a way of accessing the current mailbox name (i.e. for maildir > the directory name) in mutt? IIRC, the caret symbol (^) can be used as a shortcut for the current mailbox. Possibly relevant sections of the manual:

Can one get at the current mailbox name (directory)?

2022-01-27 Thread Chris Green
Is there a way of accessing the current mailbox name (i.e. for maildir the directory name) in mutt? This is so I can put it in things like a 'set editor=' command to pass to the 'editor'. -- Chris Green

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
t; > > Well I have now and it doesn't appear to work. > > > > I have put the following in my muttrc file:- > > > > folder-hook . set mbox_type=maildir > > folder-hook 'folder/.*' set mbox_type=mbox > > > > ... and when I save mail in the folder hierarchy it's still in maildir > > format. > > > ... and I have also tried:- > > folder-hook . set mbox_type=maildir > folder-hook '~/mail/folder/.*' set mbox_type=mbox > > It still doesn't work. > On thinking about it this isn't likely to work as folder-hook gets actioned when reading the mailbox. I'm not reading the mailbox, I'm saving to it. What I want is a save-hook that allows me to set the mbox_type. -- Chris Green

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 09:15:06PM +0100, Chris Green wrote: > On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > > * Chris Green [06-24-21 12:16]: > > > It's a bit difficult to explain this. > > > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > > sub

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > * Chris Green [06-24-21 12:16]: > > It's a bit difficult to explain this. > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > sub-directory? > > > > E.g. can one produce an RE for all the sub-directori

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
On Thu, Jun 24, 2021 at 12:30:35PM -0400, Patrick Shanahan wrote: > * Chris Green [06-24-21 12:16]: > > It's a bit difficult to explain this. > > > > Is it possible for a folder-hook RE to apply to all mailboxes in a > > sub-directory? > > > > E.g. can one produce an RE for all the sub-directori

Re: Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Patrick Shanahan
* Chris Green [06-24-21 12:16]: > It's a bit difficult to explain this. > > Is it possible for a folder-hook RE to apply to all mailboxes in a > sub-directory? > > E.g. can one produce an RE for all the sub-directories of ~/mail/folder? > All my actual mailboxes are two levels further down:- >

Can folder-hook refer to a sub-directory mailbox?

2021-06-24 Thread Chris Green
It's a bit difficult to explain this. Is it possible for a folder-hook RE to apply to all mailboxes in a sub-directory? E.g. can one produce an RE for all the sub-directories of ~/mail/folder? All my actual mailboxes are two levels further down:- ./folder/france ./folder/france/jobs

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 07:13:05PM +0100, Genética wrote: On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set folder="XX

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 01:14:31AM +0300, Oleg A. Mamontov wrote: 'full' is the name of my mbsync channel defined in ~/.mbsynrc: --- # full set of mailboxes Channel full ... --- It was just an example that you need to correct according to your mbsync setup. I see. I group different channels o

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 01:02:38AM +0300, Oleg A. Mamontov wrote: I guess your folder names differ from mine. You can debug step by step, start from keeping only the first assignment: --- set record = ^ --- Launch mutt and check the result pressing :echo $record Then, you can adjust the sed patt

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:58:22PM +0100, Angel M Alganza wrote: On Mon, Feb 15, 2021 at 10:40:18PM +0100, Genética wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. F

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:40:18PM +0100, Angel M Alganza wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro index,pa

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 10:40:18PM +0100, Genética wrote: On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro index,pager o "

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 12:26:54AM +0300, Oleg A. Mamontov wrote: Then what should I do to mbsync the current maildir? Hitting ESC-o doesn't seem to do it. Yes, it is. For debug I suggest to simplify macro as: --- macro index,pager o "mbsync full:$record" Nice. It shows that: Shell comma

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 10:16:33PM +0100, Angel M Alganza wrote: On Tue, Feb 16, 2021 at 12:00:35AM +0300, Oleg A. Mamontov wrote: The below approach works for me, probably it can be helpful somehow: .muttrc --- # the very first folder-hook folder-hook . "source ~/.mutt/on-folder-change.muttrc

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Tue, Feb 16, 2021 at 12:00:35AM +0300, Oleg A. Mamontov wrote: The below approach works for me, probably it can be helpful somehow: .muttrc --- # the very first folder-hook folder-hook . "source ~/.mutt/on-folder-change.muttrc" --- # .mutt/on-folder-change.muttrc --- set record = ^ set reco

Re: Macro to apply on current mailbox

2021-02-15 Thread Oleg A. Mamontov
On Mon, Feb 15, 2021 at 07:13:05PM +0100, Angel M Alganza wrote: On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set fol

Re: Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
On Mon, Feb 15, 2021 at 09:43:39AM -0800, Kevin J. McCarthy wrote: On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set folder="XXX";set visual=^' folder-hook . 'setenv MYSYNCFOLDER

Re: Macro to apply on current mailbox

2021-02-15 Thread Kevin J. McCarthy
On Mon, Feb 15, 2021 at 10:35:25AM +0100, Angel M Alganza wrote: # Need to upgrade to > 1.8.0 (setenv) folder-hook . 'set my_folder=$folder;set folder="XXX";set visual=^' folder-hook . 'setenv MYSYNCFOLDER $visual' folder-hook . 'set folder=$my_folder' macr

Macro to apply on current mailbox

2021-02-15 Thread Angel M Alganza
Hello: I am trying to build a macro to apply a function to the current maildir, but I can't find the way to capture the current maildir into a variable. The idea is as follows: I synch my mail with mbsync, which I run from a crontab entry at different time intervals for different mail folders

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Cameron Simpson
from work etc. OTOH, if work and personal just forward to some common mail address then you're in split up the premixed stream, and back into rules of the form you're already using. In my case, I pull from a work mailbox into a distinct spool, and process that spool as "from wor

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Kevin J. McCarthy
On Fri, Jun 05, 2020 at 04:15:10PM +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. I have a couple suggestions. The firs

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Ben Boeckel
On Fri, Jun 05, 2020 at 07:33:04 -0700, Felix Finch wrote: > Out of curiosity, could you show your offlineimap usage? I have a > manually generated list of mboxes. It doesn't change often, but it > would be nice to do it "properly". I looked at offlineimap some time > ago, and again just now, an

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Felix Finch
On 20200605, Ben Boeckel wrote: On Fri, Jun 05, 2020 at 16:15:10 +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. See the

Re: Using Maildir format, changing mailbox

2020-06-05 Thread José María Mateos
On Fri, Jun 05, 2020 at 04:15:10PM +0200, mutt...@mail.com wrote: What I'd like is that when I press '?' I get a list of *mailboxes* rather than directories, because, as a user, I'm really not interested in directories, I only want to know about mailboxes. I also use the Maildir format and I ge

Re: Using Maildir format, changing mailbox

2020-06-05 Thread Ben Boeckel
On Fri, Jun 05, 2020 at 16:15:10 +0200, mutt...@mail.com wrote: > What I'd like is that when I press '?' I get a list of *mailboxes* > rather than directories, because, as a user, I'm really not interested > in directories, I only want to know about mailboxes. See the `mailboxes` command. mailbox

Using Maildir format, changing mailbox

2020-06-05 Thread mutt-ml
rk/ # play :0: * ^(From|Cc|To).*someb...@example.org Play/ # rest :0 Mail/ When I open Mutt it starts in the Mail mailbox. Okay, fair enough, it has to start somewhere. But then I press 'c' to change mailbox and, if I can't remember what mailboxes I have (seriously, I have a *lot*), c

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Patrick Shanahan
; > Marty > > On 01/21/20 11:14 -0500, Patrick Shanahan wrote: > > * Patrick Shanahan [01-21-20 11:09]: > > > * Fred Smith [01-21-20 10:59]: > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > > > don

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Fred Smith
On Tue, Jan 21, 2020 at 11:08:21AM -0500, Patrick Shanahan wrote: > * Fred Smith [01-21-20 10:59]: > > Hi! > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > don't want to delete. All those now have a status flag o

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Fred Smith
* Patrick Shanahan [01-21-20 11:09]: > >>* Fred Smith [01-21-20 10:59]: > >>>I've got a mailbox with quite a few msgs in it, some I've never read but > >>>don't want to delete. All those now have a status flag of "O", so if I > >>

Re: clearing flags on all mails in a mailbox?

2020-01-23 Thread Marty Buchaus
11:09]: * Fred Smith [01-21-20 10:59]: I've got a mailbox with quite a few msgs in it, some I've never read but don't want to delete. All those now have a status flag of "O", so if I enter that mailbox when there are no "N" messages in it, mutt goes to the fir

Re: clearing flags on all mails in a mailbox?

2020-01-21 Thread Patrick Shanahan
* Patrick Shanahan [01-21-20 11:09]: > * Fred Smith [01-21-20 10:59]: > > Hi! > > > > I've got a mailbox with quite a few msgs in it, some I've never read but > > don't want to delete. All those now have a status flag of "O", so if I > &g

Re: clearing flags on all mails in a mailbox?

2020-01-21 Thread Patrick Shanahan
* Fred Smith [01-21-20 10:59]: > Hi! > > I've got a mailbox with quite a few msgs in it, some I've never read but > don't want to delete. All those now have a status flag of "O", so if I > enter that mailbox when there are no "N" messages in it,

clearing flags on all mails in a mailbox?

2020-01-21 Thread Fred Smith
Hi! I've got a mailbox with quite a few msgs in it, some I've never read but don't want to delete. All those now have a status flag of "O", so if I enter that mailbox when there are no "N" messages in it, mutt goes to the first "O" mail. One way I c

Re: mailbox shortcut '^' is unset

2019-08-11 Thread Oliver Graute
On 10/08/19, Kevin J. McCarthy wrote: > On Sat, Aug 10, 2019 at 02:20:32PM +0200, Oliver Graute wrote: > >folder-hook ^pop 'set read_inc=1' > > See <http://www.mutt.org/doc/manual/#mailbox-hook> > > The ^ is being interpreted as a mailbox shortcut, not &qu

Re: mailbox shortcut '^' is unset

2019-08-10 Thread Kevin J. McCarthy
On Sat, Aug 10, 2019 at 02:20:32PM +0200, Oliver Graute wrote: folder-hook ^pop 'set read_inc=1' See <http://www.mutt.org/doc/manual/#mailbox-hook> The ^ is being interpreted as a mailbox shortcut, not "beginning of string". Instead you can try enclosing the regexp

mailbox shortcut '^' is unset

2019-08-10 Thread Oliver Graute
27;set read_inc=1' Since a Ubuntu update from 14.04 to 16.04. It's causing the following error on mutt startup: Fehler in /home/oliver/.muttrc, Zeile 11: current mailbox shortcut '^' is unset Fehler in /home/oliver/.muttrc, Zeile 13: current m

Re: Confirm on new mailbox creation

2019-07-03 Thread Hokan
Thank you! On Wed, Jul 03, 2019 at 12:05:20PM -0700, Kevin J. McCarthy wrote: > On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: > >How can I suppress the mailbox creation prompt? > > Try 'unset confirmcreate' -- Hokan Bicyclist Sysadmin

Re: Confirm on new mailbox creation

2019-07-03 Thread Kevin J. McCarthy
On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: How can I suppress the mailbox creation prompt? Try 'unset confirmcreate' -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature

Confirm on new mailbox creation

2019-07-03 Thread Hokan
Hello Mutt users, I'm getting a mailbox creation prompt that I don't want. I have a couple of muttrc lines that help me auto-organize my sent and deleted mail: set record="+sent-mutt/`date +%Y/%Y-%m`-sent-mail" set trash="+deleted-mutt/`date +%Y/%Y-%m`-deleted-mail

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
Well I'm still flummoxed a bit as I'm almost 100% sure nothing has changed since Mutt was working and now when it doesn't. That said, I tend to feel it has something to do with Gmail organizing messages into the tabs. Like maybe Google moving messages somehow seems like a deletion to Mutt? P

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 10:47:59AM -0700, Kevin J. McCarthy wrote: However, I apologize: you are right. Mutt doesn't stop checking for new mail, but it looks like it may be discarding the previous notification. I will take a look at this. I've added a fix for this in commit e3f66d7e, which wi

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
ah right. I wasn't thinking – it bounced because of attachment. It was just a picture of mutt displaying "mailbox unchanged" and Chrome displaying 4 new messages. thanks! On Wed, Jun 5, 2019 at 1:48 PM Kevin J. McCarthy wrote: > On Wed, Jun 05, 2019 at 09:57:18AM -0700,

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 09:57:18AM -0700, Kevin J. McCarthy wrote: On Wed, Jun 05, 2019 at 12:15:10PM -0400, Ben Gold wrote: And what happens is Mutt ends up giving me this error and then I can't receive any new mail without quitting and restarting it. I can't answer what has changed in your e

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Kevin J. McCarthy
On Wed, Jun 05, 2019 at 12:15:10PM -0400, Ben Gold wrote: And what happens is Mutt ends up giving me this error and then I can't receive any new mail without quitting and restarting it. I can't answer what has changed in your environment, but this is not true. Mutt doesn't enter a state where

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
ow it seems like whenever I get an email, instead of showing > >an unread message I just get this error: > >"mailbox externally modified. flags may be wrong" > >I haven't changed anything (that I'm aware of) in mutt or in my email > >habits

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread Hokan
On Wed, Jun 05, 2019 at 10:18:10AM -0400, Ben Gold wrote: >Mutt was working for me (to check my gmail account) for about a >month.? Now it seems like whenever I get an email, instead of showing >an unread message I just get this error: >"mailbox externally modif

Re: "mailbox externally modified. flags may be wrong"

2019-06-05 Thread hymie!
n that mutt is aware that something happened, and that it knows it may no longer be an authoritative indication of what your mailbox looks like. --hymie! On Wed, Jun 05, 2019 at 10:18:10AM -0400, Ben Gold wrote: > Mutt was working for me (to check my gmail account) for about a month. Now > it see

"mailbox externally modified. flags may be wrong"

2019-06-05 Thread Ben Gold
Mutt was working for me (to check my gmail account) for about a month. Now it seems like whenever I get an email, instead of showing an unread message I just get this error: "mailbox externally modified. flags may be wrong" I haven't changed anything (that I'm aware of) in

Re: save and select from mailbox list

2018-12-08 Thread Cameron Simpson
gt; my first attempt was a macro with "?", but of > course I can't get past without first entering a folder at the > prompt. I had the cursor on your message, in the index, and hit 's' -- it prompted me for the mailbox name, '?' brought up the full list.

Re: save and select from mailbox list

2018-11-30 Thread benfitzg
t; my first attempt was a macro with "?", but of > > course I can't get past without first entering a folder at > > the > > prompt. > > I had the cursor on your message, in the index, and hit 's' -- it prompted me > for the mailbox name, '?

Re: save and select from mailbox list

2018-11-30 Thread Felix Finch
ut first entering a folder at the > prompt. I had the cursor on your message, in the index, and hit 's' -- it prompted me for the mailbox name, '?' brought up the full list. What am I missing? That sounds like what you want. -- ... _._. ._ ._. . _._. ._. ___ .__ ._

save and select from mailbox list

2018-11-30 Thread benfitzg
Hi if i have a mail selected in the index and want to save and then be prompted to select one of my mailboxes, how can this be done? my first attempt was a macro with "?", but of course I can't get past without first entering a folder at the prompt. thanks, -- Ben Fitzgerald

Re: Question about saving sent mail to current mailbox

2018-04-25 Thread David J. Weller-Fahy
* David J. Weller-Fahy [2018-04-25 21:38 -0400]: I've been dealing with an error whenever mutt starts for a few years now, and finally decided to ask how others have fixed the issue. #v+ folder-hook . "set record=^" #v- Sigh... apparently inspiration required that I send an email to a mailing

Question about saving sent mail to current mailbox

2018-04-25 Thread David J. Weller-Fahy
I've been dealing with an error whenever mutt starts for a few years now, and finally decided to ask how others have fixed the issue. I have all my sent email saved in the current mailbox. I do this using the following setting in my muttrc (per https://gitlab.com/muttmua/mutt/wikis/Mu

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-20 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 09:12:36AM -0500, Ben Boeckel wrote: > On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbox. But can we apply this t

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ben Boeckel
On Thu, Jan 18, 2018 at 13:19:22 -0500, Patrick Shanahan wrote: > the OP has mbox which notmuch doesn't support OP said that it's maildir: On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Oh, I am using Maildir. So maybe some standalone script will help? --Ben

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Patrick Shanahan
* Ben Boeckel [01-18-18 11:40]: > On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbox. But can we apply this to > > multiple > > mailbo

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ben Boeckel
On Thu, Jan 18, 2018 at 17:29:38 +0800, Yubin Ruan wrote: > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched messages in all mail

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Ulrich Lauther
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Hi, > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Darac Marjal
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: Hi, I know one can hit / or l (i.e., limit) and then apply a search pattern to search for messages in the current mailbox. But can we apply this to multiple mailboxes? I would like to search for matched messages in all mailboxes and

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Patrick Shanahan
* Yubin Ruan [01-18-18 04:31]: > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched messages in all mailboxes and > then

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Jörg Sommer
Hi Yubin, Yubin Ruan hat am Thu 18. Jan, 17:49 (+0800) geschrieben: > On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > > Hi, > > > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbo

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 12:27:35PM +0100, Ulrich Lauther wrote: > On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > > Hi, > > > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > > search for messages in the current mailbo

Re: find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote: > Hi, > > I know one can hit / or l (i.e., limit) and then apply a search pattern to > search for messages in the current mailbox. But can we apply this to multiple > mailboxes? I would like to search for matched

find matched message in all mailboxes and put them into a separate mailbox

2018-01-18 Thread Yubin Ruan
Hi, I know one can hit / or l (i.e., limit) and then apply a search pattern to search for messages in the current mailbox. But can we apply this to multiple mailboxes? I would like to search for matched messages in all mailboxes and then put them into a separate mailbox. For example, I have 10

  1   2   3   4   5   6   7   8   9   10   >