>>>> "Raymond" == Raymond Toy
<toy(a)rtp.ericsson.se> writes:
Raymond> I don't know what to do about customize in this case.
Oops. I've found that if I do this in customize, I get what I want:
Sc Attrib Selection List: *
[INS] [DEL] List:
String: from
Repeat:
[INS] [DEL] Cons-cell:
Regexp: "\([^ ]+\) \([^ ]+\) (EUS)
Choice: [Value Menu] Repeat:
[INS] [DEL] Repeat:
[INS] [DEL] Lisp expression: let
[INS] [DEL] Lisp expression: ((field (sc-mail-field
"from")))
[INS] [DEL] Lisp expression:
(string-match "\"\\([^ ]+\\) \\([^ ]+\\) (EUS)" field)
[INS] [DEL] Lisp expression: (match-string 1 field)
[INS]
[INS]
Hardly intuitive. Is this the way it's supposed to work? It would
seem much more intuitive if I could have just entered
[INS] [DEL] Lisp expression:
(let ((field (sc-mail-field "from")))
(string-match "\"\\([^ ]+\\) \\([^ ]+\\) (EUS)" field)
(match-string 1 field))
Ray