From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Cohen Newsgroups: gmane.emacs.bugs Subject: bug#49761: file-cache-minibuffer-complete has become unusable for duplicate file names in MacOSX 27.x emacs Date: Fri, 30 Jul 2021 11:20:51 -0700 Message-ID: References: <87o8alvwby.fsf@mail.linkov.net> <83bl6lrnrh.fsf@gnu.org> <878s1pvunb.fsf@mail.linkov.net> <838s1osyv1.fsf@gnu.org> <87y29ovrgj.fsf@mail.linkov.net> <87v94su45t.fsf@mail.linkov.net> <8335rws641.fsf@gnu.org> <87lf5nisyo.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000aa440b05c85b49de" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8820"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49761@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 30 20:34:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9XKl-000256-NJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 20:34:11 +0200 Original-Received: from localhost ([::1]:58416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9XKj-0000nR-Oo for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 14:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9XKc-0000nJ-EY for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 14:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9XKc-0005zJ-7A for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 14:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9XKc-0005ox-4p for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jul 2021 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49761 X-GNU-PR-Package: emacs Original-Received: via spool by 49761-submit@debbugs.gnu.org id=B49761.162766998622309 (code B ref 49761); Fri, 30 Jul 2021 18:34:02 +0000 Original-Received: (at 49761) by debbugs.gnu.org; 30 Jul 2021 18:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:60897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9XJh-0005nl-OL for submit@debbugs.gnu.org; Fri, 30 Jul 2021 14:33:06 -0400 Original-Received: from mail-ot1-f51.google.com ([209.85.210.51]:39632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9X8W-0005VR-RX for 49761@debbugs.gnu.org; Fri, 30 Jul 2021 14:21:33 -0400 Original-Received: by mail-ot1-f51.google.com with SMTP id f20-20020a9d6c140000b02904bb9756274cso10440602otq.6 for <49761@debbugs.gnu.org>; Fri, 30 Jul 2021 11:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brightbytes.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DLuZ5MKZABD5/M2PPFgksARdXL6LILbC+cCvSXuJmEg=; b=XvNvMvs52HKwiiVlAe9qOMkQn+nGOrZG3v6eclV8ZGokJfPeWGq0En5syFp6LtdYks gakCBQiCgTnBiPzRw+rDp4llgVgTXUv/WbZQsMZJ4KsuvMhWFmfZwLX2ZfNaiiLn0uSR mLQzd4urk1UB4ayqdlia0qdBxhW1+lZACZJP0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DLuZ5MKZABD5/M2PPFgksARdXL6LILbC+cCvSXuJmEg=; b=g1BeAqmWjU3vFsie2lMsfE/jhJokXUXzvq/RF0qv4d+enOQ7Kpw09Vd8u8M8Z7FIrD oh3sOqQmA6RHsdwdZTNAQbEqwx8LP+W7F2Oxdu8gHnXa/4n+eVu3Wd+ZVq49cnaV4vYn Cp3qR5v29ymO/Sb5XsKQG2skMHoPiSGvagHH51imMPpIEu8QurYkww2qMqaELNept83N bikL6TGb0fSy64zvO/ymeeCb6YCBErbquW3x3qrowHvW3kUkO73ot8bk+kx+Yw3HYngt /0pLARHf8jwngfjpmBBBv77AXS3FXbgC/uA4uvu30VqfspZBwSNV2ZpCdDFvfokI9rUz Liog== X-Gm-Message-State: AOAM530FfLlRGQX9ppQcZZvBURcHm4UxD/a6XNi1HL1y5yKduURy3IGE lwsXdJCk6ruYztHfjkU86JHts/trpr9SHp6hPde4d0UhNgpAo9dn X-Google-Smtp-Source: ABdhPJyUgBvXh7gsJACZvysBKCAKrVKFZwIh9vSN6i9EWqN1q+OiFfscxTD/kpn1XY1XL5Sjvf14M2cbnWeRPV05kBo= X-Received: by 2002:a05:6830:2a0f:: with SMTP id y15mr3100792otu.198.1627669287021; Fri, 30 Jul 2021 11:21:27 -0700 (PDT) In-Reply-To: <87lf5nisyo.fsf@mail.linkov.net> X-Mailman-Approved-At: Fri, 30 Jul 2021 14:33:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210930 Archived-At: --000000000000aa440b05c85b49de Content-Type: text/plain; charset="UTF-8" Well, it's now the default behavior. It wasn't previously. :-) That is, I haven't changed my completion settings since the mid-90s (except the icomplete-mode, which I set up a decade ago) , and they all worked fine until emacs 27. They look like this: ;;; Shows globs of possible completions in minibuffer (setq-default completion-auto-help t) ;;; Case-insensitive file and buff (setq read-file-name-completion-ignore-case t) (setq read-buffer-completion-ignore-case t) ;;; Show completions in M-x (icomplete-mode 1) Oh, you mean https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html `M-: completion-styles` shows the same thing in Emacs 26 and 27: '(basic partial-completion emacs22) In Emacs 27, I tried `(setq completion-styles '(basic emacs22))` and `(setq completion-styles '(emacs22))`, but the completion behavior remained broken. (Perhaps interestingly, when I tried `(setq completion-styles '(emacs22))` in Emacs 26, while it still got stuck on the first Gemfile, the minibuffer started showing me that the collision was caused by Gemfile.lock, which it never did before.) In any case, it seems like I'll need to stay with Emacs 26 for a while, as C-Tab is by far my most-used minibuffer command. On Fri, Jul 30, 2021 at 11:03 AM Juri Linkov wrote: > >> 4. 'make C-TAB' then the completions buffer is displayed and the cursor > >> jumps to the beginning because there are completions that don't begin > >> with the same prefix "make" such as flymake.el, pmake.el, > ob-makefile.el. > > > > Is this reasonable behavior? It seems to try second-guessing what the > > user will do next, but that guess is not necessarily correct. > > I don't know, this is the default behavior for completions > that don't share a common prefix. > --000000000000aa440b05c85b49de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, it's = now the default behavior.=C2=A0 It wasn't previously. =C2=A0:-)

That is, = I haven't changed my completion settings since the mid-90s (except the = icomplete-mode, which I set up a decade ago)=C2=A0, and they all worked fine until emacs 27. =C2=A0=

T= hey look like this:

;;; Shows globs of possible completions in minibuffer
= (setq-default completion-auto-help t)

;;; Case-insensitive file and = buff
(setq read-file-name-completion-ignore-case t)
(setq read-buffer= -completion-ignore-case t)

;;; Show completions in M-x
(icomplete= -mode 1)



`M-: completion-s= tyles` shows the same thing in Emacs 26 and 27: '(basic partial-complet= ion emacs22)=C2=A0

In Emacs 27, I tried `(setq completion-styles '(basi= c emacs22))` and `(setq completion-styles '(emacs22))`, but the complet= ion behavior remained broken.

<= div class=3D"gmail_default">(Perhaps interestingly, when I tried `(setq com= pletion-styles '(emacs22))` in Emacs 26, while it still got stuck on th= e first Gemfile, the minibuffer started showing me that the collision was c= aused by Gemfile.lock, which it never did before.)

In any case, it seems like= I'll need to stay with Emacs 26 for a while, as C-Tab is by far my mos= t-used minibuffer command.



--000000000000aa440b05c85b49de--