unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [friedman@splode.com: some other observations on pcomplete]
@ 2002-03-10 21:32 Richard Stallman
  2002-03-11  6:29 ` John Wiegley
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Richard Stallman @ 2002-03-10 21:32 UTC (permalink / raw)
  Cc: johnw, friedman

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


^ permalink raw reply	[flat|nested] 31+ messages in thread
[parent not found: <Pine.SUN.3.91.1020314163415.20226A@is>]

end of thread, other threads:[~2002-03-19 16:15 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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