Re: Emacs-like and key behaviour in index

2019-09-11 Thread Michael Tatge
Hi Neil,

* On Wed, Aug 28, 2019 03:41PM +0100 Neil Woods (nw.pub...@gmail.com) muttered:
> Is there a way to emulate Emacs's behaviour with the  and  keys in
> the Index? E.g. pressing the  key moves the menu selection down until 
> it 
> reaches the bottom, then on the next  key-press the menu selection 
> moves 
> to the centre of the index. And the same in reverse for the  key.
> 
> Is there any key binding, variable or macro available which could enable
> this behaviour?

maybe not exatly what you want but take a look at
$menu_context, $menu_move_off, $menu_scroll

Michael
-- 
PGP-Key-ID: DE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: How do I set up a gmail account?

2019-05-08 Thread Michael Tatge



* On Tue, May 07, 2019 11:56PM -0300 Luciano ES (lucm...@gmail.com) muttered:
> macro index "3"   
> "/root/Mail/gmail"
> 
> I press 3 and mutt opens the gmail folder, but then nothing happens.
> 
> So I tried a command:
> 
> :imap-fetch-mail
> 
> and mutt tells me:
> 
> imap-fetch-mail: unknown command

try :exec imap-fetch-mail

Michael
-- 
PGP-Key-ID: DE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: Hide a message?

2018-12-13 Thread Michael Tatge
Might be a silly question, but why do that in the first place?
I presume imap is accessible locally. 

On 12 December 2018 13:39:25 CET, Victor Sudakov  wrote:
>The dovecot IMAP server keeps its folder (mailbox) metadata as a 
>pseudo-message. When I access those mboxes locally with mutt, I see 
>this pseudo-message but I don't want to.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: throw away signature in reply

2018-09-16 Thread Michael Tatge
* On Sat, Sep 15, 2018 01:26PM +0200 Michael Wagner (wagner_m_bre...@web.de) 
muttered:
> I edit my mails here in mutt with vim. When I reply to a message I don't 
> want to delete the signature from the original poster by myself.

I do this in vim.

" strip quoted signature
autocmd BufRead ~/tmp/mutt* execute 'silent g/^> --\s\=$/,/^$/-1d'

 ^ or whatever your $TMPDIR is

Michael
-- 
PGP-Key-ID: DE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: Mutt - Neomutt and Debian Stretch

2017-11-21 Thread Michael Tatge


* On Tue, Nov 21, 2017 09:21AM -0800 Kevin J. McCarthy (ke...@8t8.us) muttered:
> [Apologies if this turns out to be a dup.  The email I sent yesterday
> appears to have been eaten by a grue.]
> 
> This afternoon, Antonio uploaded the mutt-1.9.1 tarball as the Debian
> unstable mutt package, resolving the ticket I submitted.

Seems to work. Yay.
Had to delete /etc/Muttrc.d/notmuch.rc manually though.

Michael
-- 
PGP-Key-ID: DE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: Using fdm to sync imap folders

2017-05-16 Thread Michael Tatge
On 16 May 2017 17:03:19 CEST, Dirk Fizzlebeef <dirk.fizzleb...@gmail.com> wrote:
>I have an Outlook email address that works very slowly over IMAP. It's
>practically unusable with Mutt's IMAP feature.


Are you already using header cache?
Michael Tatge


Re: [solved] Re: Encoding issue with attachment

2017-05-03 Thread Michael Tatge
* On Wed, Apr 26, 2017 11:34AM +0200 steve (dl...@bluewin.ch) muttered:
> Le 26-04-2017, à 09:41:21 +0200, Michael Tatge a écrit :
> > * On Wed, Apr 26, 2017 08:45AM +0200 steve (dl...@bluewin.ch) muttered:
> > > I have some issue with some attachment that I get when wanting to save
> > > them. For instance, I get this:
> > > 
> > > ./=?iso-8859-1?Q?Convocation_et_Agenda_Comit=E9_Strat=E9gique_2017.04.02?==?iso-8859-1?Q?_-_V2.pdf?=
> > > How can I solve this problem?
> > 
> > set rfc2047_parameters
> 
> Works like a charm.

Maybe $rfc2047_parameters should be set by default?

Michael
-- 
PGP-Key-ID: 0xDE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: Encoding issue with attachment

2017-04-26 Thread Michael Tatge


* On Wed, Apr 26, 2017 08:45AM +0200 steve (dl...@bluewin.ch) muttered:
> I have some issue with some attachment that I get when wanting to save
> them. For instance, I get this:
> 
> ./=?iso-8859-1?Q?Convocation_et_Agenda_Comit=E9_Strat=E9gique_2017.04.02?==?iso-8859-1?Q?_-_V2.pdf?=
> How can I solve this problem?

set rfc2047_parameters
Check the manual for a complete description please.

Michael
-- 
PGP-Key-ID: 0xDE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: How to be warned about non-existent aliases?

2017-04-25 Thread Michael Tatge
Hi,

* On Tue, Apr 25, 2017 10:36AM +0200 Antoine Amarilli (a...@a3nm.net) muttered:
> I was interested to know whether there is a configuration option in mutt
> to warn the user when entering a wrong alias (that is, a recipient that
> does not contain '@' but is not known to mutt's alias database).

not a direct solution to your case, but try to tab-complete aliases. If
they don't complete they are unknown.

Michael
-- 
PGP-Key-ID: 0xDE3C3D3BEEE7D043
Jabber: in...@jabber.de


Re: IMAP && Sent folder

2017-01-29 Thread Michael Tatge
Hi,

* On Sun, Jan 29, 2017 09:24PM +0100 Matthias Apitz (g...@unixarea.de) muttered:
> El día Sunday, January 29, 2017 a las 05:21:01PM +0100, Matthias Apitz 
> escribió:
> 
> > I have created a new IMAP account through the web interface of my ISP. It 
> > has no Sent folder. Can I create this somehow with mutt, which is otherwise 
> > working fine with this account?
> 
> I went to the account with the webmail frontend the ISP offers too and
> sent one mail; now the Sent folder is there and see by mutt with:
> 
> mutt -f imap://imap.1blu.de/Sent

Ccreate-mailbox  create a new mailbox (IMAP only)
 
or just copy/save a message to a new folder.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: You are using wrong SMTP server to send as

2015-12-07 Thread Michael Tatge
* On Mon, Dec 07, 2015 12:11AM -0700 neu pat (syscon...@gmail.com) muttered:
> When I change in mutt configuration:
> set from="info@sys-" #my domain email address
> the mail goes out OK
> 
> But when I use from" ...@gmail.com"
> my shaw mail-server is blocking my outgoing mail.

And that is a good thing(tm). Otherwise your mail-server would be an
open relay.
If you want to use gmail, you have to use their smtp.gmail.com


Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


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

2015-11-16 Thread Michael Tatge
* On Mon, Nov 16, 2015 12:14PM +0100 Francesco Ariis (fa...@ariis.it) muttered:
> I am probably missing something very simple, but how are all the
> solutions proposed in this thread any different than pressing 'v'
> and hen  (to open the html attachment in your x-www-browser)?

You're missing and will be missing the media files. :)
If you just open the html part of a message and don't save the images,
your browser cannot display them.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: save to mailbox appends email address

2015-10-09 Thread Michael Tatge
* On Fri, Oct 09, 2015 10:28AM -0400 Patrick Shanahan (p...@opensuse.org) 
muttered:
> * Xu Wang  [10-09-15 10:18]:
> > I see. Where can I read why this is default? Is it common to save
> > messages to folders with the name of the email address you receive
> > from? Such behavior seems contrary to most workflows I have awareness
> > of.
> > 
> There is documentation included.
>   fcc-hook [!]pattern filename
> When an outgoing message matches pattern, the default
> file name for storing a copy (fcc) will be the given
> filename.

fcc-hook is not relevant here. :)
save-hook if anything.

The OP should check chapter "Using %-expandos in save-hook" in the manual.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: save to mailbox appends email address

2015-10-09 Thread Michael Tatge
* On Fri, Oct 09, 2015 10:08AM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> On Wed, Oct 7, 2015 at 4:18 PM, Michael Tatge <tatg...@gmail.com> wrote:
> > * On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> >> It seems the default behavior of mutt when I press 's' for save is to
> >> put the email address as the folder I want to save to. But I would
> >> prefer to not have this behavior.
> >
> > AFAIK you cannot change the default save pattern (%O)
> 
> I see. Where can I read why this is default? Is it common to save
> messages to folders with the name of the email address you receive
> from? Such behavior seems contrary to most workflows I have awareness
> of.

I guess it's just some default, that will reliably expand to something
useful.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: save to mailbox appends email address

2015-10-09 Thread Michael Tatge
* On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> It seems the default behavior of mutt when I press 's' for save is to
> put the email address as the folder I want to save to. But I would
> prefer to not have this behavior.
> 
> How can I change this behavior? I would prefer to just have a simple
> '=' when I press 's'.

What about:

save-hook . '='
macro index,pager s 

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: save to mailbox appends email address

