El vie, 06 ene 2012, Bao Haojun decía: > Hi, OSiUX > > OSiUX writes: > > > El lun, 02 ene 2012, Bao Haojun decía: > > > >> Hi, all > >> > >> I have implemented org-jira.el, bringing org-mode and Jira system > >> together. > >> > >> Wrote a Wiki page for it on emacswiki: > >> http://www.emacswiki.org/emacs/OrgJiraMode > >> > >> Hope somebody find it useful, if he/she is also using Jira and loves > >> org-mode. > >> > >> > >> > > > > after running Mx jira2-login, I get the following error: > > > > Symbol's function definition is void: auth-source-search > > > > howto configure login? > > I have fixed it. The auth-source-search is a new API from emacs24. > > With the new code, you will be prompted for username and password if you > are using a lower version of EMACS. > > BTW, I have also renamed jira2 to jiralib, so after you check out the > new code, you need change your .emacs accordingly: > > #+begin_src emacs-lisp > (setq jiralib-url "http://jira-host") > (require 'org-jira) ;jiralib is not explicitly required, since org-jira will load it > #+end_src > > Thanks. > > -- > All the best > > Bao Haojun Hi Bao Haojun, I finally discovered the error, I was using an anonymous proxy server and JIRA apparently did not return the correct xml. Does not work in emacs, but in emacs 24 enabling the debug managed to capture the error:: (let ( (url-request-method "GET") (url-package-name )) (let ( ("soap-client.el") (url-package-version "1.0") )) (let ( ((url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5") )) (let ( ((url-request-coding-system (quote utf-8)) )) (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer )) (let ( ((url-retrieve-synchronously url))) (with-current-buffer )) (let ( (buffer (declare (special url-http-response-status)) )) (let ( ((if (> url-http-response-status 299) (error "Error )) (let ( (retrieving WSDL: %s" url-http-response-status mime-part )) (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed )) (let ( (to decode response from server")) (unless (equal (car )) (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server )) (let ( (response is not an XML document" )) ... then disable the proxy, start using emacs and execute org-jira-get-projects got the list of projects and then some issues. Excellent work, I hope that the error messages to help correct for emacs23 org-jira. Finally I would like to know where to change the path for the projects, actually: /home/.org-jira Thank you very much! I'll stop now copy and paste from jira to org-mode. ;-) Enviroment Emacs23: - Org-mode commit: 258aad0b9a428cec9195b22063e42df77dee19c2 - GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-10-25 on trouble, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e Enviroment Emacs24 - Org-mode commit: 56c73255c0bdd27ac42af0a02ecea9336c4594d6 - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of 2012-01-05 on zelenka, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e -- :: Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org