It's a case-fold-search issue I haven't been able to resolve in
half-an-hour.
%S replacement is done, even though patcher-logmsg-commit-command
%contains %s.
I was able to commit my pending change using patcher.el<1.11>.
case treatment in
(defun replace-in-string (str regexp newtext &optional literal)
is on trial.
It uses re-search-forward for strings longer than 50, string-match otherwise.
case treatment is undocumented for re-search-forward, depending on
buffer argument for string-match.
(if (> (length str) 50)
(with-temp-buffer
(insert str)
(goto-char 1)
(while (re-search-forward regexp nil t)
(replace-match newtext t literal))
(buffer-string))
(let ((start 0) newstr)
(while (string-match regexp str start)
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/