* org-caldav problem: void-function url-http-options
@ 2013-02-09 15:07 Julien Cubizolles
2013-02-09 16:36 ` David Engster
0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2013-02-09 15:07 UTC (permalink / raw)
To: emacs-orgmode
Since a few days (maybe an emacs update) I get this error message
whenever I run org-caldav-sync.
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function url-http-options)
url-http-options("https://www.google.com/calendar/dav/0fseo5jbfp99polnfc6ic38h88@group.calendar.google.com/events/")
url-dav-supported-p("https://www.google.com/calendar/dav/0fseo5jbfp99polnfc6ic38h88@group.calendar.google.com/events/")
(or (and (boundp (quote url-dav-patched-version)) url-dav-patched-version) (url-dav-supported-p (org-caldav-events-url)))
(if (or (and (boundp (quote url-dav-patched-version)) url-dav-patched-version) (url-dav-supported-p (org-caldav-events-url))) nil (error "You have to either use Emacs from bzr, or the patched `url-dav' package from the org-caldav repository."))
org-caldav-sync()
call-interactively(org-caldav-sync record nil)
command-execute(org-caldav-sync record)
execute-extended-command(nil "org-caldav-sync")
call-interactively(execute-extended-command nil nil)
--8<---------------cut here---------------end--------------->8---
I've been digging around a bit and url-http-options is defined in
url-http.el which is present on my system
(/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
why it isn't found (assuming that void-function message actually means
it can't find the definition of the function).
Everything was working fine with org-caldav before and I was very happy
with it. Thanks a lot to its developper.
Julien.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-caldav problem: void-function url-http-options
2013-02-09 15:07 org-caldav problem: void-function url-http-options Julien Cubizolles
@ 2013-02-09 16:36 ` David Engster
2013-02-09 17:50 ` Julien Cubizolles
0 siblings, 1 reply; 4+ messages in thread
From: David Engster @ 2013-02-09 16:36 UTC (permalink / raw)
To: Julien Cubizolles; +Cc: emacs-orgmode
Julien Cubizolles writes:
> Since a few days (maybe an emacs update) I get this error message
> whenever I run org-caldav-sync.
>
> Debugger entered--Lisp error: (void-function url-http-options)
>
> I've been digging around a bit and url-http-options is defined in
> url-http.el which is present on my system
> (/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
> why it isn't found (assuming that void-function message actually means
> it can't find the definition of the function).
Does doing a (require 'url-http) before calling org-caldav help?
-David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-caldav problem: void-function url-http-options
2013-02-09 16:36 ` David Engster
@ 2013-02-09 17:50 ` Julien Cubizolles
2013-02-09 18:29 ` David Engster
0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2013-02-09 17:50 UTC (permalink / raw)
To: emacs-orgmode
David Engster <deng@randomsample.de> writes:
> Julien Cubizolles writes:
>> Since a few days (maybe an emacs update) I get this error message
>> whenever I run org-caldav-sync.
>>
>> Debugger entered--Lisp error: (void-function url-http-options)
>>
>> I've been digging around a bit and url-http-options is defined in
>> url-http.el which is present on my system
>> (/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
>> why it isn't found (assuming that void-function message actually means
>> it can't find the definition of the function).
>
> Does doing a (require 'url-http) before calling org-caldav help?
Yes it does, thanks, I should have thought of it. Why has it become
necessary ? It seems that url-http-options is called by
url-dav-supported-p, defined in url-dav.el. Shouldn't url-dav.el require
url-http.el ?
Julien.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-caldav problem: void-function url-http-options
2013-02-09 17:50 ` Julien Cubizolles
@ 2013-02-09 18:29 ` David Engster
0 siblings, 0 replies; 4+ messages in thread
From: David Engster @ 2013-02-09 18:29 UTC (permalink / raw)
To: Julien Cubizolles; +Cc: emacs-orgmode
Julien Cubizolles writes:
> David Engster <deng@randomsample.de> writes:
>
>> Julien Cubizolles writes:
>>> Since a few days (maybe an emacs update) I get this error message
>>> whenever I run org-caldav-sync.
>>>
>>> Debugger entered--Lisp error: (void-function url-http-options)
>>>
>>> I've been digging around a bit and url-http-options is defined in
>>> url-http.el which is present on my system
>>> (/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
>>> why it isn't found (assuming that void-function message actually means
>>> it can't find the definition of the function).
>>
>> Does doing a (require 'url-http) before calling org-caldav help?
>
> Yes it does, thanks, I should have thought of it. Why has it become
> necessary ?
This change here is responsible:
revno: 110337
committer: Stefan Monnier <monnier@iro.umontreal.ca>
branch nick: trunk
timestamp: Mon 2012-10-01 23:48:01 -0400
message:
* lisp/url/url-http.el (url-http-user-agent-string): Leak less info.
(url-http, url-http-file-exists-p, url-http-file-readable-p)
(url-http-file-attributes, url-http-options, url-https-default-port)
(url-https-asynchronous-p): Don't autoload.
> It seems that url-http-options is called by
> url-dav-supported-p, defined in url-dav.el. Shouldn't url-dav.el require
> url-http.el ?
Yes, it should. Could you file a bug report about this?
-David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-09 18:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-09 15:07 org-caldav problem: void-function url-http-options Julien Cubizolles
2013-02-09 16:36 ` David Engster
2013-02-09 17:50 ` Julien Cubizolles
2013-02-09 18:29 ` David Engster
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.