[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacsweblogs] Re: New xml-rpc.el and weblogger.el
From: |
Mark A. Hershberger |
Subject: |
[Emacsweblogs] Re: New xml-rpc.el and weblogger.el |
Date: |
Sun, 13 Sep 2009 22:03:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Leo,
It looks like I've lost the admin password for mailman, so I couldn't
approve your email to the list. Once I have the password changed, I'll
authorize your email address to post to the list. Your original email
is below.
The following patch fixes lisppaste to work with the new xml-rpc.el.
I've emailed the author of that package and put the modification on
emacswiki.
--- lisppaste.el~ 2009-09-13 21:54:13.235164438 -0400
+++ lisppaste.el 2009-09-13 21:56:33.031180619 -0400
@@ -180,11 +180,14 @@
"Clean an iso8601 TIME string to return YYYY-MM-DD.
Not very robust."
+ (if (listp time) ; new style xml-rpc
+ (format-time-string "%Y-%m-%d" (cadr time))
+
(if (string-match "^\\(....\\)\\(..\\)\\(..\\)T..:..:..$" time)
(format "%s-%s-%s" (match-string 1 time)
(match-string 2 time)
(match-string 3 time))
- (error "Invalid time format `%s'" time)))
+ (error "Invalid time format `%s'" time))))
(defvar lisppaste-creation-help
(concat ";; Enter your paste below, and press C-c C-c to send.\n"
Diff finished. Sun Sep 13 21:56:59 2009
HTH,
Mark.
Leo <address@hidden> writes:
> On 2009-09-13 07:57 +0100, Mark A. Hershberger wrote:
>> Thank you all for your great bug reports. I installed a MT weblog as
>> If you were experiencing problems in the past, please get the following
>> versions and notify me of any new problems:
>>
>> xml-rpc.el - 1.6.6 - http://www.emacswiki.org/emacs/xml-rpc.el
>> weblogger.el - 1.4.3 - http://www.emacswiki.org/emacs/weblogger.el
>
> It seems lisppaste.el is not working with 1.6.6.
>
> To reproduce the error:
>
> 1 M-x lisppaste
> 2 l p 5 RET
>
> Backtrace:
>
> Debugger entered--Lisp error: (error "Invalid date: 20090913T11:46:05")
> signal(error ("Invalid date: 20090913T11:46:05"))
> error("Invalid date: %s" "20090913T11:46:05")
> date-to-time("20090913T11:46:05")
> xml-rpc-xml-list-to-value(((value nil (dateTime\.iso8601 nil
> "20090913T11:46:05"))))
[…]
> call-interactively(lisppaste-list-recent-pastes nil nil)
--
http://hexmode.com/
Every day, mindful practice. When the mind is disciplined, then the
Way can work for us. Otherwise, all we do is talk of the Way; everything
is just words; and the world will know us as its one great fool.
- [Emacsweblogs] New xml-rpc.el and weblogger.el, Mark A. Hershberger, 2009/09/09
- [Emacsweblogs] New xml-rpc.el and weblogger.el, Mark A. Hershberger, 2009/09/13
- Re: [Emacsweblogs] New xml-rpc.el and weblogger.el, John Anderson, 2009/09/13
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Leo, 2009/09/15
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el,
Mark A. Hershberger <=
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Leo, 2009/09/14
- Re: [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Mark A. Hershberger, 2009/09/14
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Leo, 2009/09/14
- Re: [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Mark A. Hershberger, 2009/09/14
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Leo, 2009/09/15
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Mark A. Hershberger, 2009/09/16
- [Emacsweblogs] Re: New xml-rpc.el and weblogger.el, Leo, 2009/09/18