emacs-jabber icon indicating copy to clipboard operation
emacs-jabber copied to clipboard

MUC autocompletion has stopped working

Open parhamdoustdar opened this issue 7 years ago • 0 comments

Recently, not sure if it was due to an update, my MUC completion (i.e. pressing TAB to complete a nickname) is not working.

Here is my version info:

GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) of 2017-12-05GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1036)) of 2017-12-05

jabber version: 20170106.1603

I'm not an elisp pro, but I had a look at the function called try-expand-jabber-muc, and it seems like the problem is that the function called jabber-muc-beginning-of-line isn't working properly.

Here is an example. Note that the text following "---" is what I would type.

So, if I have a buffer that ends with something like this:

[14:13] > Ramie Omari <[email protected]> has left the chatroom
---
parham

And if I evaluate the following expression:

(goto-char (jabber-muc-beginning-of-line))

The point is put before the word chatroom, instead of before parham.

parhamdoustdar avatar Dec 20 '17 13:12 parhamdoustdar