2015-10-07 Thread Michael Tatge
* On Wed, Oct 07, 2015 03:14PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> It seems the default behavior of mutt when I press 's' for save is to
> put the email address as the folder I want to save to. But I would
> prefer to not have this behavior.

AFAIK you cannot change the default save pattern (%O)

> How can I change this behavior? I would prefer to just have a simple
> '=' when I press 's'.

macro index,pager s '='

But beware, that will overwrite your current save-hooks.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Unexpected behavior with inline latex

2015-09-10 Thread Michael Tatge
* On Thu, Sep 10, 2015 01:37PM +0200 Patrick Sanan (patrick.sa...@gmail.com) 
muttered:
> I'm trying to track down some unexpected behavior.
> The body of an email which produces this behavior for me is on the next line:
> {\cal This does not display

Works here. Maybe some display filter on your side?

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: C-a c binding in pager view

2015-09-07 Thread Michael Tatge
* On Sun, Sep 06, 2015 06:07PM -0700 Ian Zimmerman (i...@buug.org) muttered:
> I've had this in .muttrc for a while (along with other bindings starting
> with \ca):
> 
> macro index,pager \cac "~N" 
> "catch up"
> 
> Until now I always did it from the index, and it works flawlessly.
> 
> Today I tried it in the pager for the first time, and of course
> something exciting and unexpected happens :-)  Mutt says:

 doesn't exist in the pager.
So what happens is mutt sees t (tag-entry), a (create-alias)
Which is what you describe.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: delete a message permanently with Gmail

2015-09-06 Thread Michael Tatge
* On Sun, Sep 06, 2015 12:58AM +0200 Suvayu Ali (fatkasuvayu+li...@gmail.com) 
muttered:
> On Sat, Sep 05, 2015 at 09:10:20PM +0200, Michael Tatge wrote:
> > * On Sat, Sep 05, 2015 10:52AM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> > > Whenever I delete a message, GMail still puts it in All mail. How can
> > > I delete it permanently? 
> > 
> > You can only delete messages in "All mail" via the web frontend. Blame
> > google...
> 
> This is incorrect.  See my comments at the end of this message:
> 
> <http://mid.gmane.org/20150821130614.gd31...@chitra.no-ip.org>

I see, thanks for the pointer.
https://support.google.com/mail/answer/78755?hl=en
"If you delete a message from your inbox or one of your custom folders
in your IMAP client, it will still appear in [Gmail]/All Mail."
[...]
If you delete a message from [Gmail]/Spam or [Gmail]/Trash, it will be
deleted permanently."

https://support.google.com/mail/answer/78892
"Do not save deleted messages to your [Gmail]/Trash folder because this
will delete a message in all folders."

So that's what you need to do. :)
Save messages to be deleted forever in [Gmail]/Trash, then empty
[Gmail]/Trash.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: delete a message permanently with Gmail

2015-09-06 Thread Michael Tatge
* On Sun, Sep 06, 2015 10:54AM +0200 Suvayu Ali (fatkasuvayu+li...@gmail.com) 
muttered:
> On Sun, Sep 06, 2015 at 10:42:56AM +0200, Michael Tatge wrote:
> > So that's what you need to do. :)
> > Save messages to be deleted forever in [Gmail]/Trash, then empty
> > [Gmail]/Trash.
> 
> The simpler method is to just deactivate IMAP access to "All Mail".

Sure, that's easier, but - "All Mail" is a nice feature too. You might
want to hang on to it.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: delete a message permanently with Gmail

2015-09-06 Thread Michael Tatge
* On Sun, Sep 06, 2015 11:26AM +0100 Mick (michaelkintz...@gmail.com) muttered:
> How do I deactivate "All Mail"?

You have to use the web interface for that.
Settings->Labels-> All Mail [_] Show in IMAP (uncheck)

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: delete a message permanently with Gmail

2015-09-05 Thread Michael Tatge
* On Sat, Sep 05, 2015 10:52AM -0400 Xu Wang (xuwang...@gmail.com) muttered:
> Whenever I delete a message, GMail still puts it in All mail. How can
> I delete it permanently? 

You can only delete messages in "All mail" via the web frontend. Blame
google...

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: avoid multiple deletion of same mail?

2015-07-22 Thread Michael Tatge
* On Wed, Jul 22, 2015 11:35AM -0400 Peter P. (peterpar...@fastmail.com) 
muttered:
 I have bound the 'd' key to move mails to a trash folder, and 'D' to
 move an entire thread to a trash folder:
 
  folder-hook . 'macro index,pager d save-message=INBOX.Trash \r
  folder-hook . 'macro index,pager D 
 tag-threadtag-prefixsave-message=INBOX.Trash \r

 This doesn't prevent me from accidentally moving these messages twice,
 eg when the first mails in a thread are deleted using 'd' (and are
 marked deleted accordingly) with a subsequent use of 'D' the entire
 thread, including the messages that got deleted already, gets saved to
 the trash folder again, causing duplicates.

You could use the trash folder patch included in most distros.
Then you wouldn't need those macros.

 Is there a way to execute above scripts only on messages and threads
 whose status is not 'deleted'?

You could add a sync-mailbox after the first macro. Though that might
be expensive depending on the mailbox type and/or unwanted since you
don't get the chance to undo.
With the first message out of the way, you don't get dups.

 PS: Does anyone know of a simple way to disply identical duplicated
 messages with mutt, and optionally delete only the duplicates?

See Section Pattern Modifiers in the Manual.
~=   duplicated messages (see $duplicate_threads)

limit   l   show only messages matching a pattern
delete-pattern  D   delete messages matching a pattern

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: folder-hook pattern param

2015-07-21 Thread Michael Tatge
I should read more carefully.

* On Tue, Jul 21, 2015 10:15AM +0200 I (tatg...@gmail.com) muttered:
 * On Wed, Jul 15, 2015 01:00PM -0700 Ian Zimmerman (i...@buug.org) muttered:
  Which of the following will fire when entering /home/itz/foobar/inbox ?
   ^^
  folder-hook Mail/inbox my_hdr X-Foo: Bar
 
 /home/itz/Mail/inbox
   ^^- match
  no match we're opening /home/itz/foobar/inbox
 
  folder-hook ~/Mail/inbox my_hdr X-Foo: Bar
 
 /home/itz/Mail/inbox
 - match
  no match we're opening /home/itz/foobar/inbox
 
  folder-hook foobar/inbox my_hdr X-Foo: Bar
 
 /home/itz/foobar/inbox
     - depends how you open the folder

match, substring
  
  folder-hook ~/foobar/inbox my_hdr X-Foo: Bar
 
 /home/itz/foobar/inbox
 ^^  - depends how you open the folder

match
 
  folder-hook /home/itz/Mail/inbox my_hdr X-Foo: Bar
 
 /home/itz/Mail/inbox- =inbox, match

no match /home/itz/Mail/inbox != /home/itz/foobar/inbox

  folder-hook /home/itz/foobar/inbox my_hdr X-Foo: Bar
 
 /home/itz/foobar/inbox
 ^^  - depends how you open the folder

match and identical to ~/foobar/inbox

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: folder-hook pattern param

2015-07-21 Thread Michael Tatge
Ian,

* On Wed, Jul 15, 2015 01:00PM -0700 Ian Zimmerman (i...@buug.org) muttered:
 It is not clear from the manual against what the folder-hook command
 matches the given pattern.

folder-hooks use substring matches.

 Let's say my folders are under /home/itz/foobar/ , and /home/itz/Mail is
 a symbolic link to foobar.  Let us further assume the following is set
 globally:
 
 set folder=~/Mail
 
 Which of the following will fire when entering /home/itz/foobar/inbox ?

Well, why didn't you just test it?
So /home/itz/Mail - /home/itz/foobar
and $folder=~/Mail - /home/itz/Mail

 folder-hook ^inbox my_hdr X-Foo: Bar

^ is a shortcut for the current mailbox. It's not BOL here.
Assume ~/Mail/foo is the current mailbox. Then ^inbox is
/home/itz/Mail/foo/inbox - no match

 folder-hook ^=inbox my_hdr X-Foo: Bar

= is a shortcut for $folder
/home/itz/Mail/foo/home/itz/Mail/inbox - no match

 folder-hook Mail/inbox my_hdr X-Foo: Bar

/home/itz/Mail/inbox
  ^^- match

 folder-hook ~/Mail/inbox my_hdr X-Foo: Bar

/home/itz/Mail/inbox
- match

 folder-hook foobar/inbox my_hdr X-Foo: Bar

/home/itz/foobar/inbox
    - depends how you open the folder
If you open via ~/Mail it won't match.

 folder-hook ~/foobar/inbox my_hdr X-Foo: Bar

/home/itz/foobar/inbox
^^  - depends how you open the folder

 folder-hook /home/itz/Mail/inbox my_hdr X-Foo: Bar

/home/itz/Mail/inbox- =inbox, match

 folder-hook /home/itz/foobar/inbox my_hdr X-Foo: Bar

/home/itz/foobar/inbox
^^  - depends how you open the folder

