nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] MH-W intro/help request

2014-12-05 07:15:10
erich wrote:

So, the result of all of this is that I'm forming a model which suggests
maybe I should ask if we could have ... I'm not sure what to call it ...
a "-nocheck" switch which would not need to check the folder nor
update any sequences, and would be allowed to simply fail if you tried
to use a relative or sequence-based message ID.

Examples of what I'm asking for:
  1)  "show -nocheck 150"
     Would blindly access message 150, would not update "cur" or any
     other sequence.

  2)  "mhlist -nocheck <options> 150"
     Would operate on message 150 with, again, no update of "cur" or
     any other sequence.

  3)  "mark -list -nocheck -sequence ..."
     Would give the list in the raw form without needing to do anything.

i haven't been paying close attention to this thread, but...

if you're not interested in checking the folder or updating cur, or
other state, perhaps (in the first two cases, at least) you should be
using the -file switch.  this assumes you're willing to cache the output
of mhpath.

paul



To summarize, my interest in making these faster isn't so much for the
*single* invokation case, but the fact that MH-W may have to call them
many to even 10+ times in various combinations for one percieved result
for the end-user (the "message view" is the big poster child for this).
... Not that various Hacker-types would mind having a faster mechanism
when they know what they are doing to access email in stupendously
large folders...

It is straightforward to have each of the MH-W pages have at least one
activity which would update cur/the sequences, but having it done 10
times in a row seems excessive/wasteful and as I've demonstrated above
could be prohibitive.

How does this sound?


--
    Erich Stefan Boleyn     <erich(_at_)uruk(_dot_)org>     
http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

=----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 20.5 degrees)

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>