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
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
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
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.
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
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
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
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
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
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
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
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'
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
13 matches
Mail list logo