Your best match is spelling out the complete path, to avoid substring
matches with other folders.
folder-hook inbox will match anything with the string inbox.
~/Mail/inbox
/inbox
~/Mail/myinbox
etc.

Let's ignore the symlink for now.
You want to match /home/itz/Mail/inbox and that is =inbox in short.

folder-hook . unmy_hdr X-Foo
folder-hook =inbox my_hdr X-Foo: Bar

 Now assume in addition that inbox is in fact a maildir.
 
 folder-hook ^inbox/ my_hdr X-Foo: Bar

See the note about ^ above. You don't need a trailing / with maildir

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Deleting messages in trash creates duplicates

2015-06-23 Thread Michael Tatge
* On Mon, Jun 22, 2015 11:33PM +0100 Mick (michaelkintz...@gmail.com) muttered:
 Any idea why when I delete messages in trash, it creates duplicate
 messages? Is there another way to delete a single message in the trash
 folder, or empty the whole folder?

You can use either purge-message directly or bind d to purge-message
in the trash folder via a folder-hook.

e.g.

folder-hook . 'bind index,pager d delete-message'
folder-hook +Trash 'bind index,pager d purge-message'

or just unset $trash in the Trash folder

folder-hook . 'set trash=+Trash'
folder-hook +Trash 'unset trash'

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Deleting messages in trash creates duplicates

2015-06-23 Thread Michael Tatge
* On Tue, Jun 23, 2015 10:04AM +0200 I (tatg...@gmail.com) muttered:
 * On Mon, Jun 22, 2015 11:33PM +0100 Mick (michaelkintz...@gmail.com) 
 muttered:
  Any idea why when I delete messages in trash, it creates duplicate
  messages? Is there another way to delete a single message in the trash
  folder, or empty the whole folder?

 [a lot do to, to get messages actually deleted from the trash folder
 using Cedric Duval's trash folder patch]

I guess the trash folder patch should take care of that on its own. It's
really a lot unintuitive fiddling. Cedric are you reading this? :)

OTOH distros including that patch should provide that functionality in
their global mutt config.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: more than one FCC possible?

2015-06-22 Thread Michael Tatge
* On Sun, Jun 21, 2015 06:22PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
 On Sun, Jun 21, 2015 at 4:22 AM, Michael Tatge tatg...@gmail.com wrote:
  * On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
  My goal is to get the message ID from a message I just sent.
 
  Why don't you use $sendmail?
 
 I like to send my mail through Google's smtp. Would I still be able to do 
 that?

Sure why not, the idea is to set $sendmail to a wrapper script that
extracts the mid and then hands the message over to whatever transport
you'd like to use.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: read thread and go to next unread (from pager)

2015-06-21 Thread Michael Tatge
* On Sun, Jun 21, 2015 06:38PM +0200 I (tatg...@gmail.com) muttered:
 * On Sun, Jun 21, 2015 03:59PM +0200 Matthias Vallentin (vallen...@icir.org) 
 muttered:
 macro index ,foo read-threadprevious-undeletednext-new-then-unread
 macro pager ,foo2 \
 exitread-threadprevious-undeletednext-new-then-unreaddisplay-message

It's by far easier, no need for previous-undeleted if resolve is unset.

macro index,pager ,foo 'enter-command set my_resolve=$resolveenter\
enter-command unset resolveenterread-threadnext-new-then-unread\
enter-command set resolve=$my_resolveenter' read thread and go to
next unread message

(Tested) :)

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: read thread and go to next unread (from pager)

2015-06-21 Thread Michael Tatge
* On Sun, Jun 21, 2015 03:59PM +0200 Matthias Vallentin (vallen...@icir.org) 
muttered:
 I would like to make the following index macro work in the pager as
 well:
 
 read-threadprevious-undeletednext-new-then-unread
 
 fails in the pager if there exists an unread message directly after
 the current thread to be read,
 because previous-undeleted goes back one message and thereby marks the
 displayed (unread) message as read and next-new-then-unread then skips
 the message.

So why don't you exit the pager first?
Something like
macro index ,foo read-threadprevious-undeletednext-new-then-unread
macro pager ,foo2 \
exitread-threadprevious-undeletednext-new-then-unreaddisplay-message

might work? (untested)

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: read thread and go to next unread (from pager)

2015-06-21 Thread Michael Tatge
* On Sun, Jun 21, 2015 06:47PM +0200 I (tatg...@gmail.com) muttered:
 * On Sun, Jun 21, 2015 06:38PM +0200 I (tatg...@gmail.com) muttered:
  macro pager ,foo2 \
  exitread-threadprevious-undeletednext-new-then-unreaddisplay-message
 
 macro index,pager ,foo 'enter-command set my_resolve=$resolveenter\
 enter-command unset resolveenterread-threadnext-new-then-unread\
 enter-command set resolve=$my_resolveenter' read thread and go to
 next unread message

Talking to myself again, I should read my messages more carefully before
sending... ;p

macro index,pager ,foo 'enter-command set my_resolve=$resolveenter\
enter-command unset resolveenterread-threadnext-new-then-unread\
enter-command set resolve=$my_resolveenterdisplay-message'\
read thread and display next unread message

Now then, I did try to make no mistake this time.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: more than one FCC possible?

2015-06-21 Thread Michael Tatge
* On Sat, Jun 20, 2015 11:53PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
 My goal is to get the message ID from a message I just sent. One way I
 am thinking of doing this is copying a message to a temporary file
 (via FCC) and then getting its message ID with a script. Is this
 possible?

Why don't you use $sendmail instead?

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: reply to list from compose menu?

2015-06-19 Thread Michael Tatge
* On Thu, Jun 18, 2015 02:51PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
 Often I make the mistake of pressing r to reply to the list when
 indeed I would like to press L. 
 I can of course edit the to but I would like to just
 be able to press L (if I understand correctly, this might also
 correctly set some headers).
 
 Is there anyway to implement such a bind?

No, but you could use a folder- or message-hook to bind r to list-reply
I.e.:

folder-hook . 'bind index,pager r reply'
folder-hook =mailinglists 'bind index,pager r list-reply'

message-hook . 'bind index,pager r reply'
message-hook ~l 'bind index,pager r list-reply'

message-hook of course has the disadvantage that you need to view the
message first.

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: How can i see the message ID of a message

2015-06-19 Thread Michael Tatge
* On Fri, Jun 19, 2015 06:29PM +0200 I (tatg...@gmail.com) muttered:
 * On Fri, Jun 19, 2015 02:56PM +0200 ybau...@gmail.com (ybau...@gmail.com) 
 muttered:
  Is there a key shortcut in the index/pager to display the MessageID of the 
  current email?

You could also extract the message-id by piping the message.
macro index,pager I 'pipe-messageformail -czxMessage-ID:enter'

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: How can i see the message ID of a message

2015-06-19 Thread Michael Tatge
* On Fri, Jun 19, 2015 02:56PM +0200 ybau...@gmail.com (ybau...@gmail.com) 
muttered:
 Is there a key shortcut in the index/pager to display the MessageID of the 
 current email?

As others noted there's display-toggle-weed.
Also you can change which headers are weeded by unignore/ignore.

If you really want to bind a key for that you could write a macro.
I assume you don't want to show message-id per default.

macro index i 'enter-commandignore message-identer'
macro index I 'enter-commandunignore message-identer'
macro pager I 'exitenter-commandunignore message-identer\
display-messageenter-commandignore message-identer'

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: In index_format, what does %? mean?

2015-06-18 Thread Michael Tatge
Hi Allen,

* On Thu, Jun 18, 2015 10:23AM + Alan Mackenzie (a...@muc.de) muttered:
 The default value of the configuration variable index_format is 
 
 %4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s.
 
 The construct (%?l?%4l%4c?) puzzles me.  The parentheses are
 literal characters, but what do all the ?s mean?

That's a conditional.

%?l?%4l%4c?
%?sequence_char?if_stringelse_string?
If %l (is nonzero) then print %4l otherwise %4c

http://www.mutt.org/doc/devel/manual.html#formatstrings-conditionals

So:
%l  number of lines in the message (does not work with maildir, mh,
%and possibly IMAP folders) 

and because of that %c is printed when the line count is not available.

%c  number of characters (bytes) in the message (vulgo message size)

For instance, I'm using %?M?#%3M%4c? in my $index_format. What it
does is left as an exercise for the reader. :)

HTH,
Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: showing mails with attachment in index

2015-06-09 Thread Michael Tatge
* On Tue, Jun 09, 2015 04:08PM +0200 I (tatg...@gmail.com) muttered:
 * On Tue, Jun 09, 2015 02:59PM +0200 Orm Finnendahl 
 (orm.finnend...@selma.hfmdk-frankfurt.de) muttered:
  is there an option in mutt to display in the index for mails with
  attachments or is there a way to
 
 http://www.mutt.org/doc/devel/manual.html#attachments

also see %X in $index_format

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: showing mails with attachment in index

