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

Re: emacs-w3m underlines everything and mixes up URLs (new w3m-0.5?)



>>>>> In [emacs-w3m : No.06589] Katsumi Yamaoka wrote:

> Thanks.  Your patch looks pertinent.  I'll install it tomorrow
> (I need time to write ChangeLog entries :-).

I've installed your patch except for the following change for
the w3m-relationship-search-patterns function:

--8<---------------cut here---------------start------------->8---
--- w3m.el	7 Apr 2004 03:50:07 -0000	1.1012
+++ w3m.el	7 Apr 2004 11:46:02 -0000

[...]

@@ -4939,7 +4944,15 @@
 	     (w3m-expand-url (or (match-string 2)
 				 (match-string 3)
 				 (match-string 1))
-			     url))))
+			     url)))
+  (and edit
+       (re-search-forward edit nil t)
+       (setq w3m-edit-url
+	     (w3m-expand-url (or (match-string 2)
+				 (match-string 3)
+				 (match-string 1))
+			     url)))
+  )
 
 (defun w3m-search-name-anchor (name &optional quiet)
   (interactive "sName: ")
--8<---------------cut here---------------end--------------->8---

What's that?  Even if it is needed, the variables `edit' and
`w3m-edit-url' should be bound in some way.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>