Re: add the content of another email to new message

2016-08-16 Thread cs

On 16Aug2016 19:13, Tom Fowle  wrote:

How about simply hitting "f" while in the original message (forward),
you're then dumpped into a new message containing your original and can edit
away.


 breaks In-Reply-To:.

Cheers,
Cameron Simpson 


[SPAM?] Re: add the content of another email to new message

2016-08-16 Thread Luis Mochan
To this end I always run several instances of mutt simultaneously
under tmux. One with inbox, others with inbox-read-only,  mbox, and
sent.

On Wed, Aug 17, 2016 at 08:17:43AM +1000, Cameron Simpson wrote:
> On 16Aug2016 19:58, Jethro Tull  wrote:
> > I'm using vim as editor in mutt. I would like to find a way to dump the
> > content of another email or part to a new message while being composed.
> > Of course without running a new instance of mutt.
> 
> Why not by running a new instance of mutt?
> 
> Without that, you need some kind of tool that _vim_ can invoke to access
> message content. How are you intending to designate that message from inside
> vim?
> 
> Note that you can reply to more that one message from mutt itself, before
> you start composing: tag multiple messages, then  (or
>  or whatever). You'll get all their text quoting in the reply
> template.
> 
> Cheers,
> Cameron Simpson 
> 

-- 

  o