2015-06-09 Thread Michael Tatge
* On Tue, Jun 09, 2015 02:59PM +0200 Orm Finnendahl 
(orm.finnend...@selma.hfmdk-frankfurt.de) muttered:
 is there an option in mutt to display in the index for mails with
 attachments or is there a way to

http://www.mutt.org/doc/devel/manual.html#attachments

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Saving all attachments

2015-06-09 Thread Michael Tatge
* On Tue, Jun 09, 2015 04:33PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
 On Tue, Jun 9, 2015 at 4:00 PM, Marcelo Laia marcelol...@gmail.com wrote:
  On 09/06/15 at 02:23pm, Michael Tatge wrote:
  # extract all attachments
  macro index,pager X 'enter-command set my_wk=$wait_key; unset
  wait_keyenter\
  pipe-message ripmime --paranoid -i - -d ~/tmp/attachmentsenter\
  enter-command set wait_key=$my_wkenter' save all attachments
 
  macro attach X 'exitenter-command set my_wk=$wait_key; unset 
  wait_keyenter\
  pipe-message ripmime --paranoid -i - -d ~/tmp/attachmentsenter\
  enter-command set wait_key=$my_wkenterdisplay-message\
  view-attachments' save all attachments
 
  What is the difference between these two macros?
 
 difference is just that you can use the second macro in the attach
 menu. The reason it is different is that it needs to exit, the attach
 menu (back to pager menu?), then do the real work, then go back to
 attach menu.

I wrote that macro with the index as the starting point in mind. But you
describe it perfectly. :)
Drop that display-message btw. That was a leftover from testing.

 I actually wonder if the two macros could share some more code. That
 is, can the attach macro call the first macro?

One, if I'm not mistaken - the only way, to call a macro within a macro
is to push it's key sequence. The downside here is that you need two
different keys then. Besides I find it harder to read and debug.
 
So you could try something like:
macro index,pager ,X ...
macro attach X 'exitenter-command push ,Xenterview-attachments'

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Saving all attachments

2015-06-09 Thread Michael Tatge
Chris,

* On Sun, Jun 07, 2015 02:44PM -0400 Chris Spackman (ch...@osugisakae.com) 
muttered:
macro index,pager X pipe-messageripmime -i - -d 
 
 but you have to press any key to continue after it finishes

that depends - see $wait_key.

For instance you could use a macro like:

# extract all attachments
macro index X 'enter-command set my_wk=$wait_key; unset wait_keyenter\
pipe-message ripmime --paranoid -i - -d ~/attachmentsenter\
enter-command set wait_key=$my_wkenter' save all attachements

Which resets $wait_key to whatever it was before, after it's done.
Also note that commands starting with a blank  ripime... don't clutter
the history. 

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Saving all attachments

2015-06-09 Thread Michael Tatge
FWIW,

I ended up with these two macros:

# extract all attachments
macro index,pager X 'enter-command set my_wk=$wait_key; unset
wait_keyenter\
pipe-message ripmime --paranoid -i - -d ~/tmp/attachmentsenter\
enter-command set wait_key=$my_wkenter' save all attachments
 
macro attach X 'exitenter-command set my_wk=$wait_key; unset 
wait_keyenter\
pipe-message ripmime --paranoid -i - -d ~/tmp/attachmentsenter\
enter-command set wait_key=$my_wkenterdisplay-message\
view-attachments' save all attachments

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: sourcing a 2nd alias file

2015-06-08 Thread Michael Tatge
Hi,

* On Mon, Jun 08, 2015 08:08AM +0200 Matthias Apitz (g...@unixarea.de) muttered:
 I want to have an additional alias file (i.e. separated from my normal
 aliases). I tried:
 
 set alias_file=~/.mutt-mail_aliases # where I keep my aliases
 source ~/.mutt-mail_aliases # include my aliases
 source ~/.mutt-xxx

so far so good.

 but in the 2nd file it does not recognize the 'alias' command-

Are you sure that 2nd file is syntacticly correct? What error are you
getting exactly?

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: sourcing a 2nd alias file

2015-06-08 Thread Michael Tatge
* On Mon, Jun 08, 2015 07:14AM -0400 Patrick Shanahan (ptilopt...@gmail.com) 
muttered:
 * Matthias Apitz g...@unixarea.de [06-08-15 02:09]:
  set alias_file=~/.mutt-mail_aliases # where I keep my aliases
  source ~/.mutt-mail_aliases # include my aliases
  source ~/.mutt-xxx
 only ideas and untried and unknown:
   You have told mutt to *only* use ~/.mutt-mail_aliases, set alias_file=
   perhaps,
 set alias_file=~/.mutt-mail_aliases;~/.mutt-
   or it may not be possible currently.

No. It should work as the OP wrote. alias_file points to one and only
one file.

3.3. alias_file

Type: path
Default: “~/.muttrc”

The default file in which to save aliases created by the create-alias
function.

alias is a normal command and can be used in any sourced file.
alias_file simply tells mutt to save new aliases there.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: sync-mailbox not available in postpone map?

2015-05-29 Thread Michael Tatge
* On Thu, May 28, 2015 04:37PM -0400 Xu Wang (xuwang...@gmail.com) muttered:
 The following does not work.
 bind postpone $ sync-mailbox

And it's not supposed to.
There are only two functions valid in the postpone menu.
http://www.mutt.org/doc/devel/manual.html#postpone-map

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Sent attached doc from Libreoffice

2015-05-28 Thread Michael Tatge
* On Wed, May 27, 2015 05:28PM -0300 Marcelo Laia (marcelol...@gmail.com) 
muttered:
 Tools - Properties - Internet - E-mail - E-mail Program:
 sensible-lomua 
 sensible-lomua %u

Try /path/to/mutt (/usr/bin/mutt) instead.

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Fwd: dot postpone folder don't work

2015-05-27 Thread Michael Tatge
* On Wed, May 27, 2015 06:55AM -0300 Marcelo Laia (marcelol...@gmail.com) 
muttered:
 The problem still remaining. Please, have you some tips to solve?
 
 If I wrote a message, save it, and press q, that message will be sent
 to folder:
 MEMEME
  Sent   1
  Drafts 0
 However, when I try to send that postponed message, mutt don't ask me
 if I want to send the message postponed!!!

It's not a postponed message when it's not in the folder $postponed
points to. :)

   set postponed = +MEMEME/INBOX.Drafts

There are a few veriables you didn't tell us about...

$ postpone (is this set to no maybe?)

  Type: quadoption
  Default: ask-yes

  Controls whether or not messages are saved in the $postponed mailbox
  when you select not to send immediately.

$ recall

  Type: quadoption
  Default: ask-yes

  Controls whether or not Mutt recalls postponed messages when composing a
  new message.
  Setting this variable to is not generally useful, and thus not
  recommended.

Also see the recall-message (default R) function.

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: display html email in browser?

2015-04-29 Thread Michael Tatge
* On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) 
muttered:
 Is there a way to have an html email rendered and displayed in a browser
 window?

There used to be a page about that in the mutt wiki (wiki.mutt.org)
though I cannot find it right now.

In short:

~/.muttrc
# i prefere text/plain thank you (show text part of multipart messages
# rather then html
alternative_order text/enriched text/plain text/html

# this is needed for the autoview part in mailcap
auto_view text/html

~/.mailcap
# used when (v)iewing (use any browser you like)
# text/html; w3m -v -F -T text/html '%s'; nametemplate=%s.html
# text/html; /usr/bin/opera -newpage '%s'; test=test $DISPLAY != 
# text/html; /usr/bin/firefox -new-tab '%s'; test=test $DISPLAY != 
text/html; links2 -codepage utf8 '%s'; nametemplate=%s.html; needsterminal

# for autoview
text/html; lynx -stdin -dump -force_html ; copiousoutput; needsterminal

HTH,

Michael
-- 
PGP-Key-ID: EEE7D043
Jabber: in...@jabber.de


Re: Moving IMAP directories about with mutt - is it easy? How to do it?

2011-07-06 Thread Michael Tatge
* On Tue, Jul 05, 2011 05:58PM +0100 Chris G (c...@isbd.net) muttered:
 As a result I need to move some IMAP mail from some local backups
 (copies made just before the move) to the new IMAP server.  How do I do
 this so that the directory structure is preserved?

Your best bet is a gui client :)

HTH,

Michael
-- 
The only other people who might benefit from Linux8086 would be owners
of PDP/11's and other roomsized computers from the same era.
-- Alan Cox

PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de


Re: pdf attachment as text

2011-06-14 Thread Michael Tatge
* On Tue, Jun 14, 2011 10:40AM +0200 Laurent (the.real.ka...@gmail.com) 
muttered:
 I have a problem when I send emails having an pdf as attachment. The pdf
 arrives as text on the other side due to the fact that the MIME-type
 is text. How can I change this behaviour?

make sure to have
application/pdf pdf
in ~/.mime.types or /etc/mime.types

HTH,

Michael
-- 
BOFH excuse #227:

Fatal error right in front of screen

PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de


Re: mh format questions

