all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vivek Dasmohapatra <vivek@etla.org>
Cc: 15362@debbugs.gnu.org
Subject: bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry points
Date: Fri, 13 Sep 2013 09:32:25 -0400	[thread overview]
Message-ID: <jwvvc24q292.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1309131319180.7157@octopus.pepperfish.net> (Vivek Dasmohapatra's message of "Fri, 13 Sep 2013 13:29:13 +0100 (BST)")

>   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






  reply	other threads:[~2013-09-13 13:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13  2:15 bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry points Vivek Dasmohapatra
2013-09-13  3:35 ` Stefan Monnier
2013-09-13 12:29   ` Vivek Dasmohapatra
2013-09-13 13:32     ` Stefan Monnier [this message]
2013-09-13 13:50       ` Vivek Dasmohapatra
2013-09-13 15:17         ` Stefan Monnier
2013-09-14  0:00           ` Vivek Dasmohapatra
2013-09-13 14:03       ` Vivek Dasmohapatra
2019-09-30 14:39 ` Stefan Kangas
2019-10-30 20:54   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvvc24q292.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15362@debbugs.gnu.org \
    --cc=vivek@etla.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.