* 23.0.50; url-generic-parse-url returns extra element
@ 2008-01-26 0:37 Lennart Borgman (gmail)
2008-01-26 2:59 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-26 0:37 UTC (permalink / raw)
To: emacs-pretest-bug
url-generic-parse-url now adds an extra element cl-struct-url at the
beginning of the vector returned. To see this evaluate
(url-generic-parse-url "http://www.no.se/")
In GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600)
of 2008-01-21 on my-pc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 0:37 23.0.50; url-generic-parse-url returns extra element Lennart Borgman (gmail)
@ 2008-01-26 2:59 ` Stefan Monnier
2008-01-26 14:16 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-01-26 2:59 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: emacs-pretest-bug
> url-generic-parse-url now adds an extra element cl-struct-url at the
> beginning of the vector returned. To see this evaluate
> (url-generic-parse-url "http://www.no.se/")
In what way is it a problem?
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 2:59 ` Stefan Monnier
@ 2008-01-26 14:16 ` Lennart Borgman (gmail)
2008-01-26 19:35 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-26 14:16 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-pretest-bug
Stefan Monnier wrote:
>> url-generic-parse-url now adds an extra element cl-struct-url at the
>> beginning of the vector returned. To see this evaluate
>
>> (url-generic-parse-url "http://www.no.se/")
>
> In what way is it a problem?
I am using the TYPE value in the returned vector and need to know where
it is. The doc string currently says:
url-generic-parse-url is a compiled Lisp function in `url-parse.el'.
(url-generic-parse-url url)
Return a vector of the parts of url.
Format is:
[TYPE USER PASSWORD HOST PORT FILE TARGET ATTRIBUTES FULL]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 14:16 ` Lennart Borgman (gmail)
@ 2008-01-26 19:35 ` Stefan Monnier
2008-01-26 19:55 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-01-26 19:35 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: emacs-pretest-bug
>>> url-generic-parse-url now adds an extra element cl-struct-url at the
>>> beginning of the vector returned. To see this evaluate
>>
>>> (url-generic-parse-url "http://www.no.se/")
>>
>> In what way is it a problem?
> I am using the TYPE value in the returned vector and need to know
> where it is.
How 'bout using `url-type' ?
> The doc string currently says:
> url-generic-parse-url is a compiled Lisp function in `url-parse.el'.
> (url-generic-parse-url url)
> Return a vector of the parts of url.
> Format is:
> [TYPE USER PASSWORD HOST PORT FILE TARGET ATTRIBUTES FULL]
Hmm.. indeed it needs fixing.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 19:35 ` Stefan Monnier
@ 2008-01-26 19:55 ` Lennart Borgman (gmail)
2008-01-26 22:00 ` Stefan Monnier
0 siblings, 1 reply; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-26 19:55 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-pretest-bug
Stefan Monnier wrote:
>>>> url-generic-parse-url now adds an extra element cl-struct-url at the
>>>> beginning of the vector returned. To see this evaluate
>>>> (url-generic-parse-url "http://www.no.se/")
>>> In what way is it a problem?
>
>> I am using the TYPE value in the returned vector and need to know
>> where it is.
>
> How 'bout using `url-type' ?
Hm, guess that this mysterious beast can do the job if you say so. But
what is it? Where is it defined? C-h f says it is defined in
url-parse.el, but it hides somewhere there where I can't see it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 19:55 ` Lennart Borgman (gmail)
@ 2008-01-26 22:00 ` Stefan Monnier
2008-01-27 1:08 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-01-26 22:00 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: emacs-pretest-bug
>>>>> url-generic-parse-url now adds an extra element cl-struct-url at the
>>>>> beginning of the vector returned. To see this evaluate
>>>>> (url-generic-parse-url "http://www.no.se/")
>>>> In what way is it a problem?
>>
>>> I am using the TYPE value in the returned vector and need to know
>>> where it is.
>>
>> How 'bout using `url-type' ?
> Hm, guess that this mysterious beast can do the job if you say so. But what
> is it? Where is it defined? C-h f says it is defined in url-parse.el, but it
> hides somewhere there where I can't see it.
It's defined along with all other accessor (and setter) functions in the
`defstruct' form in url-parse.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; url-generic-parse-url returns extra element
2008-01-26 22:00 ` Stefan Monnier
@ 2008-01-27 1:08 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-27 1:08 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-pretest-bug
Stefan Monnier wrote:
>>>>>> url-generic-parse-url now adds an extra element cl-struct-url at the
>>>>>> beginning of the vector returned. To see this evaluate
>>>>>> (url-generic-parse-url "http://www.no.se/")
>>>>> In what way is it a problem?
>>>> I am using the TYPE value in the returned vector and need to know
>>>> where it is.
>>> How 'bout using `url-type' ?
>
>> Hm, guess that this mysterious beast can do the job if you say so. But what
>> is it? Where is it defined? C-h f says it is defined in url-parse.el, but it
>> hides somewhere there where I can't see it.
>
> It's defined along with all other accessor (and setter) functions in the
> `defstruct' form in url-parse.
I see, thanks. But this is definitively hard to find. Too hard for the
help functions at the moment.
Wouldn't it be good if the help functions could find that definition?
The only way I can see that can be done is that the macro defstruct is
made a bit helpful. Or is there any other way?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-27 1:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-26 0:37 23.0.50; url-generic-parse-url returns extra element Lennart Borgman (gmail)
2008-01-26 2:59 ` Stefan Monnier
2008-01-26 14:16 ` Lennart Borgman (gmail)
2008-01-26 19:35 ` Stefan Monnier
2008-01-26 19:55 ` Lennart Borgman (gmail)
2008-01-26 22:00 ` Stefan Monnier
2008-01-27 1:08 ` Lennart Borgman (gmail)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.