W. Luis Mochán,  | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388 `>/   /\
Apdo. Postal 48-3, 62251 |   (*)/\/  \
Cuernavaca, Morelos, México  | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB




Re: add the content of another email to new message

2016-08-16 Thread Tom Fowle
Jethro
How about simply hitting "f" while in the original message (forward),
you're then dumpped into a new message containing your original and can edit
away.

Does that do what you want?
Tom Fowle

On Tue, Aug 16, 2016 at 07:58:42PM +, Jethro Tull wrote:
> I'm using vim as editor in mutt. I would like to find a way to dump the 
> content of another email or part to a new message while being composed. Of 
> course without running a new instance of mutt.


Re: Attachment saving has lost a '/' and so fails

2016-08-16 Thread Chris Green
On Tue, Aug 16, 2016 at 02:56:45PM -0400, Patrick Shanahan wrote:
> * Chris Green  [08-16-16 13:40]:
> > On Tue, Aug 16, 2016 at 09:47:24AM -0700, Kevin J. McCarthy wrote:
> > > On Tue, Aug 16, 2016 at 10:49:45AM +0100, Chris Green wrote:
> > > > Just recently (maybe after an upgrade of my system to xubuntu 16.04)
> > > > when I save attachments from mutt it fails because it has lost the '/'
> > > > after the 'tmpdir' directory.
> > > 
> > > Vanilla mutt does not prepend $tmpdir when saving attachments.
> > > 
> > Ah!  See below.
> > 
> > > > So what's gone wrong?
> > > 
> > > Sounds like XUbuntu has an external patch that has a problem.
> > > 
> > No, it's my macro for saving attachments.  Why it used to insert the /
> > and doesn't any more I don't know.
> > 
> > It used to be:-
> > macro   attach  s "/tmp" "Save to /tmp"
> > simply adding the / has fixed my problem:-
> > macro   attach  s "/tmp/" "Save to /tmp"
> > 
> > Thanks for the pointer about $tmpdir!  :-)
> 
> Being your macro doesn't mean *buntu doesn't have an external patch with a
> problem which you see as missing "/".
> 
No, but I've fixed my problem now.  :-)

-- 
Chris Green


Re: add the content of another email to new message

2016-08-16 Thread Cameron Simpson

On 16Aug2016 19:58, Jethro Tull  wrote:
I'm using vim as editor in mutt. I would like to find a way to dump the 
content of another email or part to a new message while being composed. Of 
course without running a new instance of mutt.


Why not by running a new instance of mutt?

Without that, you need some kind of tool that _vim_ can invoke to access 
message content. How are you intending to designate that message from inside 
vim?


Note that you can reply to more that one message from mutt itself, before you 
start composing: tag multiple messages, then  (or 
 or whatever). You'll get all their text quoting in the reply 
template.


Cheers,
Cameron Simpson 


add the content of another email to new message

2016-08-16 Thread Jethro Tull
I'm using vim as editor in mutt. I would like to find a way to dump the content 
of another email or part to a new message while being composed. Of course 
without running a new instance of mutt.

Re: Attachment saving has lost a '/' and so fails

2016-08-16 Thread Patrick Shanahan
* Chris Green  [08-16-16 13:40]:
> On Tue, Aug 16, 2016 at 09:47:24AM -0700, Kevin J. McCarthy wrote:
> > On Tue, Aug 16, 2016 at 10:49:45AM +0100, Chris Green wrote:
> > > Just recently (maybe after an upgrade of my system to xubuntu 16.04)
> > > when I save attachments from mutt it fails because it has lost the '/'
> > > after the 'tmpdir' directory.
> > 
> > Vanilla mutt does not prepend $tmpdir when saving attachments.
> > 
> Ah!  See below.
> 
> > > So what's gone wrong?
> > 
> > Sounds like XUbuntu has an external patch that has a problem.
> > 
> No, it's my macro for saving attachments.  Why it used to insert the /
> and doesn't any more I don't know.
> 
> It used to be:-
> macro   attach  s "/tmp" "Save to /tmp"
> simply adding the / has fixed my problem:-
> macro   attach  s "/tmp/" "Save to /tmp"
> 
> Thanks for the pointer about $tmpdir!  :-)

Being your macro doesn't mean *buntu doesn't have an external patch with a
problem which you see as missing "/".

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: Attachment saving has lost a '/' and so fails

2016-08-16 Thread Chris Green
On Tue, Aug 16, 2016 at 09:47:24AM -0700, Kevin J. McCarthy wrote:
> On Tue, Aug 16, 2016 at 10:49:45AM +0100, Chris Green wrote:
> > Just recently (maybe after an upgrade of my system to xubuntu 16.04)
> > when I save attachments from mutt it fails because it has lost the '/'
> > after the 'tmpdir' directory.
> 
> Vanilla mutt does not prepend $tmpdir when saving attachments.
> 
Ah!  See below.

> > So what's gone wrong?
> 
> Sounds like XUbuntu has an external patch that has a problem.
> 
No, it's my macro for saving attachments.  Why it used to insert the /
and doesn't any more I don't know.

It used to be:-
macro   attach  s "/tmp" "Save to /tmp"
simply adding the / has fixed my problem:-
macro   attach  s "/tmp/" "Save to /tmp"

Thanks for the pointer about $tmpdir!  :-)

-- 
Chris Green


Re: Attachment saving has lost a '/' and so fails

2016-08-16 Thread Kevin J. McCarthy
On Tue, Aug 16, 2016 at 10:49:45AM +0100, Chris Green wrote:
> Just recently (maybe after an upgrade of my system to xubuntu 16.04)
> when I save attachments from mutt it fails because it has lost the '/'
> after the 'tmpdir' directory.

Vanilla mutt does not prepend $tmpdir when saving attachments.

> So what's gone wrong?

Sounds like XUbuntu has an external patch that has a problem.

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


signature.asc
Description: PGP signature


Attachment saving has lost a '/' and so fails

2016-08-16 Thread Chris Green
Just recently (maybe after an upgrade of my system to xubuntu 16.04)
when I save attachments from mutt it fails because it has lost the '/'
after the 'tmpdir' directory.

I'm running the default version of mutt for xubuntu 16.04 which is
'Mutt 1.6.1 (2016-04-27)'.

My tmpdir is set as follows:-

set tmpdir=/tmp

When I try and save something, e.g. a PDF attachment, I get the
following on the status line:-

Save to file: /tmpThermgard Conservatory.pdf

... and not surprisingly it fails.


I have tried changing the tmpdir setting to:-

set tmpdir=/tmp/

but this hasn't helped (and shouldn't be needed anyway).

So what's gone wrong?


-- 
Chris Green