[mew-int 00546] Questions about dealing with CVS commit mail messages via Mew

sen_ml at example.com sen_ml at example.com
Mon Nov 5 08:46:30 JST 2001


I have some questions concerning the following situation I was hoping
to get some feedback on.  But first, some background:

I'm subscribed to a list that sends out a formatted message for each
CVS commit for a particular project.  I'd like to be able to easily
produce cvs update commands corresponding to each mail message that is
sent out from this list.  [ I don't consider doing a full CVS update
to be a satisfactory option because it is a very time-consuming
operation for this particular repository. ] 

I've written a script to parse a message and output a corresponding
cvs update command [1].  I use this script via
`mew-summary-pipe-message' while viewing an appropriate message.  This
works fairly well when CVS commit messages are infrequent.

When I receive a lot of CVS commit messages in a short period of time,
it's a pain to have to invoke `mew-summary-pipe-message' for every
such message.  So, I wrote an elisp command which allows the user to
specify multiple messages to be handed to a shell command.

How it works:

  1) A user who wants to use this command marks messages with `@'. 

  2) The user then invokes the command and specifies a shell command
     which expects to receive full-pathnames of files that contain CVS
     commit mail messages.

  3) The shell command is called with appropriate arguments and
     the result is displayed in a buffer.

My questions are:

  1) Can anyone think of a better way to deal with this type of situation?

  2) Is anyone interested in the elisp code?

Thanks for any comments.


[1] The script doesn't work for initial imports yet.



More information about the Mew-int mailing list