Re: choices on reading HTML emails

2018-04-10 Thread Arkadiusz Drabczyk
I use https://raw.githubusercontent.com/tampakrap/bin/master/viewhtmlmail.py. The good thing about it is that it can also display images embedded in html messages. I have this in my .muttrc: macro pager"~/bin/viewhtmlmail.py\n" "ViewHTML in browser" -- Arkadiusz Drabczyk

Re: reference the folder name in a folder-hook push command

2017-12-31 Thread Arkadiusz Drabczyk
On Sat, Dec 30, 2017 at 11:42:41PM +0300, Oleg A. Mamontov wrote: > Thank you for suggestion and explanation, but do I understand right that > there is no way to create internal mutt variable ($my_foo) as > modification of another one ($my_bar)? None that I'm aware of. -- Arkadiusz Drabczyk

Re: reference the folder name in a folder-hook push command

2017-12-28 Thread Arkadiusz Drabczyk
On Thu, Dec 28, 2017 at 07:07:57PM +0300, Oleg A. Mamontov wrote: > Hello, > > On Tue, Dec 26, 2017 at 03:23:50PM +, Arkadiusz Drabczyk wrote: > > On Tue, Dec 26, 2017 at 06:36:20AM +0800, Yubin Ruan wrote: > > > Hi, > > > > > > I have a folder ho

Re: reference the folder name in a folder-hook push command

2017-12-26 Thread Arkadiusz Drabczyk
cord; set record=$my_oldrecord' folder-hook . 'push "!touch /tmp/${my_folder}-touched\n"' -- Arkadiusz Drabczyk

Re: Emacs automatic line wrapping

2017-08-12 Thread Arkadiusz Drabczyk
) buffer-file-name) (string-match ".followup" buffer-file-name) (string-match ".article" buffer-file-name)) (mutt-mode) ))) (add-hook 'find-file-hook 'mutt-mode-hook) Replace `comp' with your hostname as by default mutt uses the hostname to create a message template in /tmp. -- Arkadiusz Drabczyk

Re: Muttrc example needed POP3/SMTP

2017-02-03 Thread Arkadiusz Drabczyk
ve a a message to a given folder or delete a message it's automatically synchronized on both devices. It's very convenient, especially if get a lot of mail. -- Arkadiusz Drabczyk

Re: How to move to a specific message or to the end in a long list?

2016-05-01 Thread Arkadiusz Drabczyk
a n-th message just start typing a number and mutt will say `Jump to message: ' on the bottom. To move to a last number type `:' and then `:exec last-entry', or add a keybinding to ~/.muttrc: macro index B "" Now `B' will jump to the last message in the current mailbox. -- Arkadiusz Drabczyk

Re: select wrapped lines / click long url / bug 3453

2015-11-28 Thread Arkadiusz Drabczyk
g links is to use GNU screen without using a mouse: bind f eval writebuf 'exec /bin/bash -c "firefox $(cat /tmp/screen-exchange)"' However, both solutions require to mark the entire link (unlike aforementioned Gnome terminal) before opening them so they are not that comfortable if the link is very long. -- Arkadiusz Drabczyk

Re: viewing attachments with identical filenames

2015-11-19 Thread Arkadiusz Drabczyk
s behavior - I sent two identically named .pdf files, opened them in turn and both of them were saved to $TMPDIR before opening and handled by mutt in accordance with ~/.mailcap. What mutt version do you use? I tested it on both 1.5.21 and 1.5.24. -- Arkadiusz Drabczyk

Re: Is there a tool I can use to convert a whole email to webpage or something alike?

2015-11-16 Thread Arkadiusz Drabczyk
opening such e-mails; https://github.com/tampakrap/bin/blob/master/viewhtmlmail.py. I have the following line in my ~/.muttrc: macro pager"~/bin/viewhtmlmail.py\n" "View HTML in browser" -- Arkadiusz Drabczyk

Re: search for message id with $1

2015-11-02 Thread Arkadiusz Drabczyk
ke sh and bash: Prepend the name of the variable by a dollar ("$") sign." BTW, ~i $abc doesn't work for me, I get `Empty expression', ~i \$abc and ~i '$abc' return no results, ~i '\$abc' works correctly. If I start mutt like this: $ abc=abc mutt then the following works for me because abc variable is expanded ~i $abc -- Arkadiusz Drabczyk