Re: Minor annoyance with mutt, crypt_replyencrypt and PGP

2017-04-19 Thread Francesco Ariis
On Wed, Apr 19, 2017 at 07:21:56AM -0700, Kevin J. McCarthy wrote:
> Sorry, I may have misunderstood.  If you're in the select key menu,
> showing a list of matching keys, you can hit 'q' to exit the menu.  It
> should then display a prompt: "Enter keyID for xxx: ".  You should then
> be able to hit ctrl-g at that prompt and it will bring you back to the
> compose menu.  C-g is a 'generic' abort key for prompts.
> 
> I don't think 1.5.23 was different with this behavior, but it has been a
> while since I used that version. :-)

Cheers, it works!


Re: Minor annoyance with mutt, crypt_replyencrypt and PGP

2017-04-19 Thread Kevin J. McCarthy
On Wed, Apr 19, 2017 at 06:56:37AM +0200, Francesco Ariis wrote:
> Hello Kevin,
> 
> On Tue, Apr 18, 2017 at 11:49:03AM -0700, Kevin J. McCarthy wrote:
> > On Tue, Apr 18, 2017 at 07:10:43PM +0200, Francesco Ariis wrote:
> > > 5. Now it seems I am stuck in the select key menu, and I have
> > >no idea how to exit it without sending the email
> > 
> > You should be able to hit ctrl-g to get out of that prompt and back to
> > the compose screen.
> 
> C-g doesn't bring me out of that prompt (mutt 1.5.23), urxvt. Is
> it a bound function or just a 'generic' key combination?

Sorry, I may have misunderstood.  If you're in the select key menu,
showing a list of matching keys, you can hit 'q' to exit the menu.  It
should then display a prompt: "Enter keyID for xxx: ".  You should then
be able to hit ctrl-g at that prompt and it will bring you back to the
compose menu.  C-g is a 'generic' abort key for prompts.

I don't think 1.5.23 was different with this behavior, but it has been a
while since I used that version. :-)

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: Minor annoyance with mutt, crypt_replyencrypt and PGP

2017-04-18 Thread Francesco Ariis
Hello Kevin,

On Tue, Apr 18, 2017 at 11:49:03AM -0700, Kevin J. McCarthy wrote:
> On Tue, Apr 18, 2017 at 07:10:43PM +0200, Francesco Ariis wrote:
> > 5. Now it seems I am stuck in the select key menu, and I have
> >no idea how to exit it without sending the email
> 
> You should be able to hit ctrl-g to get out of that prompt and back to
> the compose screen.

C-g doesn't bring me out of that prompt (mutt 1.5.23), urxvt. Is
it a bound function or just a 'generic' key combination?

> > alternatively a way to colour `Security: Encrypt (PGP/MIME)` red or
> > something?
> 
> Not currently, but this was suggested in
> https://dev.mutt.org/trac/ticket/3915 and I'll be looking into it for a
> future release.

Glad to know, thanks!


Re: Minor annoyance with mutt, crypt_replyencrypt and PGP

2017-04-18 Thread Kevin J. McCarthy
On Tue, Apr 18, 2017 at 07:10:43PM +0200, Francesco Ariis wrote:
> 5. Now it seems I am stuck in the select key menu, and I have
>no idea how to exit it without sending the email

You should be able to hit ctrl-g to get out of that prompt and back to
the compose screen.

> alternatively a way to colour `Security: Encrypt (PGP/MIME)` red or
> something?

Not currently, but this was suggested in
https://dev.mutt.org/trac/ticket/3915 and I'll be looking into it for a
future release.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Minor annoyance with mutt, crypt_replyencrypt and PGP

2017-04-18 Thread Francesco Ariis
Hello list,

I have `crypt_replyencrypt` and `crypt_autoencrypt` for some contacts.
It works fine, but sometimes I want to send a cleartext email.
Again, most of the times I remember to "clear PGP", but other times
this happens:

1. I start a message to contact xyz
2. I type in the words and close the editor
3. I miss the `Security: Encrypt (PGP/MIME)`
4. I press 'y' to send the message
5. Now it seems I am stuck in the select key menu, and I have
   no idea how to exit it without sending the email

Is there a way to exit such menu or alternatively a way to colour
`Security: Encrypt (PGP/MIME)` red or something? Any other suggestion
is welcome!

-F