[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Status of shell-pcomplete integration?

From: Kai Großjohann
Subject: Re: Status of shell-pcomplete integration?
Date: Tue, 03 Dec 2002 16:53:41 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Romain FRANCOISE <address@hidden> writes:

> FWIW, the previous integration (the one that was removed from the
> repository in March) did something more: apparently the buffer had to
> be "setup" for pcomplete.  You can get a more or less usable diff using
> cvs diff -r1.109 -r1.108 shell.el

Good.  So let's change pcomplete-cycle-completions to nil at the same
time, to see whether people complain.

I think that would solve Noah's complaint, voiced in
http://mail.gnu.org/pipermail/emacs-devel/2002-March/006508.html , at


What's the problem with the following?

(require 'shell)
(define-key shell-mode-map (kbd "TAB") 'pcomplete)
(add-hook 'shell-mode-hook 'pcomplete-shell-setup)

It seems to work.  It does not defer loading of pcomplete until
completion is actually used, but oh, well.

Maybe pcomplete-shell-setup should set pcomplete-cycle-completions to
nil?  But that would make it difficult to override.  Hm.

John, how about setting pcomplete-cycle-completions to nil globally?
That would make it more consistent.
~/.signature is: umop ap!sdn    (Frank Nobis)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]