* custom.el: buffer-substring-no-properties & XEmacs 19.13
@ 1996-03-20 15:44 Benny Amorsen
1996-03-20 17:59 ` Stainless Steel Rat
0 siblings, 1 reply; 2+ messages in thread
From: Benny Amorsen @ 1996-03-20 15:44 UTC (permalink / raw)
I am currently using sgnus-0.54, mailcrypt 3.4, and XEmacs-19.13.
XEmacs-19.13 does not implement properties on strings, which means
that buffer-substring-no-properties fails when it tries to
(set-text-properties 0 (length string) nil string). It is not a
problem with plain sgnus, the function is never called.
Mailcrypt does call the function and dies. If I remove the definition
of the function from custom.el, mailcrypt works. (It dies later when
trying to save the article to disk, but that's a different story.)
Benny
--
Finger for PGP Public Key
WWW: <A HREF="http://www.daimi.aau.dk/~amorsen/">Benny's homepage</A>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: custom.el: buffer-substring-no-properties & XEmacs 19.13
1996-03-20 15:44 custom.el: buffer-substring-no-properties & XEmacs 19.13 Benny Amorsen
@ 1996-03-20 17:59 ` Stainless Steel Rat
0 siblings, 0 replies; 2+ messages in thread
From: Stainless Steel Rat @ 1996-03-20 17:59 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
This should fix those string property bugaboos.
(if (and
(string-match "Gnus v5.0$" gnus-version)
(string-match "19.13 XEmacs Lucid" emacs-version))
(defadvice set-text-properties (around ignore-strings activate)
"Ignore strings."
(or (stringp (ad-get-arg 3))
ad-do-it)))
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
iQCVAwUBMVBHaZ6VRH7BJMxHAQF7YwP+MPeET7Hxfi81jh7HYFdmG1OQCDPZxTUi
poMUAfyK/Fq9889a5zKcFgnuSuB95UMdF3O6a4BKGVP7fwBCcvarxLgVGq2T5TZU
IJ0Q8gi3E6BfzGa37Gq1KYVPSyjE7wJCUDTjnIFEZ8wLF/AfemzHk+L7mJQkzbcc
btWK4b1HJiM=
=Ptm5
-----END PGP SIGNATURE-----
--
Rat <ratinox@ccs.neu.edu> \ Happy Fun Ball contains a liquid core,
PGP Public Key: Ask for one today! \ which, if exposed due to rupture, should
http://www.ccs.neu.edu/home/ratinox/ \ not be touched, inhaled, or looked at.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-03-20 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-20 15:44 custom.el: buffer-substring-no-properties & XEmacs 19.13 Benny Amorsen
1996-03-20 17:59 ` Stainless Steel Rat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).