Re: a few suggestions for the docu

2014-04-14 Thread Derek Martin
On Sun, Apr 13, 2014 at 02:42:20PM +0200, Ulrich Lauther wrote:
> BTW, in my current environment - Ubuntu 12.4 - pressing F1 does NOT
> bring up the mutt-manual, but the manual of the gnome-termial in which
> it is run.

Well, I explained how to fix that in a previous post.  But since you
mention Ubuntu 12, open systems settings, then:

Hardware -> Keyboard -> Shortcuts -> Launchers -> launch help browser

And set it to disabled (if it isn't already).  If that alone doesn't
solve it, you may also need to disable F1 behavior in gnome-terminal
if you use that as your terminal...  IIRC there isn't a menu option
for it, you have to use some gconf command, google will help you find
it I'm sure.

> but did not understand the concept of "from you": how knows mutt who is me?
> 
> I was then directed to the alternates command, and found 
> 
> "That's the purpose of the alternates command: It takes a
> list of regular expressions, each of which can identify an
> address under which you receive e-mail."
> 
> This again confused me: I wanted a decision based on the From: field,
> so I was thinking of sending, not receiving.

As I mentioned though, there's really no reason this should be
confusing:  The list of addresses to which you receive mail is
(theoretically) the same list of e-mail addresses you send mail as.
This should be obvious.  You could replace either "send as" or
"receive to" with "use" and it would be perfectly fine.

> It takes a list of regular expressions, each of which can identify
> an address under which you receive or send e-mail.
> It may be used in the index_format with the format-string %F to indicate
> that a message is from you

It doesn't really make sense to call out this one example of how
alternates is used, as it is used in several ways.  However it should,
arguably, list them ALL.
 
> When writing this message I had a hard time to find the relevant parts of
> the manual.
> One would, e.g., expect a list of all variables in
> http://mutt-ng.berlios.de/manual/variables.html

And so you do.  The table of obsolete variables that starts the
section is just that, and is followed immediately by the rest of the
variables.  Note at the bottom of the page, you'll see the entry for
$abort_noattach, which you will note is not in the obsolete table.
Clicking through the "next" links gives you all of the variables, with
one variable per page.

Granted, this is a horrible, horrible way to present the list of
variables; but this is a problem with the way the HTML version of the
manual is presented--not a problem with the manual itself per se.

> Not so. Just obsolete variables are shown (and now valid counterparts).
> So index_format is there, alternates not.

You won't find alternates there because it is not a variable (though
it was, once, but no longer).  It's a command.


-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpdRoE9eFsWH.pgp
Description: PGP signature


Re: a few suggestions for the docu

2014-04-14 Thread Ulrich Lauther
On Mon, Apr 14, 2014 at 12:35:02PM -0500, Derek Martin wrote:
> On Sun, Apr 13, 2014 at 02:42:20PM +0200, Ulrich Lauther wrote:
> > BTW, in my current environment - Ubuntu 12.4 - pressing F1 does NOT
> > bring up the mutt-manual, but the manual of the gnome-termial in which
> > it is run.
> 
> Well, I explained how to fix that in a previous post.  But since you
> mention Ubuntu 12, open systems settings, then:
> 
> Hardware -> Keyboard -> Shortcuts -> Launchers -> launch help browser
> 
> And set it to disabled (if it isn't already).

yes, it is.

> If that alone doesn't
> solve it, you may also need to disable F1 behavior in gnome-terminal
> if you use that as your terminal...  IIRC there isn't a menu option
> for it, you have to use some gconf command, google will help you find
> it I'm sure.
> 
I tried via the gnome editor, without success. But via the edit button of a 
gnome-terminal
it can be done.

Thank you!

> > but did not understand the concept of "from you": how knows mutt who is me?
> > 
> > I was then directed to the alternates command, and found 
> > 
> > "That's the purpose of the alternates command: It takes a
> > list of regular expressions, each of which can identify an
> > address under which you receive e-mail."
> > 
> > This again confused me: I wanted a decision based on the From: field,
> > so I was thinking of sending, not receiving.
> 
> As I mentioned though, there's really no reason this should be
> confusing:  The list of addresses to which you receive mail is
> (theoretically) the same list of e-mail addresses you send mail as.
> This should be obvious.  You could replace either "send as" or
> "receive to" with "use" and it would be perfectly fine.
> 
> > It takes a list of regular expressions, each of which can identify
> > an address under which you receive or send e-mail.
> > It may be used in the index_format with the format-string %F to indicate
> > that a message is from you
> 
> It doesn't really make sense to call out this one example of how
> alternates is used, as it is used in several ways.  However it should,
> arguably, list them ALL.

Yes.
>  
> > When writing this message I had a hard time to find the relevant parts of
> > the manual.
> > One would, e.g., expect a list of all variables in
> > http://mutt-ng.berlios.de/manual/variables.html
> 
> And so you do.  The table of obsolete variables that starts the
> section is just that, and is followed immediately by the rest of the
> variables.  Note at the bottom of the page, you'll see the entry for
> $abort_noattach, which you will note is not in the obsolete table.
> Clicking through the "next" links gives you all of the variables, with
> one variable per page.
> 
> Granted, this is a horrible, horrible way to present the list of
> variables; but this is a problem with the way the HTML version of the
> manual is presented--not a problem with the manual itself per se.
> 
Wouldn't it be possible and nice to have after "A complete list of current 
variables follows."
A terse, overview-like list of current variables in a similar form as that of 
the obsolete ones,
each entry linked to the respective explanation?

> > Not so. Just obsolete variables are shown (and now valid counterparts).
> > So index_format is there, alternates not.
> 
> You won't find alternates there because it is not a variable (though
> it was, once, but no longer).  It's a command.
> 
Yes, my blindness.

The command list "3. Configuration Commands" has exactly the form I would
like to see for variables.

Again, thanks for explanations.

ulrich


Re: Does mail_check work on IMAP? (Slow checking time)

2014-04-14 Thread Grant Edwards
On 2014-04-12, David Woodfall  wrote:

> I've been trying to get mutt to check IMAP mail more frequently. At
> the moment it seems to take 15 secs or so for a new message to appear
> after I've actually recieved it (I have an audible new mail
> notification that counts mailboxes for new mail).

I though mutt supported IMAP's IDLE command.  That should reduce the
latency to well under a second.

-- 
Grant Edwards   grant.b.edwardsYow! !  Up ahead!  It's a
  at   DONUT HUT!!
  gmail.com



Re: Does mail_check work on IMAP? (Slow checking time)

2014-04-14 Thread Chris Down
Grant Edwards writes:
> I though mutt supported IMAP's IDLE command.  That should reduce the
> latency to well under a second.

At least in my experience, IMAP IDLE on mutt results in sporadic
lockups (on Google Apps, at least). The only solution I found was to set
mail_check and timeout to a low(ish) value. In the end I just downloaded
my mail locally and read it from there.


pgpP3xkDgNaRf.pgp
Description: PGP signature