It turns out that, in many cases, it is quite annoying that
mail-fetch-field (and a few pieces of mail-extr, too) deliver the mail
fields with the contained (visual) properties.
Should they do that ? Or should the properties have been overlays in the
first place ?
Here is a patch for one place, but I am not sure whether this is The Right
Thing to do.
--- /usr/local/gnu/share/emacs/19.29/lisp/mail-utils.el Fri Feb 11 23:04:58 1994
+++ ./mail-utils.el Thu Jul 20 17:13:03 1995
@@ -174,7 +174,7 @@
(forward-char -1))
(setq value (concat value
(if (string= value "") "" ", ")
- (buffer-substring opoint (point))))))
+ (buffer-substring-no-properties opoint (point))))))
(and (not (string= value "")) value))
(if (re-search-forward name nil t)
(progn
@@ -186,7 +186,7 @@
(forward-char -1)
(while (member (preceding-char) '(? ?\t))
(forward-char -1))
- (buffer-substring opoint (point)))))))))
+ (buffer-substring-no-properties opoint (point)))))))))
;; Parse a list of tokens separated by commas.
;; It runs from point to the end of the visible part of the buffer.
--
Jost Krieger, Rechenzentrum der Ruhr-Universitaet Bochum
[EMAIL PROTECTED]
C=de;AD=d400;PD=ruhr-uni-bochum;OU=rz;OU=ruba;S=Krieger;G=Jost;