Magnus Henoch | 3 Feb 17:47
Picon
Gravatar

jabber.el 0.8.91 (was: Re: Back to normality)

On Wed, Dec 21, 2011 at 11:53 PM, Magnus Henoch <magnus.henoch <at> gmail.com> wrote:
> Hi all,
>
> Just wanted to let you know that I just pushed a change that is supposed
> to make jabber.el work equally well with Google Talk as well as some
> servers that didn't like the fix I made a few months ago.  So it would
> be great if you all could test if the latest version in Git is able to
> connect to various Jabber servers.  (ejabberd, Google Talk and Facebook
> seem to work for me.)
>
> I hope to roll a new pretest release before the new year, so you can try
> it out without bothering with Git.

...and by that, I of course meant the Tibetan New Year, which won't be
until 22nd February.  Sorry about the delay...

The files are here:
https://sourceforge.net/projects/emacs-jabber/files/emacs-jabber%20beta%20versions/0.8.91/

The above mentioned change is the only change from 0.8.90 (well, also
fixed the test suite), so if 0.8.90 works well with your Jabber server, the
only reason to upgrade is to provide me with fresh bug reports :) Which
is also, important of course.

Regards,
Magnus

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
(Continue reading)

Walter C. Pelissero | 18 Jan 11:34
Picon

disappearing buffers

I've been noticing that the following form may erase the second buffer
in the buffers list:

(jabber-starttls-connect '(:fsm jabber-connection :state :connecting :state-data (:send-function
jabber-ssl-send :username "*****" :server "jabme.de" :resource "******" :password "*******"
:registerp nil :connection-type starttls :encrypted nil :network-server nil :port nil) :deferred
nil) "jabme.de" nil nil)

[the connection does fail due to circumstances beyond jabber.el]

As far as I can tell the problem is not always reproducible but it
happens often enough.  Sometimes you need to wait a little longer.

I have erroneously tracked the bug back to starttls-negotiate-gnutls.
Please see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10535

