format-time-string: Symbol's function definition is void: caddr

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

format-time-string: Symbol's function definition is void: caddr

peteT
Hi,

I have setup weblogger.el to work with my locally hosted wordpress blog
but i seem to only be able to log in once before I start getting the
following error:

Wrote /home/peter/.emacs
Contacting host: locuscor.homedns.org:80
Reading [text/xml]... 13k of 13k (100%)
Reading... done.
format-time-string: Symbol's function definition is void: caddr
Contacting host: locuscor.homedns.org:80
Reading [text/xml]... 170 bytes of 160 bytes (106%)
weblogger-api-blogger-edit-template: Wrong type argument:
char-or-string-p, nil
format-time-string: Symbol's function definition is void: caddr

My .emacs file looks like this:

;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
     (load
      (expand-file-name "~/.emacs.d/elpa/package.el"))
   (package-initialize))


;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
     (load
      (expand-file-name "~/.emacs.d/elpa/package.el"))
   (package-initialize))
(custom-set-variables
   ;; custom-set-variables was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  '(weblogger-config-alist (quote (("default"
"http://locuscor.homedns.org/wordpress/xmlrpc.php" "<<login>>" "" "1")
("patojo_local" "http://localhost/wordpress/xmlrpc.php" "<<login>>" ""
"1")))))
(custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
  )

Thanks for any assistance!

Peter

_______________________________________________
Emacsweblogs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/emacsweblogs
Reply | Threaded
Open this post in threaded view
|

Re: format-time-string: Symbol's function definition is void: caddr

Mark A. Hershberger
On Wed, 2010-09-29 at 11:38 -0700, Peter wrote:
> Wrote /home/peter/.emacs
> Contacting host: locuscor.homedns.org:80
> Reading [text/xml]... 13k of 13k (100%)
> Reading... done.
> format-time-string: Symbol's function definition is void: caddr

Looks like I didn't test this with "emacs -q -no-site-file"

If you add the following to weblogger.el, does it work?

  (unless (functionp 'caddr)
    (defun caddr (l) (car (cddr l))))

HTH, Mark.



_______________________________________________
Emacsweblogs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/emacsweblogs