<<< Date Index >>>     <<< Thread Index >>>

Re: mutt 1.5.16 released



On 16Jun2007 12:46, Mike Hunter <mhunter@xxxxxxxxxx> wrote:
| What do people think about allowing the user to specify in their muttrc
| what values do and do not constitute a fatal error coming from their
| editor?

It's needless:

  #!/bin/sh
  real-editor ${1+"$@"}
  xit=$?
  case $xit in
    3|4)
      xit=0
      ;;
  esac
  exit $xit

| It seems to me mutt *should* react if it is told there's been a
| fatal editor failure, and given that the standard means of communicating
| such an error has occurred is inherently broken, we should allow for
| another means.

A simple "notice-editor-failure" boolean setting would be plenty, and
probably desirable given the flamewar.

Fine tuning can be done with a script as above, but
yes-I-care,no-I-don't would cover a lot of users.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

No, Sir. I don't think its safe to look at the speedometer when I'm going
that fast.
        - Tom Coradeschi <tcora@xxxxxxxxxxxxx>