From: Romain FRANCOISE <romain@orebokech.com>
Subject: Re: shell-mode autocompletion uglinesses
Date: Tue, 03 Dec 2002 23:59:00 +0100 [thread overview]
Message-ID: <87wumqlnez.fsf@orebokech.com> (raw)
In-Reply-To: 841y4z573o.fsf@lucy.cs.uni-dortmund.de
Kai Großjohann writes:
> The following appears to integrate pcomplete into shell mode:
> (require 'shell)
> (define-key shell-mode-map (kbd "TAB") 'pcomplete)
> (add-hook 'shell-mode-hook 'pcomplete-shell-setup)
You might also want to add the following, if you want to have a
completion that behaves like the default completion:
(setq pcomplete-cycle-completions nil)
Otherwise you'll get the default cycling completion of pcomplete, which
is not very intuitive if you're used to Emacs in general, or to the
default Bash completion mechanism.
And beware, completion of things (filenames, directories) containing
spaces won't work.
Romain.
--
Romain FRANCOISE <romain@orebokech.com> | I'm flooded out with energy,
it's a miracle -- http://orebokech.com/ | energy and deceit.
next prev parent reply other threads:[~2002-12-03 22:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-02 19:45 shell-mode autocompletion uglinesses Felix E. Klee
2002-12-02 20:20 ` Kai Großjohann
2002-12-02 20:40 ` Felix E. Klee
2002-12-02 23:52 ` Steffen Mazanek
2002-12-03 7:38 ` Kai Großjohann
2002-12-03 8:38 ` Kai Großjohann
2002-12-03 12:58 ` Felix E. Klee
2002-12-03 17:45 ` Kai Großjohann
2002-12-03 22:59 ` Romain FRANCOISE [this message]
2002-12-03 23:31 ` Felix E. Klee
2002-12-04 6:59 ` Romain FRANCOISE
2002-12-08 11:33 ` Felix E. Klee
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wumqlnez.fsf@orebokech.com \
--to=romain@orebokech.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).