Randall J. Million <[EMAIL PROTECTED]> wrote:
>
> I am having trouble determining the difference between typing keys in
> manually and using push or macro.
Timing.
> set editor='echo ok > '
> macro index y 'r<return><return>n'
>
> If I it y in the index i get an error 'Aborted unmodified message.' If
> i type the 4 characters, however, I am left at the Compose menu. What
> is the difference between the two methods?
Mutt looks at the timestamp on the file to determine if your editor has
modified the file. However, your macro executes so fast, that the
resulting file has the same timestamp as the file Mutt creates. If you
press the keystrokes yourself, it takes longer, and Mutt sees the file
as modified.
> I am looking for a method to hit a key and send the reply "ok" in the
> body of the message to the person (listserv) that sent the mail to me.
In that case, you should probably use the append ">>" operator instead
of ">" (overwrite).
If you "set abort_unmodified=no", you won't get the timestamp error,
anyway.
--
David DeSimone | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED] | that there is no man really clever who has not
Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson
Convex Division | PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44