unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: walters@verbum.org, emacs-devel@gnu.org
Subject: Re: using pcomplete for comint.el/shell.el
Date: Sun, 17 Feb 2002 09:48:17 -0700 (MST)	[thread overview]
Message-ID: <200202171648.g1HGmHZ10226@aztec.santafe.edu> (raw)
In-Reply-To: <200202152249.g1FMnbU25659@rum.cs.yale.edu> (monnier+gnu/emacs@RUM.cs.yale.edu)

    +(defun minibuffer-shell-complete ()
    +  "Complete current minibuffer input as a shell command."
    +  (interactive)
    +  (require 'shell)
    +  (pcomplete-shell-setup)
    +  (let ((comint-dynamic-complete-functions shell-dynamic-complete-functions))
    +    (call-interactively 'comint-dynamic-complete)))

We might want to see if we could move comint-dynamic-complete and its
mechanisms into a separate file, so that using this command won't load
all of comint.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  parent reply	other threads:[~2002-02-17 16:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14 23:50 using pcomplete for comint.el/shell.el Colin Walters
2002-02-15 22:49 ` Stefan Monnier
2002-02-16  1:26   ` Colin Walters
2002-02-16  8:03   ` Eli Zaretskii
2002-02-17 16:48   ` Richard Stallman [this message]
2002-02-16 21:55 ` Richard Stallman
2002-02-17  0:43   ` Colin Walters
2002-02-17 22:49     ` Richard Stallman
2002-02-18 21:30       ` John Wiegley
2002-02-18 21:55       ` Colin Walters
2002-02-18 22:21         ` John Wiegley
2002-02-19 21:31         ` Richard Stallman
2002-02-23 21:39           ` Colin Walters

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=200202171648.g1HGmHZ10226@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=walters@verbum.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 public inbox

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

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).