all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <1512@emacsbugs.donarmstrong.com>,
	"'Stefan Monnier'" <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org
Subject: bug#1512: 23.0.60; SPC, TAB during completion do not do word completion, prefixcompletion
Date: Sat, 13 Dec 2008 09:36:59 -0800	[thread overview]
Message-ID: <000001c95d49$67190ae0$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <004a01c95d3b$e8485d40$0200a8c0@us.oracle.com>

To be more exact, it seems that even what you call `basic' completion is
different from past Emacs behavior. 

It is apparently what you call `emacs21' that is closest to traditional Emacs
behavior. This comment in minibuffer.el states that
`completion-emacs22-try-completion' is a misnomer:

 ;; Merge a trailing / in completion with a / after point.
 ;; We used to only do it for word completion, but it seems to make
 ;; sense for all completions.
 ;; Actually, claiming this feature was part of Emacs-22 completion
 ;; is pushing it a bit: it was only done in minibuffer-completion-word,
 ;; which was (by default) not bound during file completion, where such
 ;; slashes are most likely to occur.

In any case, any of the following are probably close enough to the traditional
behavior, and any of them would be acceptable as the default value of
`completion-styles': 

 (basic)   ; Emacs 23 word and prefix completion
 (emacs22) ; Emacs 22 word and prefix completion
 (emacs21) ; Emacs 21 word and prefix completion

They all complete a word with SPC and complete a prefix with TAB, signalling [No
match] whenever the word or prefix completion fails.

What's not appropriate is, as is currently done, adding partial-completion into
the mix as the default value of `completion-styles':

 (basic partial-completion)

And it would make sense to change the name of `basic' to `emacs23' - it is the
Emacs 23 version of word and prefix completion.







  reply	other threads:[~2008-12-13 17:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08  1:20 bug#1512: 23.0.60; SPC, TAB during completion do not do word completion, prefix completion Drew Adams
2008-12-08 16:39 ` Stefan Monnier
2008-12-10  2:03   ` Drew Adams
2008-12-12 18:57     ` Stefan Monnier
2008-12-12 23:16       ` Drew Adams
2008-12-13  4:24         ` Stefan Monnier
2008-12-13 16:00           ` Drew Adams
2008-12-13 17:36             ` Drew Adams [this message]
2008-12-14  2:56             ` Stefan Monnier
2008-12-14  9:00               ` Drew Adams
2008-12-14 21:32                 ` Stefan Monnier
2008-12-17  6:40                   ` Processed: " Emacs bug Tracking System

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c95d49$67190ae0$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=1512@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.