2011-04-15 Thread Michael Tatge
* On Thu, Apr 14, 2011 09:06PM -0600 Paul E Condon (pecon...@mesanetworks.net) 
muttered:
 I want to switch to using MH instead of mbox folder format.
 there is no indication that new mail has arrived, no indication the
 particular emails have not been seen
 
 I think this because there is no creation or updating of .mh_sequences

That is most likely true. I think google^w$searchmashine can help you
how to setup some cron jobs updating .mh_sequences.
May I ask why mh and not maildir, though? MH doesn't seem to be the
sensible choice switching to a one file per message format nowadays.

HTH,

Michael
-- 
BOFH excuse #15:

temporary routing anomaly

PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de


Re: Bug in mutt?

2011-04-09 Thread Michael Tatge
* On Thu, Apr 07, 2011 01:39PM +0200 Michelle Konzack 
(linux4miche...@tamay-dogan.net) muttered:
 if I am in a IMAP folder and want to tag messages with
 
 ~m 1-16500
 
 mutt download useless 16.500 messages to tag them.

My best guess is you to add some header via imap_headers. Check color
statements, spam stuff, etc.

HTH,

Michael
-- 
Breadth-first search is the bulldozer of science.
-- Randy Goebel

PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de


Re: Thunderbird-like mail archives (macro)

2010-12-23 Thread Michael Tatge
* On Tue, Dec 07, 2010 05:37PM + seanh (snh...@gmail.com) muttered:
 I'm trying to emulate Thunderbird 3's mail archiving behaviour in mutt. In
 Thunderbird if you select a mail or mails and hit the archive button or press
 the 'a' key then it moves the mail(s) into an archive folder. For each account
 it creates a folder called Archives with sub-folders for each year into which
 the mails are moved: Archives/2010, Archives/2009

Have a look at archivemail ( http://archivemail.sourceforge.net/ )

HTH,

Michael
-- 
We are using Linux daily to UP our productivity - so UP yours!
-- Adapted from Pat Paulsen by Joe Sloan

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: What-key Example

2010-06-28 Thread Michael Tatge
* On Fri, Jun 25, 2010 08:53PM -0800 rog...@sdf.org (rog...@sdf.org) muttered:
 How is the what-key function used

:exec what-key

quit which ^g

 and should the Mutt wiki include an example of it's usage?

Why not - you are volunteering right? :)

HTH,

Michael
-- 
Real Men don't make backups.  They upload it via ftp and let the world mirror
it.
-- Linus Torvalds

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Pick sendmail command based on sender address

2010-06-22 Thread Michael Tatge
* On Mon, Jun 21, 2010 04:27PM +0200 Michael Ludwig (mil...@gmx.de) muttered:
 I send mail using ssmtp (a simple standalone SMTP library) and one of
 the SMTP servers for the different freemail addresses I have.

I'd recommend switching to esmtp. You don't have to mess with send-hooks
because it supports using the correct server based on the envelope
(identities)
See http://wiki.mutt.org/?LightSMTPagents/Esmtp where I described the
config in detail.

HTH,

Michael
-- 
BOFH excuse #95:

Pentium FDIV bug

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: imap way for slow connection (imap without attachment)

2010-06-08 Thread Michael Tatge
* On Mon, Jun 07, 2010 09:09PM +0200 alvaro (debecio-deb...@yahoo.it) muttered:
 I use a gprs connection with 500MB limited month connection. I see
 mutt + imaps download all attachment from server.

Initially mutt downloads only message headers. You can add headers that
you might need (think color etc) via imap_headers.
To fasten things up and to not dl headers from old messages again you
should use header caching (see manual)

 Can I set imaps not downloading attachment? And Can I set imaps
 downlowding single attachment that I choose?

Mutt has to dl the whole message body. You cannot select single
attachments. Again you can use caching (see message_cachedir).

HTH,

Michael
-- 
chesty xemacs fixed my flatulence
-- From the XEmacs: Not just an editor department

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: imap way for slow connection (imap without attachment)

2010-06-08 Thread Michael Tatge
* On Tue, Jun , 2010 11:13AM +0200 Nicolas KOWALSKI (n...@petole.demisel.net) 
muttered:
 Michelle Konzack linux4miche...@tamay-dogan.net writes:
  There is NO way for the MUA or IMAP server, to select which  part of the
  body should be downloaded.
 
 Yes there is. This is in the IMAP protocol, see
 http://www.faqs.org/rfcs/rfc2060.html. 
 
 
 2.4.Message Texts
 
In addition to being able to fetch the full [RFC-822] text of a
message, IMAP4rev1 permits the fetching of portions of the full
message text.  Specifically, it is possible to fetch the [RFC-822]
message header, [RFC-822] message body, a [MIME-IMB] body part, or
a
[MIME-IMB] header.
 
 
 On the MUA side, mutt does not handle it, but others (at least alpine) do.

Interesting - someone care to implement this?

Michael
-- 
Build a system that even a fool can use and only a fool will want to use it.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Long time to wait for mutt openning a mbox

2010-06-06 Thread Michael Tatge
* On Sun, Jun 06, 2010 11:49PM +0800 Yue Wu (vano...@gmail.com) muttered:
 Hi list,

 I've moved my .mutt to a fat32 filesystem

mv ~/.mutt /media/win_d  ln -s /media/win_d/.mutt ~/

 after I run mutt, I find that mutt waits a very long time for reading
 a mbox:

   Reading /home/user/.mutt/mails/mbox...

 then prompt:

   Lock count exceeded, remove lock for
 /home/user/.mutt/mails/mbox? ([yes]/no):

How many messages are in that mbox?

HTH,

Michael
-- 
There are never any bugs you haven't found yet.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: unknown variables

2010-06-01 Thread Michael Tatge
* On Mon, May 31, 2010 11:54AM +0200 Jan-Herbert Damm (jan-h-d...@web.de) 
muttered:
 set smtp_url=...
 set smtp_pass=...
 set pop_host=...
 set pop_user=...
 set pop_pass=...
 
 -USE_POP  -USE_IMAP  -USE_SMTP  

Well it cannot do something you didn't compile in.

HTH,

Michael
-- 
On the Internet, no one knows you're using Windows NT
(Submitted by Ramiro Estrugo, restr...@fateware.com)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Losing my mind? fcc-hook doesn't work for one *from* ?

2010-05-27 Thread Michael Tatge
* On Thu, May 27, 2010 12:56PM +0200 hubert depesz lubaczewski 
(dep...@depesz.com) muttered:
 i create test.rc with following content:
 my_hdr From: depesz dep...@depesz.com

Well you shouldn't use my_hdr unless forced too
Just set $from instead

 fcc-hook @depesz.com +depesz/
 
 start mutt with:
 mutt -n -F test.rc
 
 i see that fcc has been correctly set to depesz/
 
 Now. 
 
 I change the my_hdr line to:
 my_hdr From: Marcin Pietrzak mar...@iworks.pl
 
 and now fcc_hook is no longer applied ?!

Somethink along the lines of

default_hook=~f %s !~P | (~P ~C %s)

So you'd better spell out the fcc-hook pattern
eg fcc-hook '~t @depesz.com' +depesz


HTH,

Michael
-- 
COBOL is for morons.
-- E. W. Dijkstra

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: filtering Cron fetchmail reports

2010-05-09 Thread Michael Tatge
* On Sat, May 08, 2010 05:24PM -0400 Haines Brown KB1GRM ET1 
(bro...@historicalmaterialism.info) muttered:
 I run fetchmail with cron, and as a result, each time it runs there's
 a mail message from cron in mutt reporting what fetchmail did. It is a 
 nuisance to have to delete all these messages, and so I'd like to 
 avoid them.

See MAILTO

HTH,

Michael
-- 
Problem solving under Linux has never been the circus that it is under
AIX.
-- Pete Ehlke in comp.unix.aix

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: gdbm fatal: read error

