unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: johnw@gnu.org, friedman@splode.com
Subject: [friedman@splode.com: some other observations on pcomplete]
Date: Sun, 10 Mar 2002 14:32:41 -0700 (MST)	[thread overview]
Message-ID: <200203102132.g2ALWfr04155@wijiji.santafe.edu> (raw)

I think someone is fixing the first of these problems,
but the rest seem severe enough that I think we should
revert the change and put Shell mode completion back the
way it was.

Could someone please make that change?

------- Start of forwarded message -------
From: Noah Friedman <friedman@splode.com>
To: johnw@gnu.org
CC: rms@gnu.org
Subject: some other observations on pcomplete
Reply-To: Noah Friedman <friedman@splode.com>
Date: Sat, 09 Mar 2002 16:31:22 -0800 (PST)

Some other things I've observed about the new completion behavior:

* It doesn't complete command names or variable names anymore, e.g. I
  cannot type "$HOME/ma<TAB>" and have it complete to "$HOME/mail".

  As far as I can tell this is because the tab key has been rebound in the
  new version from comint-dynamic-complete to shell-pcomplete, but I don't
  know if shell-pcomplete was supposed to be using the old variable/command
  completion helpers.

* It's inconsistent with the rest of emacs.  Instead of doing partial
  completion and then showing me a list of completing matches, it sometimes
  does a full completion of just one alternative, which may lead me to
  believe that is the only match.

* It's not even consistent with itself.  Sometimes it does a full
  completion (if there are only a small number of possible completions) but
  other times it displays a completion buffer.  That goes even further to
  reinforce my expectation that when a full completion is made, that's the
  only available completion!

* Sometimes I want to cd into a directory so I type some prefix of the
  directory name.  Because of the two points above, I don't know if that's
  the only match or not so I hit tab twice.  Now, since that is the only
  match, I get a list of completions in the subdirectory.

  So completion on a directory name sometimes replaces a directory name
  with another complete match, and sometimes it descends into the directory
  and produces a completion list on files below.  Behavior is surprising.

Overall I find the new behavior confusing and surprising.  Perhaps this new
mode emulates the completion behavior of some shell I've never used, but I
think emacs should be more self-consistent.  I would suggest changing the
defaults to behave as much as possible in a manner consistent with
completion in the rest of emacs.
------- End of forwarded message -------

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


             reply	other threads:[~2002-03-10 21:32 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-10 21:32 Richard Stallman [this message]
2002-03-11  6:29 ` [friedman@splode.com: some other observations on pcomplete] John Wiegley
2002-03-11  6:48   ` Miles Bader
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=200203102132.g2ALWfr04155@wijiji.santafe.edu \
    --to=rms@gnu.org \
    --cc=friedman@splode.com \
    --cc=johnw@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).