[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: error in process sentinel: Invalid use of `\' in replacement text



From: Samuel Wales <samologist@xxxxxxxxx> said
Subject: [emacs-w3m:11478] error in process sentinel: Invalid use of `\' in replacement text
Message-ID: <AANLkTi=KnvPyjEU+veYmwiVGw2jF9P+UJuD+Qy3gtyJ7@xxxxxxxxxxxxxx>
Date: Sun, 2 Jan 2011 18:22:52 -0700

> http://dictionary.reference.com/browse/illusive
> 
> dictionary.reference.com tried to set a cookie for domain .ask.com - rejected.
> dictionary.reference.com tried to set a cookie for domain
> reference.com - rejected. [2 times]
> error in process sentinel: w3m-fix-illegal-blocks: Invalid use of `\'
> in replacement text
> error in process sentinel: Invalid use of `\' in replacement text
> 
> I'll backtrace it if you can't reproduce it.  I am very limited in computer use.

Thank you for your report.
I fixed this problem in CVS Head as following patch.

Best regards,

-- 
Hideyuki SHIRAI (mailto:shirai@xxxxxxxxxxx)

--- w3m.el	03 Jan 2011 18:31:06 +0900	1.1510
+++ w3m.el	03 Jan 2011 18:31:58 +0900	
@@ -5998,7 +5998,8 @@
 	    (replace-match (concat "<span" (substring (buffer-substring
 						       (match-beginning 0)
 						       (match-end 1)) 4)
-				   "<br></span>"))
+				   "<br></span>")
+			   t t)
 	    (goto-char (match-beginning 0))))
 	(goto-char (point-max))))))