Kjell Eriksson | 16 Jan 14:37 2006
Picon
Picon

folder_purge


Hello!
  Managed to get most of exmh working on a MacOS system (Darwin 8.4.0; 
exmh 2.7.2) except sequences (see earlier mail..) and now  Folder_Purge
which uses a variable Env_Tmp (where the /tmp directory sits??).

When doing a 'Purge all folders' I get:
 Error in startup script: invalid command name "Env_Tmp"
    while executing
"Env_Tmp"
    (procedure "Folder_Purge" line 7)
    invoked from within
"Folder_Purge inbox"

How is this variable set (or rather where?)

Many thanks in advance,
Kjell

  o------------------------------------------------------------------------o
  |  Kjell Eriksson                         |  Kjell.Eriksson <at> astro.uu.se  |
  |  Institutionen f Astronomi o Rymdfysik   <at>   Ångströmlaboratoriet        |
  |  Dept. of Astronomy & Space Physics     |  Lägerhyddsvägen 1 (visit)   | 
  |  Uppsala universitet                    | (Regementsvägen 1 (delivery))|
  |  Box 515                                |  +46  (0)18 471 59 57        |
  |  SE-751 20  UPPSALA    / Sweden         |  +46  (0)18 471 59 99 (fax)  |
  o------------------------------------------------------------------------o
Kjell Eriksson | 16 Jan 17:15 2006
Picon
Picon

Re: folder_purge


david.w.h.chin <at> gmail.com said:
> In my installation of 2.7.2, it's in env.tcl -- a grep found it. It's not a
> variable, it's a procedure. 

OK. found it here too. it apparently sets the $exmh(tempdir) variable.

But still: 

> When doing a 'Purge all folders' I get:
>  Error in startup script: invalid command name "Env_Tmp"
>     while executing
> "Env_Tmp"
>     (procedure "Folder_Purge" line 7)
>     invoked from within
> "Folder_Purge inbox"

My Tcl is 8.4.6

Any clues??

/Kjell
Michael David Sullivan | 17 Jan 17:17 2006
Picon

Re: folder_purge


I don't have any solutions, but I get the same thing on Solaris:

Error in startup script: invalid command name "Env_Tmp"
    while executing
"Env_Tmp"
    (procedure "Folder_Purge" line 7)
    invoked from within
"Folder_Purge inbox"
    (file "/tmp/username/exmh.1646.purge.0" line 17)

exmh 2.7.2, TCL 8.4.9, solaris 9

> Subject: Re: folder_purge 
> Date: Mon, 16 Jan 2006 09:15:51 -0700
> From: "Kjell Eriksson" <Kjell.Eriksson <at> astro.uu.se>
> To: "David Chin" <david.w.h.chin <at> gmail.com>, 	<exmh-users <at> redhat.com>
> Reply-To: <Kjell.Eriksson <at> astro.uu.se>, 	"Discussion list for EXMH users" <exmh-users <at> redhat.com>
> 
> david.w.h.chin <at> gmail.com said:
> > In my installation of 2.7.2, it's in env.tcl -- a grep found it. It's not a
> > variable, it's a procedure. 
> 
> OK. found it here too. it apparently sets the $exmh(tempdir) variable.
> 
> But still: 
> 
> > When doing a 'Purge all folders' I get:
> >  Error in startup script: invalid command name "Env_Tmp"
> >     while executing
(Continue reading)

Anne Possoz | 18 Jan 18:40 2006
Picon
Picon

Re: folder_purge

Michael David Sullivan wrote:
> I don't have any solutions, but I get the same thing on Solaris:
> 
> 
> Error in startup script: invalid command name "Env_Tmp"
>     while executing
> "Env_Tmp"
>     (procedure "Folder_Purge" line 7)
>     invoked from within
> "Folder_Purge inbox"
>     (file "/tmp/username/exmh.1646.purge.0" line 17)

Stucked with the same problem I made a patch which works.
No idea if it is clean and/or safe but it is simple and works.
I attached it (if attachments are allowed).

exmh is becoming pretty old now but it is still my favorite, even
with troubles regarding internationalisation (iso-8859-15 and
utf-8 in the scan listing).

					Anne

P.S. As I didn't see this mail in the list, I resend it.

- -- 
Anne Possoz, Domaine IT-GE            Espace logiciel libre à l'Ecole
Ecole Polytechnique Fédérale de Lausanne, 1015 Lausanne (Switzerland)

Attachment (folder.tcl.patch): application/x-patch, 1038 bytes
(Continue reading)

Valdis.Kletnieks | 18 Jan 18:58 2006
Picon

Re: folder_purge

On Wed, 18 Jan 2006 18:40:17 +0100, Anne Possoz said:

> > Error in startup script: invalid command name "Env_Tmp"
> >     while executing

> Stucked with the same problem I made a patch which works.
> No idea if it is clean and/or safe but it is simple and works.

      puts $out "source $exmh(library)/folder.tcl"
+     puts $out "source $exmh(library)/env.tcl"
+     puts $out [list set exmh(tmpdir) $exmh(tmpdir)]
      puts $out [list set mhProfile(delprefix) $mhProfile(delprefix)]

Sourcing env.tcl is correct.  I haven't figured out yet if the second
line is in fact required, or if it should just figure it out for itself.
_______________________________________________
Exmh-users mailing list
Exmh-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/exmh-users
Douglas Kline | 18 Jan 20:52 2006
Picon

Reply to Messages with Attachments


Is it possible to set the reply sub-command or, more desirably, to define a
reply sub-command to reply to a message which includes one or more attachments
by including the marked body of the message without including the
attachment(s)?  Alternatively, is it possible to set or define a reply
sub-command to include attachments of the original message as attachments to
the reply?  TIA.

Douglas

========
Douglas Kline
kline <at> head.cfa.harvard.edu
Kevin Cosgrove | 20 Jan 22:57 2006
X-Face

broken HTTP link repair script?


Has anyone already written a script or program which will repair the 
seemingly endless stream of broken links coming to me courtesy of 
Microsoft email programs?  MS had a patch for this problem many years 
ago.  Evidently it never made it into future, as in today's, 
program(s).  Links are broken into multiple lines if deemed too long, 
although I don't know how long is too long.  To fix this I edit each 
message and remove the linebreaks, if I care about a link enough to 
do that.  If you've already got a script that does this, I'd like to 
get a copy.

Thanks....

--
Kevin

Gmane