unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 26274@debbugs.gnu.org
Subject: bug#26274: 26.0.50; completion regression
Date: Mon, 27 Mar 2017 12:56:19 +0200	[thread overview]
Message-ID: <87zig756p8.fsf@rosalinde> (raw)

Substring completion involving non-ascii characters (with or without
case-folding) does not work in current master as it had till recently
and still does in Emacs 25.2 (my most recent build from master is from
March 15 and it also shows the problem).  To reproduce:

0. In a shell: cd /tmp; touch atest Atest ätest Ätest testä testÄ
1. Let ~/.emacs consist of the following:
--8<---------------cut here---------------start------------->8---
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(completion-category-overrides
   (quote
    ((buffer
      (styles substring))
     (file
      (styles substring)))))
 '(read-buffer-completion-ignore-case t)
 '(read-file-name-completion-ignore-case t))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
)
--8<---------------cut here---------------end--------------->8---
2. Start emacs; after typing `C-x C-f test TAB' the *Completions* buffer
   shows all six files from step 0. 
3. With both `C-x C-f atest TAB' and `C-x C-f atest TAB' the
   *Completions* buffer shows both atest and Atest. 
4. With `C-x C-f ätest TAB', `C-x C-f Ätest TAB', `C-x C-f testä TAB',
   or `C-x C-f testÄ TAB', the minibuffer displays "[Sole completion]".
   In 25.2 with the first two, the *Completions* buffer shows both ätest
   and Ätest and with the last two, both testä and testÄ.


In GNU Emacs 26.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.20.10)
 of 2017-03-27 built on rosalinde
Repository revision: bd074d9bab470da24dd79491d8c25b22c2a5bb3d
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	openSUSE Leap 42.2

Configured using:
 'configure --with-xwidgets 'CFLAGS=-Og -g3''





             reply	other threads:[~2017-03-27 10:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-27 10:56 Stephen Berman [this message]
2017-03-27 16:22 ` bug#26274: 26.0.50; completion regression Stephen Berman
2017-03-29 17:00   ` Stephen Berman
2017-03-29 17:27     ` Eli Zaretskii
2017-03-29 18:27       ` Stephen Berman
2017-03-29 18:33         ` Eli Zaretskii
2017-03-29 18:43           ` Stephen Berman
2017-03-29 18:49         ` Noam Postavsky
2017-03-29 20:00           ` Stephen Berman
2017-03-30  2:33             ` Eli Zaretskii
2017-03-30 13:38               ` Michal Nazarewicz
2017-03-30 14:17                 ` Michal Nazarewicz
2017-03-30 14:30                   ` Michal Nazarewicz
2017-03-30 16:18                     ` Michal Nazarewicz
2017-03-30 18:02                       ` Stephen Berman
2017-03-30 19:11                         ` Michal Nazarewicz
2017-03-30 20:14                           ` Stephen Berman
2017-03-30 18:06                       ` Eli Zaretskii
2017-04-06 18:58                         ` Michal Nazarewicz
2017-04-07  8:37                           ` Stephen Berman
2017-03-29 17:28     ` Noam Postavsky

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=87zig756p8.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=26274@debbugs.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).