Subject: bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry points

From: Stefan Monnier <[email-masked]>
Date: Fri, 13 Sep 2013 09:32:25 -0400

>   customise the erc group, make sure erc-pcomplete is on (it
>   should be)

Ah, that's the trick.  Any reason why you do that?  The default should
already give you almost the same behavior.

Also does the patch below fix your problem?

        Stefan

=== modified file 'lisp/erc/erc-pcomplete.el'
--- lisp/erc/erc-pcomplete.el	2013-01-02 16:13:04 +0000
+++ lisp/erc/erc-pcomplete.el	2013-09-13 13:30:27 +0000
@@ -82,10 +82,8 @@
   "Complete the nick before point."
   (interactive)
   (when (> (point) (erc-beg-of-input-line))
-    (let ((last-command (if (eq last-command 'erc-complete-word)
-                            'pcomplete
-                          last-command)))
-      (call-interactively 'pcomplete))
+    (setq this-command 'pcomplete)
+    (call-interactively 'pcomplete)
     t))
 
 ;;; Setup function