ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Deleting "-temp" files
@ 2012-06-17 15:53 Aditya Mahajan
  2012-06-18  8:28 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2012-06-17 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

context --purgeall deletes all temporary files (i.e., files containing 
"-temp-"). In fact, I had requested this feature so that the filter module 
does not clutter the current directory with temporary files.

However, there is a bug. ConTeXt deletes all files containg "-temp" (note 
the missing "-" at the end). So,

$ touch A1-temperature.tex
$ context --purgeall

gives

mtx-context     | purged files: A1-temperature.tex

AFAICS, mtx-context.lua is correct. It contains "-temp-" as expected.
So, I don't know why files containing "-temp" are deleted.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Deleting "-temp" files
  2012-06-17 15:53 Deleting "-temp" files Aditya Mahajan
@ 2012-06-18  8:28 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2012-06-18  8:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 17-6-2012 17:53, Aditya Mahajan wrote:
> Hi,
>
> context --purgeall deletes all temporary files (i.e., files containing
> "-temp-"). In fact, I had requested this feature so that the filter
> module does not clutter the current directory with temporary files.
>
> However, there is a bug. ConTeXt deletes all files containg "-temp"
> (note the missing "-" at the end). So,
>
> $ touch A1-temperature.tex
> $ context --purgeall
>
> gives
>
> mtx-context     | purged files: A1-temperature.tex
>
> AFAICS, mtx-context.lua is correct. It contains "-temp-" as expected.
> So, I don't know why files containing "-temp" are deleted.

hm, shouldn't

local special_runfiles = {
     "-mpgraph", "-mprun", "-temp-"
}

be:

local special_runfiles = {
     "%-mpgraph", "%-mprun", "%-temp%-"
}

can you test that?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-18  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-17 15:53 Deleting "-temp" files Aditya Mahajan
2012-06-18  8:28 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).