Re: Add header automatically

2010-06-28 Thread Christian Brabandt
Hi Michael!

On Fr, 25 Jun 2010, Michael Ludwig wrote:

 Eric Smith schrieb am 25.06.2010 um 08:11 (+0200):
  
  Is it possible to configure mutt to place an extra header in the
  edit buffer each time you go into edit mode?
  
  I want the line
  `attach:'
 
 Yes, it is possible: add the header with a non-empty value and it'll be
 present in the edit buffer, no need to unignore it:
 
 my_hdr Attach: ~/empty.txt
 set edit_headers = yes

I would use my_hdr Attch: |

When saving and you did not change this header, mutt will complain, that 
it can't attach the file | and not attach anything.

regards,
Christian
-- 
To use violence is to already be defeated.
-- Chinese proverb


Re: What-key Example

2010-06-28 Thread Christian Brabandt
Hi rogerx!

On Fr, 25 Jun 2010, rog...@sdf.org wrote:

 How is the what-key function used and should the Mutt wiki include an example
 of it's usage?
 
 (From reading, I'm guessing it should be set within either the muttrc or :set
 command prompt.)

In the command prompt enter :exec what-key. Then press any key you like 
and see what mutt outputs. Press Ctrl-G to abort. You can then use the 
obtained information to bind that specific key using the raw key value, 
e.g.

 bind index \014 command

Uses the key, that emits the octal value 14 to bind it to the command 
command.

regards,
Christian
-- 
Practical politics consists in ignoring facts.
-- Henry Adams


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: What map is default for .maildir?

2010-06-28 Thread Rado S
=- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -=

 the default view for my $HOME/.maildir folder on startup isn't
 defined as index or pager (or any maps mentioned within the Mutt
 Wiki map/bind keys sections).

It's browser.

 Here's what my default view looks like:
 q:Exit  c:Chdir  m:Mask  ?:Help   


-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Re: What-key Example

2010-06-28 Thread rogerx
On Mon, Jun 28, 2010 at 04:10:01PM +0200, Michael Tatge wrote:
* 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

Amazing!

quit which ^g

I would presume this is the (secret) escape key for the what-key loop?

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

Why not - you are volunteering right? :)


-- 
Roger
http://rogerx.freeshell.org/


Re: What-key Example

2010-06-28 Thread rogerx
On Mon, Jun 28, 2010 at 04:08:26PM +0200, Christian Brabandt wrote:
Hi rogerx!

On Fr, 25 Jun 2010, rog...@sdf.org wrote:

 How is the what-key function used and should the Mutt wiki include an example
 of it's usage?
 
 (From reading, I'm guessing it should be set within either the muttrc or :set
 command prompt.)

In the command prompt enter :exec what-key. Then press any key you like 
and see what mutt outputs. Press Ctrl-G to abort. You can then use the 
obtained information to bind that specific key using the raw key value, 
e.g.

 bind index \014 command

Uses the key, that emits the octal value 14 to bind it to the command 
command.

This is excellent info!

-- 
Roger
http://rogerx.freeshell.org/


pgpPU1DgnUuYk.pgp
Description: PGP signature


Re: What map is default for .maildir?

2010-06-28 Thread rogerx
On Mon, Jun 28, 2010 at 05:57:08PM +0200, Rado S wrote:
=- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -=

 the default view for my $HOME/.maildir folder on startup isn't
 defined as index or pager (or any maps mentioned within the Mutt
 Wiki map/bind keys sections).

It's browser.

:set bind browser \Cn sidebar-next

(Mutt error message)
sidebar-next: no such function in map

Not sure if this function is mutt or sidebar patch related.
... if needed, I'll forward this issue to the Mutt sidebar patch maintainer.

-- 
Roger
http://rogerx.freeshell.org/


Re: What-key Example

2010-06-28 Thread Michael Ludwig
rog...@sdf.org schrieb am 28.06.2010 um 08:19 (-0800):

 quit which ^g

Probably quit with ^g.

 I would presume this is the (secret) escape key for the what-key loop?

I didn't know the what-key command either, but ^g also aborts e.g. Bash
or Vim or Mutt command line editing, knowing which you'd presume it
would work here, too.

-- 
Michael Ludwig


Re: What map is default for .maildir?

2010-06-28 Thread Christian Brabandt
Hi rogerx!

On Mo, 28 Jun 2010, rog...@sdf.org wrote:

 On Mon, Jun 28, 2010 at 05:57:08PM +0200, Rado S wrote:
 =- rog...@sdf.org wrote on Fri 25.Jun'10 at 21:00:29 -0800 -=
 
  the default view for my $HOME/.maildir folder on startup isn't
  defined as index or pager (or any maps mentioned within the Mutt
  Wiki map/bind keys sections).
 
 It's browser.
 
 :set bind browser \Cn sidebar-next

It is :bind browser \Cn sidebar-next
(if your mutt is compiled with the sidebar patch).

regards,
Christian
-- 
Tell a man there are 300 billion stars in the universe and he'll believe you.
Tell him a bench has wet paint on it and he'll have to touch to be sure.


return reciepts

2010-06-28 Thread lee
Hi,

how do you handle return reciepts with mutt? I know I can add header
lines to request a reciept (with my_hdr), but how do I make it so that
reciepts are requested based on, for example, recipients?

The idea is something like mutt asking me if I want to request a
reciept when sending a message to a combination of recipients not yet
recognized by mutt. It then would remember my decision and add that
particular combination of recipients to some list for later reference
as to what decision I have made. Next time when sending messages to
that same combination of recipients, mutt would automatically either
request a reciept or not, depending on my decision once made ---
unless I explicitly instruct mutt otherwise when sending a message.

Handling the sending of return reciepts when requested by incoming
messages could work very much the same.

How do I configure mutt to do that? Or is there already support for
return reciepts?


Re: What map is default for .maildir?

2010-06-28 Thread rogerx
On Mon, Jun 28, 2010 at 07:59:13PM +0200, Christian Brabandt wrote:

 It's browser.
 
 :set bind browser \Cn sidebar-next

It is :bind browser \Cn sidebar-next
(if your mutt is compiled with the sidebar patch).

Still error,

sidebar-next: no such function in map

-- 
Roger
http://rogerx.freeshell.org/


Re: What map is default for .maildir?

2010-06-28 Thread lee
On Mon, Jun 28, 2010 at 12:29:54PM -0800, rog...@sdf.org wrote:
 On Mon, Jun 28, 2010 at 07:59:13PM +0200, Christian Brabandt wrote:
 
  It's browser.
  
  :set bind browser \Cn sidebar-next
 
 It is :bind browser \Cn sidebar-next
 (if your mutt is compiled with the sidebar patch).
 
 Still error,
 
 sidebar-next: no such function in map

You could check out this one:

http://sourceforge.net/search/?type_of_search=softwords=mutt-mb

There's no need for the sidebar anymore with mutt-mb.