It turns out that it's unlikely that starttls-negotiate-gnutls could
operate on a killed buffer as with-current-buffer checks against this.
Yet the debugger in at least one occasion showed me that the local
variable `buffer' could be a killed buffer.

Now, to avoid jumping again to a wrong conclusion, hereafter are my
observations:

 - The bug is hit even within emacs -Q.

 - This form does erase any writable buffer happening to be second in the
   buffers list (or the first not visible).

   (let ((buffer (generate-new-buffer "foobar")))
(Continue reading)

Steve VanDevender | 29 Dec 08:15
Favicon

emacs-jabber vs. XEmacs

Some years ago I originally tried out emacs-jabber, around version 0,6
or 0.7, when there was less divergence between Emacs and XEmacs and it
was fairly easy to get it working in XEmacs.

Over the summer I had a need for a better Jabber client and put a little
more time into getting emacs-jabber 0.7.1 working in XEmacs 21.4.
That's still pretty old, I admit, but sufficiently functional for my
purposes.  0.8.0 and later have some more significant problems in XEmacs
that I haven't figured out how to address yet, but some of what I did
for 0.7.1 may help anyone (who still might care) get a more recent
version working in XEmacs.

I have a couple of suggestions that actually clean up the emacs-jabber
code somewhat as well as fix XEmacs portability problems:

1.  Insert (require 'timer) in a couple of strategic places (fsm.el and
    jabber-util.el) which in Emacs just ensures that the run-with-timer
    and cancel-timer functions are present, and in XEmacs loads a
    compatibility package that defines those functions in terms of the
    itimer functions, which eliminates the need for the conditional
    definition of jabber-cancel-timer.

2.  Use easymenu for constructing the menus; this package is a standard
    part of both Emacs and XEmacs and provides a template-based system
    for defining menus, which is also much more concise and easier to
    work with than creating menus with define-key in Emacs.

A patch that shows what these changes look like in emacs-jabber 0.7.1 is
appended below.  (I also backported the feature to suppress keepalive
messages unless jabber-keepalive-debug is non-nil.)
(Continue reading)

Magnus Henoch | 21 Dec 23:53
Picon
Gravatar

Back to normality

Hi all,

Just wanted to let you know that I just pushed a change that is supposed
to make jabber.el work equally well with Google Talk as well as some
servers that didn't like the fix I made a few months ago.  So it would
be great if you all could test if the latest version in Git is able to
connect to various Jabber servers.  (ejabberd, Google Talk and Facebook
seem to work for me.)

I hope to roll a new pretest release before the new year, so you can try
it out without bothering with Git.

Regards,
Magnus

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
Jérémy Compostella | 15 Dec 22:42
Picon
Gravatar

[PATCH] jabber-core: Fix header parsing

All,

For my own reasons, I decided to use the current emacs-jabber repository
as my current release.

Unfortunately the current repository contains a important bug and I was
unable to connect to the jabber servers I used to connect. Finally, I
found out that there is a bug introduced by the new header XML parsing
(commit 9c8bea1b):

   The (1+ (match-end 0)) is a mistake. Indeed, after the replace-match
   call the (match-end 0) point has changed to be at the end of the
   replaced string. So calling (point) is more than enough.

So, I wrote the very small patch attached to this email.

Btw, I want to congratulate the authors of this package which is quite
useful in my daily life and I want to say it is one of the most
interesting emacs-lisp code I ever read. In particular, the fsm part is
very instructive.

Please merge it or review it,

Regards,

Jeremy

(Continue reading)

Barton | 7 Nov 21:11
Picon

Jabber.el and self-signed certificates

I'm using a small Prosody server with a self-signed certificate and in
my Emacs have:

(... (:port . 5222) (:connection-type . starttls)) in
jabber-account-list.

The connection fails with "STARTTLS negotiation failed", which I presume
is because it cannot verify the certificate.

Is it possible to have encryption using jabber.el and self-signed
certificates?

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Florian Larysch | 29 Oct 21:19
Picon

Alert via ThinkLight

Hi,

the attached patch adds support for notification using the ThinkLight of
Lenovo ThinkPad notebooks, similar to pidgin-blinklight[1].

[1] http://www.joachim-breitner.de/blog/archives/239-gaim-thinklight-pidgin-blinklight.html

Florian
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Emacs-jabber-general mailing list
Emacs-jabber-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-jabber-general
Mandar Mitra | 18 Oct 10:23
Picon

jabber-groupchat

I've recently upgraded to emacs-jabber-0.8.90 running under emacs-23.2
(Ubuntu 11.04) and noticed the following:

when I hit return on a name in jabber-roster, two buffers are opened:
one is the normal chat buffer, while the other has a name of the form
jabber-groupchat-xyz.

I'm not sure why this second buffer is coming up. It's easy enough to
kill the buffer, but is this a bug or a feature?

Thanks,
Mandar.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
Max | 10 Oct 11:50
Picon

libnotify and avatars

Hello.

The libnotify alert works quite fine for me.
However, one thing is unclear from documentation: what should I set into
jabber-libnotify-icon to make display appropriate avatar?

Or, in other words - how to get the filename of cached avatar to convey it into
jabber-libnotify-icon?

best regards,
Max.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emacs-jabber-general mailing list
Emacs-jabber-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-jabber-general
Magnus Henoch | 31 Aug 22:19
Picon
Gravatar

Fwd: Re: jabber.el 0.8.90

Meant to send this to the list as well. Too bad my phone doesn't run Gnus...

---------- Forwarded message ----------
From: "Magnus Henoch" <magnus.henoch <at> gmail.com>
Date: 31 Aug 2011 21:17
Subject: Re: [jabber.el] jabber.el 0.8.90
To: "Justin Kirby" <justinkirby <at> gmail.com>

The problem with that is that you need a bunch of development tools installed - possibly newer versions than your favourite distro has, since I have the bad habit of trying out new exciting features of autoconf et al :-) Keeping the generated files in the source tree makes life easier for people who just want to try out the latest version. (Or just poke at the Lisp files, without touching the build system.)

(Also, this is my normal email latency at the moment. No jabber.el hacking done since last time :-( Hopefully the weekend will be better.)

/magnus


>
> On 23 Aug 2011 01:44, "Justin Kirby" <justinkirby <at> gmail.com> wrote:
>

> On Mon, Aug 22, 2011 at 6:11 PM, Magnus Henoch <magnus.henoch <at> gmail.com> wrote:

> On Mon, Aug 22, 20...


>
> I prefer the bootstrap.sh method myself.  Provide a simple bash script
> that just runs the app...

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Emacs-jabber-general mailing list
Emacs-jabber-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-jabber-general
David Engster | 25 Aug 18:35
Picon

Supporting open-gnutls-stream

Emacs24-bzr can be compiled with native libgnutls support so that you no
longer depend on gnutls-cli being installed. I've attached a tiny patch
to make jabber.el support this.

(BTW, the 'master' branch of the git repo is still pointing at d30ef9, so
I had to explicitly checkout 'namespace-prefixes' to get at the latest
version.)

Cheers,
David

diff --git a/jabber-conn.el b/jabber-conn.el
index 80b1cca..8778891 100644
--- a/jabber-conn.el
+++ b/jabber-conn.el
@@ -157,6 +157,9 @@ connection fails."
 	(connect-function
 	 (cond
 	  ((and (memq jabber-connection-ssl-program '(nil gnutls))
+		(fboundp 'open-gnutls-stream))
+	   'open-gnutls-stream)
+	  ((and (memq jabber-connection-ssl-program '(nil gnutls))
 		(fboundp 'open-tls-stream))
 	   'open-tls-stream)
 	  ((and (memq jabber-connection-ssl-program '(nil openssl))
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Emacs-jabber-general mailing list
Emacs-jabber-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-jabber-general

Gmane