Hi, thanks for the answer... unfortunately I have a precompiled binary. Do I really have to change the source for that? I guess so... the change is not trivial
Thanks On 18 February 2011 00:10, Monte Stevens <montk...@yahoo.ca> wrote: > On Thu, Feb 17, 2011 at 07:01:30PM -0400, Monte Stevens wrote: >> On Thu, Feb 17, 2011 at 04:48:16PM +0100, Pau wrote: >> > Hello, >> > >> > I have vi as my editor for composing new emails. Sometimes the >> > connection breaks and then I have to dig into the tmp directory where >> > the file was created. These files are named like >> > >> > mutt-deukalion-500-10049-775496779933749571 >> > >> > with "deukalion" the hostname. >> > >> > I would like to see whether there is a way to give these files another >> > name. Something like >> > >> > subject_date >> > >> > with >> > >> > subject: the subject of the email >> > date: something like date '+%h_%d_%Y_%Hh%Mmin' >> > >> > So that a temp. file would look like >> > >> > Meeting_on_saturday_Feb_17_2011_16h45min >> > >> > If the subject of that email had been "Meeting on saturday" >> > >> > Probably adding the seconds would be better to avoid conflicts. >> >> Look for 'void _mutt_mktemp' in muttlib.c . My guess is you could make >> modifications here, although I'm not sure how mutt would know about the >> subject of a new message. > > OK, now I know. I have autoedit and edit_headers set so I jump right into > the editor. > > -- > Monte >