I have a problem wih emacs-jabber. When I connect to my server, I have only one contact appearing. I have used the XML debug log, and it shows that all my contacts have been received (list of item describing them). I do not know if it is a bug, or if it is due to my config. If it's a bug, I will fill a bug report.
I am using the last CVS version of emacs-jabber, Carbon Emacs based on Emacs 22.1.1 and my server is jabber.org.
Thanks in advance,
Christophe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's a bug, for sure. I seem to vaguely remember something like this happening before with jabber.org, but I can't remember any details…
Could you open jabber-presence.el, and instrument the function jabber-process-roster with edebug? (i.e. put point inside it and type C-u C-M-x) That way you can singlestep through the function when the roster stanza arrives.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I have used edebug on jabber-process-roster (no problem, the entire roster seems to be correctly set in the different variables), then jabber-display-roster (idem, jabber-connections contains all the connections), and I think I may have found something with jabber-roster-sort.
I will describe the first call to jabber-display-roster:
- jabber-connections contains all the contacts
- the keybindings are displayed
- "online" is displayed
- the roster is sorted, (plist-get state-data :roster) gets all the contacts, but then the execution flow goes at the end of the dolist in jabber-display-roster, and edebug displays "Result: t". As we are at the end of the dolist, nothing more is displayed. The value of jabber-connections is such that there is only one contact now in the roster.
- the execution flow goes now to the beginning of jabber-display-roster, and the function behave correctly, but with only one contact. Notice that after the call to jabber-sort-roster, this time the (let ...) part of dolist is executed.
Do you have any idea? I hope my "debug trace" is sufficiently explicit...
Thanks,
Christophe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, sorry, but now everything is fine. I do not know why I had the problem before, because I have not modified emacs-jabber and I think I did not change something important in my emacs configuration.
Sorry again,
Christophe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have a problem wih emacs-jabber. When I connect to my server, I have only one contact appearing. I have used the XML debug log, and it shows that all my contacts have been received (list of item describing them). I do not know if it is a bug, or if it is due to my config. If it's a bug, I will fill a bug report.
I am using the last CVS version of emacs-jabber, Carbon Emacs based on Emacs 22.1.1 and my server is jabber.org.
Thanks in advance,
Christophe
That's a bug, for sure. I seem to vaguely remember something like this happening before with jabber.org, but I can't remember any details…
Could you open jabber-presence.el, and instrument the function jabber-process-roster with edebug? (i.e. put point inside it and type C-u C-M-x) That way you can singlestep through the function when the roster stanza arrives.
OK, I have used edebug on jabber-process-roster (no problem, the entire roster seems to be correctly set in the different variables), then jabber-display-roster (idem, jabber-connections contains all the connections), and I think I may have found something with jabber-roster-sort.
I will describe the first call to jabber-display-roster:
- jabber-connections contains all the contacts
- the keybindings are displayed
- "online" is displayed
- the roster is sorted, (plist-get state-data :roster) gets all the contacts, but then the execution flow goes at the end of the dolist in jabber-display-roster, and edebug displays "Result: t". As we are at the end of the dolist, nothing more is displayed. The value of jabber-connections is such that there is only one contact now in the roster.
- the execution flow goes now to the beginning of jabber-display-roster, and the function behave correctly, but with only one contact. Notice that after the call to jabber-sort-roster, this time the (let ...) part of dolist is executed.
Do you have any idea? I hope my "debug trace" is sufficiently explicit...
Thanks,
Christophe
OK, sorry, but now everything is fine. I do not know why I had the problem before, because I have not modified emacs-jabber and I think I did not change something important in my emacs configuration.
Sorry again,
Christophe