<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Valkertown Blog - Latest Comments in Emacs Denting mode for laconicas (including identi.ca)</title><link>http://valkertownblog.disqus.com/</link><description>Sometimes stuff about electronics, others about technology and software</description><atom:link href="https://valkertownblog.disqus.com/emacs_denting_mode_for_laconicas_incliding_identica/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 25 Feb 2009 12:12:53 -0000</lastBuildDate><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6615310</link><description>&lt;p&gt;Hello, I had the very same problem but Christian Cheng sent me a patch which solves the issue. I did my work without proper search first so I duplicated a lot of your efforts and I did a merge with your code few days ago so denting-mode has most of the features you did implement. I don't know if you updated the code recently but I will check again the diffs to merge your work in.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 25 Feb 2009 12:12:53 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6614913</link><description>&lt;p&gt;hey, I just found out about denting-mode. I made my own port of twittering-mode called identica-mode a few months ago &lt;a href="http://blog.nethazard.net/identica-mode-for-emacs" rel="nofollow noopener" target="_blank" title="http://blog.nethazard.net/identica-mode-for-emacs"&gt;http://blog.nethazard.net/i...&lt;/a&gt;  I've added support for tags and groups and a global posting shortcut, maybe you can find it useful.&lt;/p&gt;&lt;p&gt;I'm having the same trouble with the xml parsing thing. Have you been able to fix it? The problem is that when it fetches the feed, the xml has some weird char codes inside the xml tag, thus breaking the parsing. I reported this behavior to laconica developers, but they claim their feed is okay. Twitter's feed has no problems though.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabriel Saldana</dc:creator><pubDate>Wed, 25 Feb 2009 11:55:22 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6392483</link><description>&lt;p&gt;Sorry for taking so long, well It's not so hard&lt;/p&gt;&lt;p&gt;line 661 of current denting-mode.el&lt;/p&gt;&lt;p&gt;648 (defun denting-http-post-default-sentinel (proc stat &amp;amp;optional suc-msg)&lt;br&gt;649&lt;br&gt;650  (condition-case err-signal&lt;br&gt;651      (let ((header (denting-get-response-header))&lt;br&gt;652	    ;; (body (denting-get-response-body)) not used now.&lt;br&gt;653	    (status nil))&lt;br&gt;654	(string-match "HTTP/1\.1 \\([a-z0-9 ]+\\)\r?\n" header)&lt;br&gt;655	(setq status (match-string-no-properties 1 header))&lt;br&gt;656	(case-string status&lt;br&gt;657		     (("200 OK")&lt;br&gt;658		      (message (if suc-msg suc-msg "Success: Post")))&lt;br&gt;659		     (t (message status)))&lt;br&gt;660	)&lt;br&gt;661    (error (message (prin1-to-string err-signal))))&lt;br&gt;662  )&lt;/p&gt;&lt;p&gt;You can replace it with:&lt;/p&gt;&lt;p&gt; (error (message "Failed")))&lt;/p&gt;&lt;p&gt;You will replace the annoying message for a brief "Failed" message, it will not solve the issue but at least will not bug you with the full error. I will keep the full error printing for now, since maybe I can do a proper fix of the problem.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 18 Feb 2009 23:16:56 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6377023</link><description>&lt;p&gt;hey deepspawn, what do you mean by "shutting the hell out of it by capturing the error" -- sorry, not really a coder, don't quite get what you mean.  &lt;br&gt;not sure it'sthe api limit since it now seems to come up every time, not just occasionally.  though now i think of it, gwibber was up on this machine as well, will shut it down and try in a few minutes.&lt;/p&gt;&lt;p&gt;my wrapper funciton looks a lot like the one you built,  though yours is a little bit better.  thanks!  -- matt&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">titaniumbones</dc:creator><pubDate>Wed, 18 Feb 2009 12:16:10 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6376710</link><description>&lt;p&gt;Yes I have the same problem, it's a bit annoying but totally harmless, it's just the xml parser failing from time to time to parse the laconica response. For a quick fix I only can think about shutting the hell out of it by capturing the error. On the proper way to solve the problem, it would require to figure out why the twitter/identica serves bad xml and correct it. My bets are on the api limit(so maybe just setting up the update interval to a larger number might fix it)&lt;/p&gt;&lt;p&gt;Also you can avoid the wrapper function by using the identi.cas twitter bridge on your account settings. If you really want that function I think it would be something like this:&lt;/p&gt;&lt;p&gt;(defun multi-update-status-from-minibuffer (&amp;amp;optional init-str)&lt;br&gt;  (if (null init-str) (setq init-str ""))&lt;br&gt;  (let ((status init-str))&lt;br&gt;  (setq status (read-from-minibuffer "status: " status nil nil nil nil t))&lt;br&gt;  (denting-update-status-if-not-blank status)&lt;br&gt;  (twittering-update-status-if-not-blank status)))&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">deepspawn</dc:creator><pubDate>Wed, 18 Feb 2009 11:58:55 -0000</pubDate></item><item><title>Re: Emacs Denting mode for laconicas (including identi.ca)</title><link>http://blog.valkertown.org/2009/02/emacs_denting_mode_for_laconicas_28incliding_identica29/#comment-6375747</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;thanks for this!  it's great to have a denting mode.  at first it worked great for me, but for some reaosn now i keep getting an xml error that i don't understand at all.  I tried twittering mode and do not get a similar error with them.  Here's the backtrace:&lt;/p&gt;&lt;p&gt;Debugger entered--Lisp error: (error "XML: (Not Well-Formed) Invalid end tag (expecting in_reply_to_user_id) at pos 8365")&lt;br&gt;  signal(error ("XML: (Not Well-Formed) Invalid end tag (expecting in_reply_to_user_id) at pos 8365"))&lt;br&gt;  error("XML: (Not Well-Formed) Invalid end tag (expecting %s) at pos %d" "in_reply_to_user_id" 8365)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-tag(nil nil)&lt;br&gt;  xml-parse-region(350 16256)&lt;br&gt;  (let ((content ...)) (xml-parse-region (+ ... ...) (point-max)))&lt;br&gt;  (let ((content ...)) (let (...) (xml-parse-region ... ...)))&lt;br&gt;  (save-excursion (set-buffer buffer) (let (...) (let ... ...)))&lt;br&gt;  denting-get-response-body()&lt;br&gt;  (let ((header ...) (body ...) (status nil)) (if (string-match "HTTP/1.[01] \\([a-z0-9 ]+\\)&lt;br&gt;?\n" header) (progn ... ...) (message "Failure: Bad http response.")))&lt;br&gt;  denting-http-get-default-sentinel(#&amp;lt;process network-connection-process=""&amp;gt; "connection broken by remote peer\n")&lt;br&gt;  recursive-edit()&lt;/p&gt;&lt;p&gt;do you ever see anything like this, or have any debugging suggestions?  i'd just written a wrapper function that double-poststo twitter and &lt;a href="http://identi.ca" rel="nofollow noopener" target="_blank" title="identi.ca"&gt;identi.ca&lt;/a&gt;, so now i'm bummed it's not working!  thanks,&lt;br&gt;matt&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Price</dc:creator><pubDate>Wed, 18 Feb 2009 11:11:13 -0000</pubDate></item></channel></rss>