[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12096: 24.1; Several documented functions in URL package are not def
bug#12096: 24.1; Several documented functions in URL package are not defined
Wed, 01 Aug 2012 15:35:36 +0200
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)
Aurélien Aptel <firstname.lastname@example.org> writes:
> From the info page:
>> The library functions typically operate on "parsed" versions of URLs.
>> These are actually vectors of the form:
>> [TYPE USER PASSWORD HOST PORT FILE TARGET ATTRIBUTES FULL]
>> These attributes have accessors named `url-PART', where PART is the
>> name of one of the elements above, e.g., `url-host'. Similarly, there
>> are setters of the form `url-set-PART'.
> There are some exceptions which are not documented:
> `url-file' is not the FILE attribute accessor. The accessor is actually
> `url-full' is actually `url-fullness'.
> And most importantly none of the setters are defined, as this little
> snippet shows:
> (let (funlist)
> (require 'url)
> (require 'url-parse)
> (mapatoms (lambda (a)
> (when (and (fboundp a)
> (string-match "^url-set-" (symbol-name a)))
> (push a funlist))))
> ;; => (url-set-mime-charset-string)
Can you submit a patch for this?
- bug#12096: 24.1; Several documented functions in URL package are not defined,