>>>>> "DD" == Dave Disser <[EMAIL PROTECTED]> writes:
DD> When I switched to XEmacs 19.12 from FSF Emacs 19.28, I found my .bbdb
DD> incomprehensible to XEmacs because it contained a nonsense like
DD> #("Joe" 0 3 (face custom-face-SkyeBlue-default-default-t-t-nil)) where
DD> the string "Joe" should have been.
DD> I assume this happened because my newsreader highlights article
DD> headers in this way and bbdb grabbed the text with all its attributes
DD> and shoved it in the .bbdb. Is there a way to avoid this behavior? I
DD> managed to fix it up with a macro no problem, but it seems like
DD> something to be avoided.
This is correct. We discussed this a while back on this list and came up
with several solutions. My solution is to unset any text properties on the
string being copied in the function mail-extract-address-components.
For those who are interested, the patch to emacs-19.29's mail-extr.el
follows. Richard Stallman has told me this problem will be fixed in the
next version of emacs (19.30?).
> diff -c mail-extr.el~ mail-extr.el
*** mail-extr.el~ Tue Aug 15 15:19:52 1995
--- mail-extr.el Thu Jul 20 15:52:07 1995
***************
*** 760,765 ****
--- 760,767 ----
(insert-buffer-substring address))
(t
(error "Illegal address: %s" address)))
+ ;Turn off any text properties in this buffer: Jack Vinson 20 July 1995
+ (set-text-properties (point-min) (point-max) nil)
;; stolen from rfc822.el
;; Unfold multiple lines.
Jack Vinson Off www.cern.ch...
[EMAIL PROTECTED] Through gopher.umn.edu
<http://www.cis.upenn.edu/~vinson/home.html> Around ftp.indiana.edu
Sunderland, MA Nothin' but 'Net - Pete Bretz