please try out this patch to supercite.
If you work in an environment with MS mail users, you probably see a lot
of addresses like "Miller, Jeff" <jmiller(a)smart.net>. Supercite
currently would prompt with an attribution of MJ for this case. This
patch use mail-extr, which cleans this and some other messes up. I tried
it at work and it worked pretty well. I get additionally frustrated
because the addresses I get are usually "Last, First Organization".
I'd like to have some more testing done on it before it's officially
submitted.
jeff
--- supercite.el.orig Mon Aug 10 23:07:43 1998
+++ supercite.el Mon Aug 10 23:10:38 1998
@@ -55,6 +55,7 @@
(require 'regi)
+(require 'mail-extr)
;; start user configuration variables
;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
@@ -1075,13 +1076,7 @@
This should be the author's full name minus an optional title."
(let ((namestring
(or
- (sc-name-substring
- from (string-match "(.*)" from 0) (match-end 0) 1)
- (sc-name-substring
- from (string-match "\".*\"" from 0) (match-end 0) 1)
- (sc-name-substring
- from (string-match "\\([-.a-zA-Z0-9_]+\\s +\\)+<" from 0)
- (match-end 1) 0)
+ (car (mail-extract-address-components from))
(sc-attribs-emailname from))))
;; strip off any leading or trailing whitespace
(if namestring
[