Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Luis Mochan
On Fri, Jun 22, 2012 at 11:27:23AM -0700, Gary Johnson wrote: > On 2012-06-22, Luis Mochan wrote: > > > But that would defeat the purpose of the copy which is to have a > > > stable file for LibreOffice to read while allowing mutt to wipe and > > > delete its temporary file. A hard link would work

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Gary Johnson
On 2012-06-22, David Champion wrote: > * On 22 Jun 2012, Gary Johnson wrote: > > > > But that would defeat the purpose of the copy which is to have a > > stable file for LibreOffice to read while allowing mutt to wipe and > > delete its temporary file. A hard link would work if it wasn't that >

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread David Champion
* On 22 Jun 2012, Gary Johnson wrote: > > But that would defeat the purpose of the copy which is to have a > stable file for LibreOffice to read while allowing mutt to wipe and > delete its temporary file. A hard link would work if it wasn't that > mutt wipes the file before unlinking it. The l

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Gary Johnson
On 2012-06-22, Luis Mochan wrote: > > But that would defeat the purpose of the copy which is to have a > > stable file for LibreOffice to read while allowing mutt to wipe and > > delete its temporary file. A hard link would work if it wasn't that > > mutt wipes the file before unlinking it. > > >

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Luis Mochan
> But that would defeat the purpose of the copy which is to have a > stable file for LibreOffice to read while allowing mutt to wipe and > delete its temporary file. A hard link would work if it wasn't that > mutt wipes the file before unlinking it. > I guess not. If I understand correctly, the

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Luis Mochan
David, Thanks for the suggestion! Luis On Fri, Jun 22, 2012 at 12:50:02PM -0500, David Champion wrote: > * On 22 Jun 2012, Luis Mochan wrote: > > I guess a solution used for browsing html attachments (discussed > > here some time ago; see attached perl script) may be adapted for > > running libr

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Gary Johnson
On 2012-06-22, David Champion wrote: > * On 22 Jun 2012, Luis Mochan wrote: > > I guess a solution used for browsing html attachments (discussed > > here some time ago; see attached perl script) may be adapted for > > running libreoffice. The main idea would be to make a copy of the > > file, send

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread David Champion
* On 22 Jun 2012, Luis Mochan wrote: > I guess a solution used for browsing html attachments (discussed > here some time ago; see attached perl script) may be adapted for > running libreoffice. The main idea would be to make a copy of the > file, send it to libreoffice and sleep a short time befor

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Luis Mochan
Thanks Chris! You're right (it was a fast translation from Spanish). Regards, Luis On Sat, Jun 23, 2012 at 04:57:04AM +1200, Chris Bannister wrote: > On Fri, Jun 22, 2012 at 09:38:10AM -0500, Luis Mochan wrote: > > # DESCRIPTION > > # Runs a browser on a copy of a file, and sleeps for a while >

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Chris Bannister
On Fri, Jun 22, 2012 at 09:38:10AM -0500, Luis Mochan wrote: > # DESCRIPTION > # Runs a browser on a copy of a file, and sleeps for a while > # before deleting it. It solves the problem that mutt may delete > # the file too fast. IMHO, change "fast" to "soon". The *speed* of delet

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Luis Mochan
I guess a solution used for browsing html attachments (discussed here some time ago; see attached perl script) may be adapted for running libreoffice. The main idea would be to make a copy of the file, send it to libreoffice and sleep a short time before returning to mutt, Regards, Luis On Fri, J

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread Marcelo Laia
Hi 2012/6/22 steve : > Have you found a solution? Unfortunately, no! -- Marcelo Luiz de Laia

Re: mutt deletes attachement before libreoffice tries to open it

2012-06-22 Thread steve
Hi, Le 26-04-2012, à 08:07:42 -0300, Marcelo Luiz de Laia (marcelol...@gmail.com) a écrit : > On Thu, 26 Apr 2012, Jostein Berntsen wrote: > > > It seems like most of your entries are bound to openoffice(soffice) instead > > of libreoffice. Try to change all entries to libreoffice instead. > >

Re: mutt deletes attachement before libreoffice tries to open it

2012-04-26 Thread Jostein Berntsen
On 26.04.12,08:07, Marcelo Luiz de Laia wrote: > On Thu, 26 Apr 2012, Jostein Berntsen wrote: > > > It seems like most of your entries are bound to openoffice(soffice) instead > > of libreoffice. Try to change all entries to libreoffice instead. > > > > Jostein > > > > Thank you very much, but,

Re: mutt deletes attachement before libreoffice tries to open it

2012-04-26 Thread Marcelo Luiz de Laia
On Thu, 26 Apr 2012, Jostein Berntsen wrote: > It seems like most of your entries are bound to openoffice(soffice) instead > of libreoffice. Try to change all entries to libreoffice instead. > > Jostein > Thank you very much, but, it dosen't solve that problem. If libreoffice is alread running

Re: mutt deletes attachement before libreoffice tries to open it

2012-04-26 Thread Jostein Berntsen
On 26.04.12,06:17, Marcelo Luiz de Laia wrote: > On Thu, 26 Apr 2012, Jostein Berntsen wrote: > > > On 25.04.12,18:12, Marcelo Luiz de Laia wrote: > > > On Wed, 25 Apr 2012, David Haguenauer wrote: > > > > > > > > Sometime I got the same problem here. However, I see that I only get > > > > > this

Re: mutt deletes attachement before libreoffice tries to open it

2012-04-26 Thread Marcelo Luiz de Laia
On Thu, 26 Apr 2012, Jostein Berntsen wrote: > On 25.04.12,18:12, Marcelo Luiz de Laia wrote: > > On Wed, 25 Apr 2012, David Haguenauer wrote: > > > > > > Sometime I got the same problem here. However, I see that I only get > > > > this issue when libreoffice is already running! > > > > > > I be

Re: mutt deletes attachement before libreoffice tries to open it

2012-04-26 Thread Jostein Berntsen
On 25.04.12,18:12, Marcelo Luiz de Laia wrote: > On Wed, 25 Apr 2012, David Haguenauer wrote: > > > > Sometime I got the same problem here. However, I see that I only get > > > this issue when libreoffice is already running! > > > > I believe this is a different issue. What probably happens in yo

mutt deletes attachement before libreoffice tries to open it

2012-04-25 Thread Marcelo Luiz de Laia
On Wed, 25 Apr 2012, David Haguenauer wrote: > > Sometime I got the same problem here. However, I see that I only get > > this issue when libreoffice is already running! > > I believe this is a different issue. What probably happens in your > in your case ... > ... if LibreOffice is already runn