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

Re: tramp, emacs-w3m, URL with colon



Ah, Gmane seems overloaded for delivering mails.  I forward an
article which I posted to the newsgroups.
--- Begin Message ---
>>>>> In <ycc65b0utl3.fsf@monkeypuzzle.wc.cray.com>
>>>>>	Ted Stern <stern+tramp-devel@cray.com> wrote:

> On 13 May 2004 at 09:04 PDT, David Hansen wrote:
>> On Thu, 13 May 2004 17:35:11 +0200 David Hansen wrote:
>>
>>> when i try to open http://www.physik.fu-berlin.de/en:w/ with w3m
>>> it seems that tramp wants to open a connection to "en".

> (Followups to gmane.emacs.tramp only ...)

There's no problem to send messages to gmane.emacs.w3m or
emacs-w3m@namazu.org which is a open list. :)

> I see the same problem.  Here are my versions:

I could reproduce it as well, oops.  The problem arises because
the w3m-expand-url function uses file-name-directory as follows:

  file-name-directory("/en:w/")
  w3m-expand-url("forschung/tor.en.html")
  w3m-fontify-anchors()
  w3m-fontify()
  w3m-create-text-page("http://www.physik.fu-berlin.de/en:w/" "text/html"...
  w3m-create-page("http://www.physik.fu-berlin.de/en:w/" "text/html"...
[...]
  w3m-goto-url("http://www.physik.fu-berlin.de/en:w/" nil nil nil nil)

I've modified w3m-expand-url so that it binds
file-name-handler-alist as nil temporarily, in the emacs-w3m CVS
repository.  Could you try it?

It is our long-standing problem to have to be solved not to use
file-name-* functions for url string. :)
-- 
Katsumi Yamaoka <yamaoka@jpl.org>
--- End Message ---