>>>> "Paul" == Paul Krause
<krause(a)ibelong.net> writes:
Paul> The attached patch to psgml.el,v 2.20 lets me find the
Paul> catalog on MS file systems. It works, but it seems like
Hello Paul,
the patch you attached is reversed.
You have generalized FROM : TO path-separator, not from
path-separator to :. The patch tries to do the opposite.
--- psgml.el Thu May 20 11:53:30 1999
+++ \unzipped\lisp\psgml\psgml.el Wed Dec 09 14:33:56 1998
@@ -380,8 +380,8 @@
(defun sgml-parse-colon-path (cd-path)
"Explode a colon-separated list of paths into a string list."
(let (cd-list (cd-start 0) cd-colon)
- (setq cd-path (concat cd-path path-separator))
- (while (setq cd-colon (string-match path-separator cd-path cd-start))
+ (setq cd-path (concat cd-path ":"))
+ (while (setq cd-colon (string-match ":" cd-path cd-start))
<lines deleted by Adrian>
Paul> there ought to be a more abstract mechanism of dealing with
Paul> this. Is there something in XEmacs internals that can
Paul> replace sgml-parse-colon-path?
I think you are looking for `split-path'[1]. Could you please produce a
revised patch using split-path with "diff -u old-file new-file"?
Regards,
Adrian
Paul> --
Paul> Paul Krause
Paul> krause(a)ibelong.net
Paul> 617.252.9960 tel.
Paul> 617.252.9961 fax.
Footnotes:
[1] `split-path' (buffer: *wide reply to Paul Krause*, mode: Message)
Built-in function:
arguments: (PATH)
Explode a search path into a list of strings.
The path components are separated with the characters specified
with `path-separator'.
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com