[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: First call of url-generic-parse-url<f> is broken
From: |
Magnus Henoch |
Subject: |
Re: First call of url-generic-parse-url<f> is broken |
Date: |
Thu, 16 Nov 2006 00:15:19 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (berkeley-unix) |
Shun-ichi GOTO <address@hidden> writes:
> I chaised and found a bug.
> url-generic-parse-url<f> calls url-scheme-get-property<f> in the
> middle of the parsing to get port number for scheme.
> But url-scheme-get-property<f> invoke url-generic-parse-url<f> again
> to parse url value in url-proxy-services.
> Because url-generic-parse-url<f> uses fixed named buffer,
> the buffer contents for first parse is broken by 2nd one.
>
> I suggest using with-temp-buffer<f> for allocating working buffer
> instead of get-buffer-create<f>.
> Or move use of url-schem-get-property to end of function
> before (vector ...).
I did the former. Thanks!
Magnus