2010-02-10 Thread Michael Tatge
* On Wed, Feb 10, 2010 12:24PM +0100 Alexandre (neonoe123...@gmail.com) 
muttered:
 I have installed mutt 1.5.18-6 on a 2.6.18-xenU kernel (Debian stableà
 with my ~/.mutt* configuration files that works on others boxes. But if
 I open ~/mail/inbox (maildir) which was created by procmail, I have a
 gdbm fatal: read error. Any idea(s) to solve this issue ?

Maybe deleting the header cache helps?

HTH,

Michael
-- 
Besides, I think [Slackware] sounds better than 'Microsoft,' don't you?
(By Patrick Volkerding)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Are subscribe and lists commands obsolete?

2010-01-23 Thread Michael Tatge
* On Fri, Jan 22, 2010 09:42AM +0900 Horacio Sanson (hsan...@gmail.com) 
muttered:
 I have been trying to wrap my head around what suscribe and lists
 commands are. For me mutt handles mailing lists  perfectly
 without these commands so to make sure I am not missing some (not
 obvious) benefits allow me to ask the experts.

If the List provides List-Id headers that's true.

HTH,

Michael
-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Mutt doesn't write change to local maildir automatically?

2010-01-23 Thread Michael Tatge
* On Sat, Jan 23, 2010 02:20PM + chombee (chom...@lavabit.com) muttered:
 I've noticed that mutt doesn't seem to write changes to my local
 maildirs until I hit $ or change maildirs. Is there a way to get it to
 automatically write changes to a local maildir?

Simply put - no.
You could write macros that do [someaction]sync-mailbox eg.
delete-messagesync-mailbox but that's obviously dangerous.

HTH,

Michael
-- 
BOFH excuse #358:

struck by the Good Times virus

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Purge single deleted email

2009-11-17 Thread Michael Tatge
* On Tue, Nov 17, 2009 08:46AM -0800 Brendan Cully (bren...@kublai.com) wrote:
 On Tuesday, 17 November 2009 at 11:31, Kevin Kobb wrote:
  Dan Ritter wrote:
  On Tue, Nov 17, 2009 at 09:17:36AM -0500, Kevin Kobb wrote:
  Typically, I am doing this for a user. They call and complain because
  the got an offensive email of some type. If I save the message to
  another folder (which I do) it still leaves a copy in the Inbox
  folder with the deleted flag set.
  
  If I do an expunge to get rid of the offensive message, it will also
  expunge all the users messages with the deleted flag set.
 
 You could also copy all the messages _but_ the target to a temp
 folder, then purge, then copy them back. Or tag all deleted messages,
 clear the deleted flag, set some other flag (like 'flagged'), delete
 the single message, tag the flagged messages, and set them to deleted
 but not flagged. The second method might be a bit quicker, but depends
 on there not already being flagged messages in the mailbox. I'd go
 with the first.

When I played around with that scenario I did what seemed logically and
tagged the only message I wanted to delete then limited to ~T
Then when I hit $ mutt asked me to delete all messages marked for
deletion and while trying that anyways it indeed deleted all messages.

Why the hell does mutt do that? Has there been a paradigm shift that I
missed? I was under the impression that mutt should ALWAYS operate on
VISIBLE messages ONLY.

Michael
-- 
Whip me.  Beat me.  Make me maintain AIX.
(By Stephan Zielinski)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: functions/procedures in muttrc

2009-09-20 Thread Michael Tatge
* On Sun, Sep 20, 2009 01:39PM + Tamas K Papp (tkp...@gmail.com) muttered:
 I find that I am doing some repetitive stuff in my .muttrc that occurs in 
 multiple places (eg called by a folder hook, and also when mutt starts 
 up).  I wonder if it would be possible to do something like
 
 ## pseudocode
 procedure gmail-folders {
   set from=tkp...@gmail.com
   set record=+GMAIL/[Gmail].Sent Mail
   set postponed=+GMAIL/[Gmail].Drafts
 }
 
 folder-hook +GMAIL.* 'exec gmail-folders'
 
 in place of
 
 folder-hook +GMAIL.* 'set from=tkp...@gmail.com'
 folder-hook +GMAIL.* 'set record=+GMAIL/[Gmail].Sent Mail'
 folder-hook +GMAIL.* 'set postponed=+GMAIL/[Gmail].Drafts'

I don't see how that's different to

folder-hook +GMAIL.* 'set from=...;\
   set record=...;\
   set postponed=...'

HTH,

Michael
-- 
#if _FP_W_TYPE_SIZE  32
#error Here's a nickel kid.  Go buy yourself a real computer.
#endif
-- linux/arch/sparc64/double.h

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: functions/procedures in muttrc

2009-09-20 Thread Michael Tatge
* On Sun, Sep 20, 2009 05:42PM +0200 I (michael.ta...@web.de) muttered:
 * On Sun, Sep 20, 2009 01:39PM + Tamas K Papp (tkp...@gmail.com) muttered:
  I find that I am doing some repetitive stuff in my .muttrc that occurs in 
  multiple places (eg called by a folder hook, and also when mutt starts 
  up).  I wonder if it would be possible to do something like
  
  ## pseudocode
  procedure gmail-folders {
set from=tkp...@gmail.com
set record=+GMAIL/[Gmail].Sent Mail
set postponed=+GMAIL/[Gmail].Drafts
  }
  
  folder-hook +GMAIL.* 'exec gmail-folders'
 
 folder-hook +GMAIL.* 'set postponed=+GMAIL/[Gmail].Drafts'
 
 I don't see how that's different to
 
 folder-hook +GMAIL.* 'set from=...;\
set record=...;\
set postponed=...'

or the already meantioned

folder-hook +GMAIL.* 'source gmail.settings'

HTH,

Michael
-- 
Make it idiot-proof, and someone will breed a better idiot.
-- Oliver Elphick

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: match messages without a reply from anyone?

2009-09-16 Thread Michael Tatge
* On Wed, Sep 16, 2009 04:10PM +0100 Marianne Promberger 
(marianne.promber...@gmail.com) muttered:
 Is there a pattern to match messages that haven't been replied to by
 anyone? 

~$ unreferenced messages (requires threaded view)

HTH,

Michael
-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: sending new message to a list

2009-09-09 Thread Michael Tatge
* On Wed, Sep 09, 2009 04:00PM -0700 Robert Holtzman (hol...@cox.net) muttered:
 I can't find a way to compose *new* mail to a list without entering the
 To: address manually. Tried running searches, the manual, and this
 list's archives to no avail. Maybe I'm using the wrong search terms. I'm
 looking for something like Alpine's  A method to send a message to the
 entire list (Post).

Like an alias?

HTH,

Michael
-- 
..you could spend *all day* customizing the title bar.  Believe me.  I
speak from experience.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Temporarely deactivate auto_view

2009-09-08 Thread Michael Tatge
* On Tue, Sep 08, 2009 02:27PM +0200 steve (dl...@bluewin.ch) muttered:
 I have configured mutt so that it calls lynx to automatically view html
 messages. Now how can I see the source of this message within
 mutt?

v   view-attachments   show MIME attachments

also see http://wiki.mutt.org/index.cgi?MuttFaq/Attachment

you can (via mailcap) make a diffenrence between autoview and selecting
the attchment from the attachment menu

HTH,

Michael
-- 
Absolutely nothing should be concluded from these figures except that
no conclusion can be drawn from them.
(By Joseph L. Brothers, Linux/PowerPC Project)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: putting current entry at the top of the screen/window

2009-07-15 Thread Michael Tatge
* On Wed, Jul 15, 2009 11:16AM -0700 mala...@us.ibm.com (mala...@us.ibm.com) 
muttered:
 Is is possible to put the current mail entry at the top of my screen in
 mutt? Looking for something like z command in VIM.

not exactly what you're looking for. current-middle

HTH,

Michael
-- 
The computer is to the information industry roughly what the
central power station is to the electrical industry.
-- Peter Drucker

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Several Mutt usage question

2009-07-13 Thread Michael Tatge
* On Mon, Jul 13, 2009 09:01AM -0400 Paul Grinberg (pgrinb...@nyc.saic.com) 
muttered:
 1) How do I forward e-mail with attachments? if I just press f, then
 attachements are stripped.

see $mime_forward

 2) How do I read an e-mails that are in Hebrew or Russian?
 
 It usually displays something like this...
 \343\305\314\325\300

Set propper locales and use a font that can display those characters.
utf-8 comes to mind.

HTH,

