>>>>> "SS" == Sam Steingold <[EMAIL PROTECTED]> writes:
SS> text properties in the disguise of something like
SS> #("stuff" (something (else 1 3)))
SS> make their way into the ~/.bbdb file.
SS> how do I fight that?
You need to rewrite the function mail-extract-address-components to remove
text properties. Of course, this function is gigantic, so I don't want to
include the entire thing. Here is some context, though:
;; Insert the address itself.
(cond ((stringp address)
(insert address))
((bufferp address)
(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.
(goto-char (point-min))
(while (re-search-forward "\\([^\\]\\(\\\\\\\\\\)*\\)\n[ \t]" nil t)
(replace-match "\\1 " t))
I mentioned this to Richard Stallman of FSF and he indicated that this
problem will be solved in another manner in the next release of Emacs
(19.30?)
Jack Vinson - - - [EMAIL PROTECTED] Sunderland, MA
<http://www.cis.upenn.edu/~vinson/home.html>
"Jesus rides beside me. He never buys any smokes" The Replacements