From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#41902: 28.0.50; [PATCH] Project find file should honor read-file-name-completion-ignore-case Date: Tue, 16 Jun 2020 22:59:17 +0200 Message-ID: <87pn9ywwuy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 41902@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 16 23:00:44 2020 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 1jlIhI-000LEs-Bs for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 23:00:44 +0200 Original-Received: from localhost ([::1]:59052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlIhH-0000Kd-3l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 17:00:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlIgd-0000FS-GS for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 17:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlIgd-0003Sn-4n for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 17:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlIgd-0003VC-38 for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 17:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jun 2020 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159234117413395 (code B ref -1); Tue, 16 Jun 2020 21:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jun 2020 20:59:34 +0000 Original-Received: from localhost ([127.0.0.1]:49739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlIg9-0003Ty-Ac for submit@debbugs.gnu.org; Tue, 16 Jun 2020 16:59:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlIg3-0003Tm-5J for submit@debbugs.gnu.org; Tue, 16 Jun 2020 16:59:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlIg1-0007ei-UN for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 16:59:26 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:33500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlIfy-0003Oj-Hq for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 16:59:25 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id j198so3068474wmj.0 for ; Tue, 16 Jun 2020 13:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=YAyVCwOOHz+sgzefSJheBSoLy9/4ip+JZPAtLQUKf8M=; b=MFSfrPVS921nNTlrXEb7HThaKWtMALqXT8q0obKUzPbQXFH9pPUHsK8rhUbvYfKBB7 ZPsyijR9gI2ldFQzvM1pDXcL/mGmBQ54ul5XPxAPdqZ/eGhfrXvE8TtnYDKiwrnV6XEy YbBc9y7k+EWQibVEX0so1XKzG1GktGrr8cUDJDCfDAReRhwMS29aBZrj7RaIZ6ycWio+ NWVCh7FwL4QMG2DhJY7iG59BFBRJoQ9NNS3WtvPX2JDIrbs7h9UPVi9yKClmqrug5mQg mg5KdQ2O1lLyslfxFx/nzwXg3EjYfSZ6p8yXlAJEUKReILmm+RrB4BeYgjTPnnW5enVE Tenw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=YAyVCwOOHz+sgzefSJheBSoLy9/4ip+JZPAtLQUKf8M=; b=BbxorvBJLmSTw7in7vG455F9/nSz7+B/p0jH9umNvgNRl3Dva3As+U5gEliqx4AAcB D4wSeZGde8D5okcC1D8dVZj0dC3bWs+PdLviKHHjWj501kPmCZRYJFLjZ1PhsBo8I8oE Z+7JweCfEX/kWVi23PDOhOK5yu1tqTGs9P3sasAiXJWPoegpNuzRKlpJLsxxTnhIupqA vKauJdfKp2ku/gnu2LB+vqU49UKJJuwHVKGYt2lcXENUFT381hxTBO3Uh79OrfZMAeLu HvjrsTaMzbkZI5UxQjCfenpom41cAA545RFLFy4TKxq3wTwVc4X1IpLyCOS85AlP0ECK 8uaA== X-Gm-Message-State: AOAM530Gu3j6wCz0pY5rTDm7ZN5fN787FrGly8Ar/ktKOuqldIWR0DbN Rvh+p4xFb1YvVT28TlDvV+sdOhVT+t0= X-Google-Smtp-Source: ABdhPJwFlEY3y9s/gdY/PNGFrikzzgsJbPwjQ39FTv4Btq1aG74x8RDFn2RQeBOjU3ARdu8l8SY9vg== X-Received: by 2002:a7b:c156:: with SMTP id z22mr4887708wmi.43.1592341160311; Tue, 16 Jun 2020 13:59:20 -0700 (PDT) Original-Received: from carbon.localdomain ([2a01:e0a:252:7910:679d:a1d5:8917:cc97]) by smtp.gmail.com with ESMTPSA id 125sm5892778wmc.23.2020.06.16.13.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 13:59:19 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=orontee@gmail.com; helo=mail-wm1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:182046 Archived-At: --=-=-= Content-Type: text/plain; format=flowed When `read-file-name-completion-ignore-case' is set to t, users expects that case is ignored when a file name is entered interactively using minibuffer and completion. At the current time, `project-find-file' doesn't take `read-file-name-completion-ignore-case' into account when reading file name with completion. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Make-project-find-file-honor-read-file-name-completi.patch >From 35a17aa3a56f926271f4c46729d29b4df0b317b7 Mon Sep 17 00:00:00 2001 From: Matthias Meulien Date: Tue, 16 Jun 2020 22:52:00 +0200 Subject: [PATCH] Make project-find-file honor read-file-name-completion-ignore-case * lisp/progmodes/project.el (project--completing-read-strict): Set completion-ignore-case to read-file-name-completion-ignore-case --- lisp/progmodes/project.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index f3df44fa7b..20ff5a06ff 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -661,6 +661,7 @@ project--completing-read-strict (let* ((new-prompt (if (and default (not (string-equal default ""))) (format "%s (default %s): " prompt default) (format "%s: " prompt))) + (completion-ignore-case read-file-name-completion-ignore-case) (res (completing-read new-prompt collection predicate t nil ;; initial-input -- 2.20.1 --=-=-= Content-Type: text/plain; format=flowed In GNU Emacs 28.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2020-06-12 built on carbon Repository revision: 459bd56f46af8cd7c29965600c46387282c3c93f Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: mouse-2, RET: describe this function mouse-2, RET: describe this symbol Mark set Mark saved where search started Mark set mouse-2, RET: find function's definition uncompressing files.el.gz...done Note: file is write protected Quit [2 times] Scanning for dabbrevs...done Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: fr_FR.UTF-8 value of $LC_TIME: fr_FR.UTF-8 value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: VC dir Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode semantic-idle-scheduler-mode semantic-mru-bookmark-mode) S))) vc-parent-buffer: *vc-dir* shell-dirtrack-mode: t highlight-changes-visible-mode: t show-paren-mode: t minions-mode: t semantic-mode: t desktop-save-mode: t save-place-mode: t electric-pair-mode: t icomplete-mode: t global-so-long-mode: t global-auto-revert-mode: t auto-insert-mode: t text-scale-mode: t tooltip-mode: t global-eldoc-mode: t electric-layout-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t window-divider-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow emacsbug sendmail mule-util log-view log-edit pcvs-util add-log shell smerge-mode diff whitespace warnings compile flyspell ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox goto-addr org-element avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir ol-docview doc-view image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m dabbrev imenu bug-reference pulse xref eieio-opt speedbar dframe jka-compr cl-print help-fns radix-tree thingatpt project vc-dir ewoc vc vc-dispatcher misearch multi-isearch dired-aux hl-line sort smiley gnus-cite mail-extr gnus-bcklg gnus-async qp gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7 epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom conf-mode display-line-numbers hilit-chg pcase paren cl-extra help-mode avoid minions carbon-custom cus-edit cus-start cus-load gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc parse-time iso8601 gnus-spec gnus-win nnoo gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit gnus-dired dired-x dired dired-loaddefs org-capture org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec cal-menu calendar cal-loaddefs advice skeleton find-file vc-git diff-mode easy-mmode semantic/mru-bookmark ring semantic/db-mode semantic/idle semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet ispell desktop frameset server bookmark text-property-search pp saveplace elec-pair edmacro kmacro icomplete so-long autorevert filenotify autoinsert cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs generic-x face-remap proof-site proof-autoloads info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 465233 40537) (symbols 48 39302 114) (strings 32 139793 5659) (string-bytes 1 4945774) (vectors 16 55270) (vector-slots 8 1167514 138427) (floats 8 328 280) (intervals 56 4631 535) (buffers 992 54)) -- Matthias --=-=-=--