From mt-el@marginalia.org Tue Sep 3 02:21:31 2002 From: mt-el@marginalia.org (Phillip Ulrich) Date: Mon, 2 Sep 2002 21:21:31 -0400 Subject: [mt-el] Invalid confirm code? Message-ID: <7A60FD02-BEDB-11D6-9A0A-000393B6DA4C@interalia.org> This is more or less a test; I first got a confirmation welcoming me to the mt-el list, then I got a second email telling me I had sent an invalid confirmation number. Just wondering which email was right... --Phil Ulrich From mt-el@marginalia.org Thu Sep 5 06:19:28 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Wed, 04 Sep 2002 22:19:28 -0700 Subject: [mt-el] ready to release? Message-ID: <87znux6mjj.fsf@telus.net> Hello all, Well, I've been using mt.el pretty regularly and haven't received any bug reports recently, so I'm going to release it live sometime this weekend unless I hear about problems that need to be fixed. If there's anything that's been bothering you that you'd like to see fixed or changed, please let me know! Bill -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Thu Sep 5 16:22:52 2002 From: mt-el@marginalia.org (John Mignault) Date: Thu, 5 Sep 2002 11:22:52 -0400 Subject: [mt-el] ready to release? In-Reply-To: <87znux6mjj.fsf@telus.net> References: <87znux6mjj.fsf@telus.net> Message-ID: <20020905152252.GA1320@panix.com> --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 04, 2002 at 10:19:28PM -0700, Bill Stilwell wrote: > If there's anything that's been bothering you that you'd like to see > fixed or changed, please let me know! Well, this may be a problem with the MetaWeblog API, but I'd like to see support for both Trackback and weblogs.com pinging when publishing posts. Is that in the works? j --=20 #!/usr/bin/env python (lt, gt, at, dot) =3D ('<', '>', '@', '.') print 'John Mignault', lt+'jbm'+at+'panix'+dot+'com'+gt quote =3D """It doesn't matter what temperature a room is, it's always room temperature.""" --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (NetBSD) iD8DBQE9d3bMvCoqSaJFh7sRArtiAKCUmuZ/tnLom05u8vWuvQWyPcplpQCgi3Yy fi5IjCBTKRN5wVO7f78NlwY= =TkVe -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- From mt-el@marginalia.org Thu Sep 5 18:34:55 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Thu, 05 Sep 2002 10:34:55 -0700 Subject: [mt-el] ready to release? In-Reply-To: <20020905152252.GA1320@panix.com> (John Mignault's message of "Thu, 5 Sep 2002 11:22:52 -0400") References: <87znux6mjj.fsf@telus.net> <20020905152252.GA1320@panix.com> Message-ID: <87r8g87328.fsf@telus.net> John Mignault writes: > On Wed, Sep 04, 2002 at 10:19:28PM -0700, Bill Stilwell wrote: >> If there's anything that's been bothering you that you'd like to see >> fixed or changed, please let me know! > > Well, this may be a problem with the MetaWeblog API, but I'd like to > see support for both Trackback and weblogs.com pinging when publishing > posts. Is that in the works? Hmm, I'm not sure about Trackback pinging, but if you've got weblogs.com pinging turned on by default, it will be pinged when you publish a post - it does for me at least. That said, it probably wouldn't be hard to add weblog pinging if that's desired. I know blogger.el has code for this feature. As for Trackback pings, I'm not sure. Let me investigate this a little bit and I'll report back to the list. Cheers, -b -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Thu Sep 5 21:38:20 2002 From: mt-el@marginalia.org (John Mignault) Date: Thu, 5 Sep 2002 16:38:20 -0400 Subject: [mt-el] ready to release? In-Reply-To: <87r8g87328.fsf@telus.net> References: <87znux6mjj.fsf@telus.net> <20020905152252.GA1320@panix.com> <87r8g87328.fsf@telus.net> Message-ID: <20020905203819.GC1320@panix.com> --eRtJSFbw+EEWtPj3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2002 at 10:34:55AM -0700, Bill Stilwell wrote: > Hmm, I'm not sure about Trackback pinging, but if you've got > weblogs.com pinging turned on by default, it will be pinged when you > publish a post - it does for me at least. Doesn't seem to be working for me, but I'll test again and double-check. I also am getting errors when setting categories. Backtrace is below: Signaling: (wrong-type-argument listp "") xml-rpc-xml-list-to-value(("")) #("") mapcar(# ("")) xml-rpc-xml-list-to-value(((value nil (array nil ...)))) xml-rpc-xml-to-response(((methodResponse nil (params nil ...)))) xml-rpc-method-call("http://www.panix.com/~jbm/cgi-bin/mt-xmlrpc.cgi" mt\= .getPostCategories "271" "jbm" "emt33junk") mt-get-post-categories("271") (mt-cat-enter-cookies post-id (mt-get-post-categories post-id)) mt-cat-create-buffer() (if (y-or-n-p "Set categories on this post? ") (mt-cat-create-buffer)) (if new-post (if (y-or-n-p "Set categories on this post? ") (mt-cat-create-buffer))) (lambda (&optional publish) "*Publish current message." (interactive) (setq new-post (new-postp)) (weblog-refresh-buffer (if new-post ... ...)) (if new-post (if ... ...)))() call-interactively(weblog-submit-post) One other thing I did also notice is that if I don't insert a blank line between the title and post body, I get an "end of buffer" error when I go to publish. I am using XEmacs 21.5-b10. At work, which is where I am now, it's on Cygwin. At home, on Mac OS X and Linux. j --=20 #!/usr/bin/env python (lt, gt, at, dot) =3D ('<', '>', '@', '.') print 'John Mignault', lt+'jbm'+at+'panix'+dot+'com'+gt quote =3D """What is a "free" gift? Aren't all gifts free?""" --eRtJSFbw+EEWtPj3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (NetBSD) iD8DBQE9d8C7vCoqSaJFh7sRArJ8AJ9VRsINZrRHjQmTS/6wyvKlc+6NNgCgrghC IdS8dultJWuay+jtqhfvxys= =rtgO -----END PGP SIGNATURE----- --eRtJSFbw+EEWtPj3-- From mt-el@marginalia.org Fri Sep 6 01:40:35 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Thu, 05 Sep 2002 17:40:35 -0700 Subject: [mt-el] ready to release? In-Reply-To: <20020905203819.GC1320@panix.com> (John Mignault's message of "Thu, 5 Sep 2002 16:38:20 -0400") References: <87znux6mjj.fsf@telus.net> <20020905152252.GA1320@panix.com> <87r8g87328.fsf@telus.net> <20020905203819.GC1320@panix.com> Message-ID: <87znuwvtks.fsf@telus.net> John Mignault writes: > On Thu, Sep 05, 2002 at 10:34:55AM -0700, Bill Stilwell wrote: >> Hmm, I'm not sure about Trackback pinging, but if you've got >> weblogs.com pinging turned on by default, it will be pinged when you >> publish a post - it does for me at least. > Doesn't seem to be working for me, but I'll test again and > double-check. > > I also am getting errors when setting categories. Backtrace is below: Hmm. It appears to be a reaction to the empty list returned by getting categories on the post, but that's a standard thing to happen. Are you using the latest mt-xml-rpc.el? Are you also loading another xml-rpc.el? Those are the two possibilities that come immediately to mind. (Aside from some shoddy code on my part, but that's hardly likely. ;-) ) > One other thing I did also notice is that if I don't insert a blank > line between the title and post body, I get an "end of buffer" error > when I go to publish. Yeah, the code currently looks for two newlines at the end of the title line. I could do it like gnus and have the body start after a more explicit line like: --post follows this line-- Thoughts? > I am using XEmacs 21.5-b10. At work, which is where I am now, it's on > Cygwin. At home, on Mac OS X and Linux. Now that's some thorough testing. :-) Cool. -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Fri Sep 6 02:37:31 2002 From: mt-el@marginalia.org (John Mignault) Date: Thu, 5 Sep 2002 21:37:31 -0400 Subject: [mt-el] ready to release? In-Reply-To: <87znuwvtks.fsf@telus.net> References: <87znux6mjj.fsf@telus.net> <20020905152252.GA1320@panix.com> <87r8g87328.fsf@telus.net> <20020905203819.GC1320@panix.com> <87znuwvtks.fsf@telus.net> Message-ID: <20020906013730.GB10462@panix.com> --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2002 at 05:40:35PM -0700, Bill Stilwell wrote: > > I also am getting errors when setting categories. Backtrace is below: >=20 > Hmm. It appears to be a reaction to the empty list returned by getting > categories on the post, but that's a standard thing to happen. Are you > using the latest mt-xml-rpc.el? Are you also loading another > xml-rpc.el? Those are the two possibilities that come immediately to > mind. (Aside from some shoddy code on my part, but that's hardly > likely. ;-) ) Yeah, I had been using an earlier incarnation of blogger.el at one point, so that may well be the case. Took them out of my load-path though, and just grabbed the latest versions (I assume) from your code directory. Still having problems. I've been trying to test this at home, and all of a sudden I'm getting this error (backtrace checked this time :-) ): Signaling: (malformed-list (0 . "Server")) assoc("blogid" (0 . "Server")) #((0 . "Server")) mapc-internal(# ((0 =2E "Server") nil)) mapc(# ((0 . "Server") nil)) mt-get-weblog-name("1") get-post-buffer-name() #() call-interactively(weblog-create-post) I can test further at work tomorrow, as the Cygwin setup is the one that's been working most reliably, ironically enough.=20 > Yeah, the code currently looks for two newlines at the end of the > title line. I could do it like gnus and have the body start after a > more explicit line like: >=20 >=20 > Thoughts?=20 Might not be a bad idea. I happened to guess right, but others might not. >=20 > > I am using XEmacs 21.5-b10. At work, which is where I am now, it's on > > Cygwin. At home, on Mac OS X and Linux. >=20 > Now that's some thorough testing. :-) Cool. I'll try and play with things a bit more here at home and see if I can't get things working. Otherwise, I'll test more at work tomorrow. j --=20 #!/usr/bin/env python (lt, gt, at, dot) =3D ('<', '>', '@', '.') print 'John Mignault', lt+'jbm'+at+'panix'+dot+'com'+gt quote =3D """Why does your nose run, and your feet smell?""" --98e8jtXdkpgskNou Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (NetBSD) iD8DBQE9eAbavCoqSaJFh7sRAkYeAKC21KgOcr/b756TvImXetSXzVT1sQCcCOBN BG+t8boR/8BHDBbKOnSkTSM= =qT5O -----END PGP SIGNATURE----- --98e8jtXdkpgskNou-- From mt-el@marginalia.org Fri Sep 6 06:46:18 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Thu, 05 Sep 2002 22:46:18 -0700 Subject: [mt-el] ready to release? In-Reply-To: <20020905203819.GC1320@panix.com> (John Mignault's message of "Thu, 5 Sep 2002 16:38:20 -0400") References: <87znux6mjj.fsf@telus.net> <20020905152252.GA1320@panix.com> <87r8g87328.fsf@telus.net> <20020905203819.GC1320@panix.com> Message-ID: <87znuvvff9.fsf@telus.net> John Mignault writes: > On Thu, Sep 05, 2002 at 10:34:55AM -0700, Bill Stilwell wrote: >> Hmm, I'm not sure about Trackback pinging, but if you've got >> weblogs.com pinging turned on by default, it will be pinged when you >> publish a post - it does for me at least. > Doesn't seem to be working for me, but I'll test again and > double-check. Ok, so I lied, or was not paying attention, or something, because I'm not getting weblogs.com pings on posting. I'll investigate this and get something working, because I think people (i.e., me) will want this. -b -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Mon Sep 9 22:38:26 2002 From: mt-el@marginalia.org (John Mignault) Date: Mon, 9 Sep 2002 17:38:26 -0400 Subject: [mt-el] New cross-platform error Message-ID: <20020909213825.GA10770@panix.com> --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Strangely, I am now consistently across all platforms getting the following error when attempting to create a post: Signaling: (malformed-list (0 . "Server")) assoc("blogid" (0 . "Server")) (cdr (assoc "blogid" log-info)) (string=3D (or log-id weblog-id) (cdr (assoc "blogid" log-info))) (if (string=3D (or log-id weblog-id) (cdr ...)) (setq weblog-name (cdr =2E..))) (lambda (log-info) (if (string=3D ... ...) (setq weblog-name ...)))((0 =2E "Server")) mapc-internal((lambda (log-info) (if (string=3D ... ...) (setq weblog-name ...))) ((0 . "Server") nil)) mapc((lambda (log-info) (if (string=3D ... ...) (setq weblog-name =2E..))) ((0 . "Server") nil)) mt-get-weblog-name("1") (setq log-name (mt-get-weblog-name weblog-id)) get-post-buffer-name() (generate-new-buffer (get-post-buffer-name)) (switch-to-buffer (generate-new-buffer (get-post-buffer-name))) (lambda nil "*Compose a weblog post." (interactive) (switch-to-buffer (generate-new-buffer ...)) (erase-buffer) (goto-char (point-min)) (insert "Title: \n" "\n") (goto-char (point-min)) (end-of-line) (weblog-mode) (run-hooks (quote weblog-new-post-hook)))() call-interactively(weblog-create-post) Any ideas? j --=20 #!/usr/bin/env python (lt, gt, at, dot) =3D ('<', '>', '@', '.') print 'John Mignault', lt+'jbm'+at+'panix'+dot+'com'+gt quote =3D """My school colors were "clear".""" --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (NetBSD) iD8DBQE9fRTRvCoqSaJFh7sRAqRdAJ4x4E5M7laWs69kZLd09NWChHcFNgCfUtxh osCSzXKMCb3a7upPAOdOXCA= =unKV -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From mt-el@marginalia.org Mon Sep 9 23:43:21 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Mon, 09 Sep 2002 15:43:21 -0700 Subject: [mt-el] New cross-platform error In-Reply-To: <20020909213825.GA10770@panix.com> (John Mignault's message of "Mon, 9 Sep 2002 17:38:26 -0400") References: <20020909213825.GA10770@panix.com> Message-ID: <873csi7piu.fsf@telus.net> John Mignault writes: > Strangely, I am now consistently across all platforms getting the > following error when attempting to create a post: I think I messed up the caching of the blog name, which was a hack job to begin with. I'm going to rework it tonight and hopefully have some new code for release. -b -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Wed Sep 11 05:55:52 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Tue, 10 Sep 2002 21:55:52 -0700 Subject: [mt-el] new release Message-ID: <87vg5d9lbb.fsf@telus.net> Hello all, As promised (albeit a bit late), I've reworked how the weblog name caching works. It now saves names to whatever directory is specified by weblog-local-save-dir (defaults to ~/.mt). This makes things much, much faster. This directory will also be used to cache local copies of posts, but this hasn't been implemented just yet. I've tested this on xemacs and emacs on linux, and posting and category setting works. If you experience problems, send me a backtrace and I'll work on tracking down what's going on. Code is in the usual place: http://www.marginalia.org/code/mt.el mt-xml-rpc.el has not changed. Have the appropriate amount of fun. -b -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Thu Sep 12 03:35:58 2002 From: mt-el@marginalia.org (Bill Stilwell) Date: Wed, 11 Sep 2002 19:35:58 -0700 Subject: [mt-el] updated code available Message-ID: <87hegw7x4h.fsf@telus.net> Hello all, I was contacted by Mark Hershberger (author of blogger.el and de facto maintainer of xml-rpc.el) and I got my hands on a newer version of xml-rpc.el that fixes the problems I was addressing with mt-xml-rpc.el. I've updated mt.el to use xml-rpc.el. You can get both from my site: http://www.marginalia.org/code/mt.el http://www.marginalia.org/code/xml-rpc.el Things work much better with this code, especially in emacs. It apparently works with the url.el from cvs, although I haven't tested this. Cheers, -b -- Bill Stilwell bill@marginalia.org It's all margins. Oh, just read my weblog: http://www.marginalia.org From mt-el@marginalia.org Thu Sep 12 17:16:06 2002 From: mt-el@marginalia.org (John Mignault) Date: Thu, 12 Sep 2002 12:16:06 -0400 Subject: [mt-el] updated code available In-Reply-To: <87hegw7x4h.fsf@telus.net> References: <87hegw7x4h.fsf@telus.net> Message-ID: <20020912161606.GA14035@panix.com> --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 11, 2002 at 07:35:58PM -0700, Bill Stilwell wrote: > Things work much better with this code, especially in emacs. It > apparently works with the url.el from cvs, although I haven't tested > this. It works fine so far under xemacs on every platform I've tried... j --=20 #!/usr/bin/env python (lt, gt, at, dot) =3D ('<', '>', '@', '.') print 'John Mignault', lt+'jbm'+at+'panix'+dot+'com'+gt quote =3D """What is a "free" gift? Aren't all gifts free?""" --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (NetBSD) iD8DBQE9gL3GvCoqSaJFh7sRAquZAJ9TErfbzxn2UjQijeCdmjORs97LCgCghbQ+ znyT31aE3xm9sTT2Qd4296Y= =26r2 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--