unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: Re: [friedman@splode.com: some other observations on pcomplete]
Date: 11 Mar 2002 15:48:56 +0900	[thread overview]
Message-ID: <buoelirbnvr.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
In-Reply-To: <87it8339co.fsf@alice.dynodns.net>

John Wiegley <johnw@gnu.org> writes:
> These behaviors are all configurable.  Perhaps we should simple tell
> shell.el to configure pcomplete so that it behaves like Emacs'
> standard (and dumb yet straightforward) completion.

This seems like the wrong answer -- the `cycling' behavior is potentially
very convenient, it's just that the implementation has some rough edges.

For instance, how about if, when in `cycling mode', pcomplete were to
display a note saying how many more completions there are left to cycle
through.  Then you would know that it's cycling, and wouldn't think that
there's only one completion.

It could either display these messages in the minibuffer, or perhaps as
a temporary `tag' following the completed entry like completion in the
minibuffer does, e.g.:

   If the buffer contains (_ is the cursor):

     $ cat /tmp/fo_

   and /tmp contains `foo1' and `foo2', then hitting TAB at eob would display:

     $ cat /tmp/foo1_  [1 more completion]

   at this point, hitting any key except TAB (or just waiting a while
   would result in the message going away, and whatever state pcomplete
   holds for cycling to be reset).  However, hitting TAB before that
   time would cycle to `foo2':

     $ cat /tmp/foo2_  [No more completions]

I think that would be kind of whizzy...  :-,

-Miles
-- 
We live, as we dream -- alone....

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


  reply	other threads:[~2002-03-11  6:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10 21:32 [friedman@splode.com: some other observations on pcomplete] Richard Stallman
2002-03-11  6:29 ` John Wiegley
2002-03-11  6:48   ` Miles Bader [this message]
2002-03-11  7:53     ` John Wiegley
2002-03-11 14:43     ` Stefan Monnier
2002-03-11 19:06   ` Richard Stallman
2002-03-11 19:35     ` John Wiegley
2002-03-12 10:01       ` Kai Großjohann
2002-03-12 19:44         ` John Wiegley
2002-03-13 10:58           ` Richard Stallman
2002-03-13 18:09             ` Colin Walters
2002-03-14 12:42               ` Richard Stallman
2002-03-14 19:29                 ` John Wiegley
2002-03-11 23:58     ` Miles Bader
2002-03-11 20:46 ` Colin Walters
2002-03-12 18:12 ` Stefan Monnier
2002-03-12 18:13   ` Noah Friedman
2002-03-13 10:58   ` Richard Stallman
2002-03-13 12:38     ` Kai Großjohann
2002-03-13 23:00       ` John Wiegley
2002-03-15  3:42       ` Richard Stallman
2002-03-17  9:51         ` Kai Großjohann
2002-03-17 19:22           ` Richard Stallman
2002-03-19 16:15             ` Kai Großjohann
     [not found] <Pine.SUN.3.91.1020314163415.20226A@is>
2002-03-15 16:24 ` Richard Stallman
2002-03-15 19:42   ` Jason Rumney
2002-03-17 10:05     ` Richard Stallman
2002-03-17 11:47       ` Eli Zaretskii
2002-03-18  9:05         ` Richard Stallman
2002-03-17  9:17   ` Karl Eichwalder
2002-03-17 19:22     ` Richard Stallman

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=buoelirbnvr.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.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).