Michael
-- 
if (argc  1  strcmp(argv[1], -advice) == 0) {
printf(Don't Panic!\n);
exit(42);
}
(Arnold Robbins in the LJ of February '95, describing RCS)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: MAIL getting queued only

2009-07-03 Thread Michael Tatge
* On Fri, Jul 03, 2009 10:01PM +1000 Kataria, Sunil 
(sunil.kata...@au.unisys.com) muttered:
 But I have no issues sending mail using mail command (which uses sendmail).

Are $from, $use_from set?

HTH,

Michael
-- 
BOFH excuse #214:

Fluorescent lights are generating negative ions. If turning them off doesn't 
work, take them out and put tin foil on the ends.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: colors

2009-06-27 Thread Michael Tatge
* On Sun, Jun 28, 2009 08:47AM +1000 Brian Salter-Duke (b_d...@bigpond.net.au) 
muttered:
 Another color question - where is the default color defined? My muttrc
 uses default for the background all the time and it is obviously white
 as I prefer, but I do not see it defined. The Ubuntu muttrcs do not use
 default, but define the background as black.

http://www.mutt.org/doc/devel/manual.html#color

| If your terminal supports it, the special keyword default can be used
| as a transparent color.

HTH,

Michael
-- 
I've run DOOM more in the last few days than I have the last few
months.  I just love debugging ;-)
(Linus Torvalds)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: F1 - key-binding trapped

2009-06-24 Thread Michael Tatge
* On Wed, Jun 24, 2009 11:46AM +0200 Jan-Herbert Damm (jan-h-d...@web.de) 
muttered:
 this .muttrc entry (in my /etc/Muttrc):
 
 macro generic,pager F1 shell-escape less  /[...]/doc/mutt/manual.txt
 
 seems to be trapped by Gnome somehow. F1 (from within mutt) starts the
 gnome-terminal-help on my ubuntu 8.10. 

Well - unbind the key in gnome-terminal resp. gnome (no idea how, sorry
I don't use gnome) or just use a different key for mutt.

HTH,

Michael
-- 
BOFH excuse #273:

The cord jumped over and hit the power switch.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: How to implement save_empty on maildir?

2009-06-21 Thread Michael Tatge
* On Mon, Jun 22, 2009 06:21AM +0800 Wu, Yue (vano...@gmail.com) muttered:
 On Sun, Jun 21, 2009 at 11:11:46PM +0200, Rocco Rutte wrote:
  Removing empty mbox/mmdf files on the contrary is atomic and can be 
  safely done by mutt.
 
 What about mbox? I have set up fetchmail and procmail fetch mails via cron, so
 if I'm operating on mbox like deleting/modifying some mails in mutt, and if
 new mails comes now, would some unsafe evens e.g. lost mails happen?

mbox is locked on write

HTH,

Michael
-- 
BOFH excuse #411:

Traffic jam on the Information Superhighway.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: mutt removing stuff in brackets from subject

2009-06-17 Thread Michael Tatge
* On Wed, Jun 17, 2009 09:47AM +0200 Rejo Zenger (mutt-us...@subs.krikkit.nl) 
muttered:
 ++ 16/06/09 19:51 +0200 - Michael Tatge:
  When I respond to an email that has a subject similar to:
  
  [StuffHere] Blah Blah Blah
  
  Mutt actually *removes* everything inside of the brackets and the
  brackets themselves.
  
  Any thoughts on why this happens?
 
 Works fine here. There is a setting that might be resposible though.
 Check reply_regexp
 
 Correct me if I'm wrong, but I don't think that particular setting would 
 remove a thing form the subject. The manual says:
 
   A regular expression used to recognize reply messages when threading 
   and replying.
^

 As far as I know, this setting makes it possible for mutt to recognize 
 patters like Re: and re: at the beginning of a Subject and, if 
 present, mutt will not prepend the subject with another Re: when 
 replying. 

Yes it will remove something. As you quoted reply_regexp is also used
when replying.
Mutt will match $reply_regexp match against the subject and replace
everything matching (at the start of the string) with just Re: 
Say you get a message with the subject Aw: test and reply to it. You
get with the default reply_regexp Re: test.

HTH,

Michael
-- 
Checking host system type...
i586-unknown-linux
configure: error: sorry, this is the gnu os, not linux
-- Topic on #Linux

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Using enter-command

2009-06-17 Thread Michael Tatge
* On Wed, Jun 17, 2009 11:56AM -0800 Tim Johnson (t...@johnsons-web.com) 
muttered:
 In the index, I have bound Ctrl-E to last-entry.
 Yet If I do this:
 :last-entry
 I get an error: Unknown Command.

last-entry is not a command but a function.
you have to use
:exec last-entry

HTH,

Michael
-- 
CCI Power 6/40: one board, a megabyte of cache, and an attitude...

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: mutt removing stuff in brackets from subject

2009-06-16 Thread Michael Tatge
* On Tue, Jun 16, 2009 10:59AM -0400 James (j...@nc.rr.com) muttered:
 When I respond to an email that has a subject similar to:
 
 [StuffHere] Blah Blah Blah
 
 Mutt actually *removes* everything inside of the brackets and the
 brackets themselves.
 
 Any thoughts on why this happens?

Works fine here. There is a setting that might be resposible though.
Check reply_regexp

HTH,

Michael
-- 
On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS.
(By Tarl Neustaedter)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Set From: address with hook match on To: address?

2009-06-14 Thread Michael Tatge
* On Sun, Jun 14, 2009 08:47PM +0100 d...@unrealize.co.uk 
(d...@unrealize.co.uk) muttered:
 Is it possible to apply some sort of regexp on the To: address to work
 out what to put for From:?

Are you looking for reverse_name maybe?

HTH,

Michael
-- 
*** PUBLIC flooding detected from erikyyy
lewnie THAT's an erik, pholx ;)
-- Seen on #LinuxGER

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: html problem

2009-05-23 Thread Michael Tatge
* On Sat, May 23, 2009 05:01AM +0200 Dave Feustel (dfeus...@mindspring.com) 
muttered:
 A couple of people send me email in html format.
 It used to be that if I typed 'v', selected the last
 attachment and then typed CR, firefox would be activated
 and then display the html. But then something changed
 and, instead of firefox, emacs started displaying the
 raw html.

Please take a look at the mutt wiki

http://wiki.mutt.org/index.cgi?MuttFaq/Attachment

HTH,

Michael
-- 
A bug in the code is worth two in the documentation.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: default save folder

2009-05-10 Thread Michael Tatge
* On Sat, May 09, 2009 09:23PM +0200 Pau (vim.u...@googlemail.com) muttered:
 is it possible to tell mutt where to save things such as attachments?
 
 I would like to define a folder and tell mutt to automatically prompt
 me to that folder everytime I want to save something.

For messages see save-hook. For attachments there's no direct setting.
Maybe write a macro, like:
macro attach s save-entrybol/save/stuff/here/eol

HTH,

Michael
-- 
It was kinda like stuffing the wrong card in a computer, when you're
stickin' those artificial stimulants in your arm.
-- Dion, noted computer scientist

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Set separate colors within mini-index

2009-05-07 Thread Michael Tatge
* On Thu, May 07, 2009 11:02AM -0300 Eric Patton (epat...@nrcan.gc.ca) muttered:
 I was wondering if it is possible to set separate colors for the mini-index. I
 find the coloring of the mini-index distracting, and I would like to make it
 monochrome, with perhaps the current highlighted message as brightblack.

Mutt doesn't do default colors. If you have those they come from your
distro. /etc/Muttrc et al.

uncolor index *

in your own ~/.muttrc will get rid of those.

HTH,

Michael
-- 
To err is human -- to blame it on a computer is even more so.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Set separate colors within mini-index

2009-05-07 Thread Michael Tatge
* On Thu, May 07, 2009 02:49PM -0300 Eric Patton (epat...@nrcan.gc.ca) muttered:
  Mutt doesn't do default colors. If you have those they come from your
  distro. /etc/Muttrc et al.
  
  uncolor index *
  
  in your own ~/.muttrc will get rid of those.
 
 But will I still be able to maintain colors within the pager? To be clear, I
 was looking for a colored index, colored pager, but colorless (monochrome)
 mini-index.

If by mini-index you mean pager_index_lines. Then no, the mini-index is
what you see in the index. No way to get different colors for that.

HTH,

Michael
-- 
* gb notes that fdisk thinks his cdrom can store one terabyte
-- Seen on #Linux

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: folder-hook commands

2009-05-06 Thread Michael Tatge
* On Tue, May 05, 2009 06:09PM +0200 Alex Huth (alex.h...@alice-dsl.net) 
muttered:
 folder-hook   . set sort = reverse-date-received
 folder-hook   = freebsd-current source ~/.mutt/defaults.maillist

better quote the argument
folder-hook   . 'set sort = reverse-date-received'
folder-hook   =freebsd-current 'source ~/.mutt/defaults.maillist'
   ^ also note that there's a space in your quoted version


HTH,

Michael
-- 
BOFH excuse #233:

TCP/IP UDP alarm threshold is set too low.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: folder-hook commands

2009-05-06 Thread Michael Tatge
* On Wed, May 06, 2009 03:33PM +0200 Alex Huth (alex.h...@alice-dsl.net) 
muttered:
 folder-hook . 'set sort=reverse-date-received'
 folder-hook =freebsd-current 'set sort=threads'
 folder-hook =freebsd-acpi 'source ~/.mutt/defaults.maillist'
 
 Now i get the reverse sort as default, threads in freebsd-current and the
 error unknown command for freebsd-acpi.

All folder-hooks now have valid syntax good.

 It seems that source  is the problem.

Yes

 But if this is a unknown command in folder-hooks, how can i set
 multiple values for a folder?

It's not the source command that's the problem. Lost likely there an
error in the sourced file. So check ~/.mutt/defaults.maillist for
errors.

HTH,

Michael
-- 
 Linux is not user-friendly.
It _is_ user-friendly.  It is not ignorant-friendly and idiot-friendly.
-- Seen somewhere on the net

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: problem with Mime headers

2009-05-05 Thread Michael Tatge
* On Tue, May 05, 2009 05:33PM +0200 Christoph Kukulies (k...@kukulies.org) 
muttered:
 Yes, in .muttrc I have :
 set charset=iso-8859-1# character set for your terminal

 That's my output of locale:

 LANG=de_DE.UTF-8
 LANGUAGE=de_DE:de:en_GB:en
 LC_CTYPE=de_DE.UTF-8

Why charset iso-8859-1 but utf-8 locales? Let mutt autodetect $charset,
or at least don't let charset differ from your locales.

HTH,

Michael
-- 
To the systems programmer, users and applications serve only to provide a
test load.

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Detecting new mail in mbox format

2009-04-24 Thread Michael Tatge
* On Fri, Apr 24, 2009 03:33PM +1000 Cameron Simpson (c...@zip.com.au) muttered:
 On 23Apr2009 18:13, Kyle Wheeler kyle-m...@memoryhole.net wrote:
 | Of course, personally, I think recording access time (thereby turning 
 | every disk access into a disk write) is a waste of my computer's time, 
 | so I usually mount my filesystems with the noatime option.
 
 Yes. On more modern UNIX systems the relatime mount option is an ok
 compromise

Oh nice, I didn't know that existed. You never stop learning :)
fstab adopted.

Michael
-- 
...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: 'folder-hook . set sort=threads' and 'set sort=threads'

2009-04-21 Thread Michael Tatge
* On Tue, Apr 21, 2009 11:05PM -0500 Zhengquan Zhang 
(zhang.zhengq...@gmail.com) muttered:
 folder-hook .  set sort=threads
 
 set sort=threads 
 
 Basically they do the same thing. Is there anything I am missing here?

Yes, they do the same thing - unless sort is changed by another
folder-hook for some folders.
What you quote is what we call a default hook. It provides the generic 
default case and is overwritten by the special case.

For example:
folder-hook .  set sort=threads
folder-hook +spam 'set sort=spam'

When you enter the spam folder the sorting is changed to the spam
rating. Now when you change to another folder you need a mechanism to
change it back. Thus the default hook.

Provided you had only:
set sort=threads
folder-hook +spam 'set sort=spam'

Once mutt parses the rc file you would have sort=threads. But if you
changed to the spam folder it would be sort=spam as intended. Only how
do you get it back now? You don't - you need the default hook. As it is
the case with all -hooks btw.

HTH,

Michael
-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: [message scoring] Is it possible to ... ?

2009-03-24 Thread Michael Tatge
* On Tue, Mar 24, 2009 08:41PM +0900 Wilkinson, Alex 
(alex.wilkin...@dsto.defence.gov.au) muttered:
 I would like to score any thread that i have replied to i.e. the
 entire thread.
 
 Is this possible ? If yes, any pointers ?

Let's see - what does the manual say about score?

   Usage: score pattern value

Ok, now what patterns do we have?

   ~Q messages which have been replied to

   ~(PATTERN) messages in threads containing messages matching a certain
   pattern, e.g. all threads containing messages from you: ~(~P)

Is it working? Somehow.
If I manually enter the score it works. If I put the line in muttrc it's
not. Even if I source that file in a folder-hook it seems the message
parsing comes too late for the score to work. Bug?

HTH,

Michael
-- 
...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly).
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: question marks in default index_format

2009-02-02 Thread Michael Tatge
* On Mon, Feb 02, 2009 12:21PM -0700 Paul E Condon (pecon...@mesanetworks.net) 
muttered:
 set index_format=%4C %Z %{%b %d} %-15.15L (%?l?%4l%4c?) %s
 
 I don't understand the string inside parentheses. Where can
 I find an explanation? Question marks often invoke some sort
 of conditional action

If %l is valid then %4l else %4c

HTH,

Michael
-- 
The unrecognized minister of propaganda,
E
-- seen in an email from Ean Schuessler

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: shifttab bind doesn't work even though it's listed with ?

2008-12-13 Thread Michael Tatge
* On Sat, Dec 13, 2008 10:09PM + Dave Wood (d...@unrealize.co.uk) muttered:
 I'm using tab to read next-undeleted which works fine, but when I set
 shifttab to read previous-undeleted it says key not bound. I have it
 set for index and pager:
 
 bindindex   tab   next-undeleted
 bindpager   tab   next-undeleted
 bindindex   shifttabprevious-undeleted
 bindpager   shifttabprevious-undeleted

Try Backtab instead. For what it's worth you can check what
key(sequence) mutt recieves with the what-key function.

HTH,

Michael
-- 
The only intuitive interface is the nipple. After that, it's all learned.
(Bruce Ediger, bedi...@teal.csn.org, in comp.os.linux.misc, on X interfaces.)

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Per-message HTML viewing options

2008-12-09 Thread Michael Tatge
* On Mon, Dec 08, 2008 06:06PM -0500 Cristopher Thomas ([EMAIL PROTECTED]) 
muttered:
 I want to use mutt's 'auto_view text/html' option for the majority of
 my emails, but there are a few that I want to open using 'links2 -g.'
 I have no problem using one or the other, but haven't been able to
 figure out a way to get them to cooperate.

You can have an auto_view entry and one for interactive use triggered
when you (v)iew the attachment from the attachment menu.
See http://wiki.mutt.org/index.cgi?MuttFaq/Attachment how to set this
up.

HTH,

Michael
-- 
Even more amazing was the realization that God has Internet access.  I
wonder if He has a full newsfeed?
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: cancel command

2008-10-13 Thread Michael Tatge
* On Tue, Oct 14, 2008 06:43AM +0800 bill lam ([EMAIL PROTECTED]) muttered:
 Suppose I hit a key that is not a completely binded such as just a
 single esc, how to cancel this key gracefully, instead of continue
 to hit a space key so that it show an error message then abort.

Hit ^g (that's ctrl-g)

HTH,

Michael
-- 
...and scantily clad females, of course.  Who cares if it's below zero
outside.
-- Linus Torvalds

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: selecting from when sending an email

2008-10-07 Thread Michael Tatge
* On Mon, Oct 06, 2008 11:48PM -0500 Kyle Wheeler ([EMAIL PROTECTED]) muttered:
 How exactly is mutt supposed to know whether it's you or your wife at 
 the keyboard?

Well you could use macros, but hey unix gave us the nice concept of user
config files. Why not make her an own account and tweak the config a bit?

HTH,

Michael
-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: Strange text in From column

2008-09-03 Thread Michael Tatge
* On Wed, Sep 03, 2008 02:16AM + Carlos ([EMAIL PROTECTED]) muttered:
 I'm seeing strange strings like Aug 13 =?ISO-8859-1?Q?
 in the From column of the message index for some mails.

try setting rfc2047_parameters.

HTH,

Michael
-- 
Save yourself from the 'Gates' of hell, use Linux.  -- like that one.
-- The_Kind @ LinuxNet

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: Filtering/moving mail on IMAP server

2008-05-22 Thread Michael Tatge
* On Wed, May 21, 2008 09:43AM +0200 Przemek Gawronski ([EMAIL PROTECTED]) 
muttered:
 But wanted to give my providers IMAP a chance. Being used to
 having mail nicely put in the correct mailbox with procmail I'm missing
 that very much now. Is there any way I can get my mail from spoolfile
 redistributed to mailboxes?

Does the Imapd support sieve?

Michael
-- 
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: answer to sender

2008-04-04 Thread Michael Tatge
* On Fri, Apr 04, 2008 Steve ([EMAIL PROTECTED]) muttered:
 I have just purchased a new email account, let's say [EMAIL PROTECTED]
 When they send me a message to this new address, I would like that
 when hitting r, the reply uses the new address as the From field. But
 it doesn't.

See alternates, reverse_name
Define a regex matching your accounts. And set $reverse_name.

 What I get is no From field at all.

See $from, $use_from. Also $use_envelope_from.

HTH,

Michael
-- 
This kernel runs like a dessicated slug if you have more than 2G of memory
due to a 32-bit overflow.

-- Andrew Morton, on Linux 2.6.8-rc1-mm1

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: How to erase already defined mailboxes ?

2008-03-28 Thread Michael Tatge
* On Fri, Mar 28, 2008 Vladimir Marek ([EMAIL PROTECTED]) muttered:
 I'm having many mailboxes receiving mail. Many mailinglists, so I'm
 getting mail all the time. It can get quite disturbing. I was thinking
 that I would define list of core mailboxes and list of all
 mailboxes.

Use a macro around unmailboxes *

HTH,

Michael
-- 
It's God.  No, not Richard Stallman, or Linus Torvalds, but God.
(By Matt Welsh)

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: alternates not working when replying to some mailing lists

2008-03-24 Thread Michael Tatge
* On Mon, Mar 24, 2008 Kyle Wheeler ([EMAIL PROTECTED]) muttered:
  send-hook mutt-users@mutt.org \
  my_hdr From: Kyle Wheeler [EMAIL PROTECTED]

And never forget your default hook :)

HTH,

Michael
-- 
Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing.
-- Dick Brandon

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


Re: responding to HTML email

2008-03-05 Thread Michael Tatge
* On Wed, Mar 05, 2008 Bill Moseley ([EMAIL PROTECTED]) muttered:
 Is there anyway to say use auto_view and the .mailcap entry for the
 pager, but in the attachment menu use a different mailcap entry?
 I didn't see in 3.3.1 Optional Fields a way to have different mailcap
 entries for the pager and the attachment menu.

Yes, as the manual states the mailcap enty that has the copiousoutput
flag will be used for auto_view.
You can have more entries for any mime-type. The manual and the wiki
have some examples.

http://wiki.mutt.org/?MuttFaq/Attachment

HTH,

Michael
-- 
I have a very small mind and must live with it.
-- E. Dijkstra

PGP-Key-ID: 0xDC1A44DD
Jabber: [EMAIL PROTECTED]


  1   2   3   4   5   >