From unknown Thu Sep 11 02:37:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38056: 27.0.50; dired.c changes introduced autocompletion error Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 05:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38056@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15728455049384 (code B ref -1); Mon, 04 Nov 2019 05:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2019 05:31:44 +0000 Received: from localhost ([127.0.0.1]:35747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRUxs-0002RI-3W for submit@debbugs.gnu.org; Mon, 04 Nov 2019 00:31:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:50736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRUol-0002AX-MZ for submit@debbugs.gnu.org; Mon, 04 Nov 2019 00:22:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39757) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRUoj-00037O-O4 for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRUoh-0007Or-RA for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:17 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:38226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRUoh-0007Of-Iv for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:15 -0500 Received: by mail-pl1-x636.google.com with SMTP id w8so7084139plq.5 for ; Sun, 03 Nov 2019 21:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kY6KsjegzQQKTwO1XAOvK84ZB5wFwbBMhb9OeiDyX8M=; b=qtIkcEAGKM/nMR/oSYna+1WIysNiwRLMkDUT1DVbIRd4umL5GU398tzlKqNux0VXPT p3e5krxJzG0Y5F53ypKcY7ja+uoGoOmxji6t1+KJKQTVkKAbH9po2/cuZqbEDg/u8qPI jizfaKbF3IiRpaNbSZh9R9bIIYWKT14rfit7Wb5FRWCR+mUlDKMHXtXwuvp2Ak7bLWhU roFNQNT8E+98eS7iya6FahDwVxMGc0uWepexqKf/9X+hH34wDyiT26dMMHTbJKE2h1pK SUQmmmZ9OAJKNsTOPsrg2jS7O/SKMwOd16i56HcIUrGX2AQw8F0d+rtrieFE4y0/4iyI l1Nw== 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:mime-version :content-transfer-encoding; bh=kY6KsjegzQQKTwO1XAOvK84ZB5wFwbBMhb9OeiDyX8M=; b=sULtgrtGyWyjpvWHz84Okip+xIWylPaYy8qFRpEHxdCzkeoHP4Q6r4TJIND+1QfWXo TQL5DP26qDo76S9ZhI0eP2ZNzWeiPEbS/xkb/oBLICIfWtP/ZANFhA09vYk8hEm4Z2HB y49XFlg7TFNTusugnoefCzmetzqnG8JCJHzjn9ygV+GE4wSsHyHawNKB75BHw4Ikvq4u Oi3YSAnuF8mMh0sUKxruScCWOxCPhhtek2+tDynCdeZnRv2Nbr35PV2mVNP0DsQ2s7gS PdYPXwXz8rgfOPQ48AICj8SMymu3BzEXIJo8bAhwk3aaY7/kiRXlomd8TjEPvzmQROBm RdhQ== X-Gm-Message-State: APjAAAVFZyrL4z6tR9exR9WjTX0FumgI0BajVr/wQ0uMLfsF6ZSwv6r8 HxhdTqgZrJTEY4SkiH1m5zYwyD8= X-Google-Smtp-Source: APXvYqzRXPmdVgimMVVK5eBcl1UI81G+KtTiIfDWrzdpYDU5h7woBbkYt6jIq1Q/tEzbIvgxDzWy1w== X-Received: by 2002:a17:902:14f:: with SMTP id 73mr25699577plb.87.1572844934045; Sun, 03 Nov 2019 21:22:14 -0800 (PST) Received: from Pankajs-MacBook-Pro.local ([49.36.132.100]) by smtp.gmail.com with ESMTPSA id n8sm6455816pja.30.2019.11.03.21.22.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Nov 2019 21:22:13 -0800 (PST) Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 411FE203D7179C; Mon, 4 Nov 2019 10:52:09 +0530 (IST) From: Pankaj Jangid Date: Mon, 04 Nov 2019 10:52:09 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::636 X-Spam-Score: 0.7 (/) X-Mailman-Approved-At: Mon, 04 Nov 2019 00:31:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I have tried it in various ways. The checkin 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced autocompletion issues at various places. To reproduce, I have tried these steps. I have also tried it on one previous commit (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which implies that the issues has occurred in commit 84a3793b194efe92e2eb80cd0f625f3324bf4cae only. (1) launched emacs using "./src/emacs -Q". (2) (setq debug-on-error t). (3) C-x C-f and then type few characters of some file and TAB. This produces same error. autocompletion on directories is working fine. OR (3) Tried to rename a file in dired. Press R, press few characters of the file, press TAB. This produces error. I have debug-on-error set to t. produces this error: Debugger entered--Lisp error: (args-out-of-range "a.txt" 3 2) file-name-completion("a" "~/work/temp/" file-exists-p) completion-file-name-table("~/work/temp/a" file-exists-p nil) try-completion("~/work/temp/a" completion-file-name-table file-exists-p) completion-basic-try-completion("~/work/temp/a" completion-file-name-tabl= e file-exists-p 13) #f(compiled-function (style) #)(basic) completion--some(#f(compiled-function (style) #)= (basic partial-completion emacs22)) completion--nth-completion(1 "~/work/temp/a" read-file-name-internal file= -exists-p 13 (metadata (category . file) (completion--unquote-requote . t))) completion-try-completion("~/work/temp/a" read-file-name-internal file-ex= ists-p 13 (metadata (category . file) (completion--unquote-requote . t))) completion--do-completion(18 31) completion--in-region-1(18 31) #f(compiled-function (start end collection predicate) #)(18 31 read-file-name-internal file-exists-p) apply(#f(compiled-function (start end collection predicate) #) (18 31 read-file-name-internal file-exists-p)) #f(compiled-function (funs global args) #)(nil n= il (18 31 read-file-name-internal file-exists-p)) completion--in-region(18 31 read-file-name-internal file-exists-p) completion-in-region(18 31 read-file-name-internal file-exists-p) minibuffer-complete() funcall-interactively(minibuffer-complete) call-interactively(minibuffer-complete nil nil) command-execute(minibuffer-complete) read-from-minibuffer("Rename a.txt to: " "~/work/temp/" (keymap (keymap (= 32)) keymap (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Comp= lete" minibuffer-complete :help "Complete as far as possible") (space menu-= item "Complete Word" minibuffer-complete-word :help "Complete at most one w= ord") (63 menu-item "List Completions" minibuffer-completion-help :help "Di= splay all possible completions") "Minibuf")) (27 keymap (118 . switch-to-co= mpletions)) (prior . switch-to-completions) (63 . minibuffer-completion-hel= p) (32 . minibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-b= ar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History I= tem" previous-history-element :help "Put previous minibuffer history elemen= t in the min...") (next menu-item "Next History Item" next-history-element = :help "Put next minibuffer history element in the minibuf...") (isearch-bac= kward menu-item "Isearch History Backward" isearch-backward :help "Incremen= tally search minibuffer history backward") (isearch-forward menu-item "Isea= rch History Forward" isearch-forward :help "Incrementally search minibuffer= history forward") (return menu-item "Enter" exit-minibuffer :key-sequence = "\15" :help "Terminate input and exit minibuffer") (quit menu-item "Quit" a= bort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (1= 0 . exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-t= ab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . = previous-history-element) (up . previous-line-or-history-element) (prior . = previous-history-element) (XF86Forward . next-history-element) (down . next= -line-or-history-element) (next . next-history-element) (27 keymap (60 . mi= nibuffer-beginning-of-buffer) (114 . previous-matching-history-element) (11= 5 . next-matching-history-element) (112 . previous-history-element) (110 . = next-history-element))) nil file-name-history "~/work/temp/a.txt" nil) completing-read-default("Rename a.txt to: " read-file-name-internal file-= exists-p nil "~/work/temp/" file-name-history "~/work/temp/a.txt" nil) completing-read("Rename a.txt to: " read-file-name-internal file-exists-p= nil "~/work/temp/" file-name-history "~/work/temp/a.txt") read-file-name-default("Rename a.txt to: " "/Users/pankaj/work/temp/" "/U= sers/pankaj/work/temp/a.txt" nil nil nil) read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pan= kaj/work/temp/a.txt" nil nil nil) ido-read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users= /pankaj/work/temp/a.txt" nil nil nil) apply(ido-read-file-name ("Rename a.txt to: " "/Users/pankaj/work/temp/" = "/Users/pankaj/work/temp/a.txt" nil nil nil)) #f(advice-wrapper :override read-file-name-default ido-read-file-name)("R= ename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pankaj/work/temp/a.txt= " nil nil nil) read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pan= kaj/work/temp/a.txt") apply(read-file-name ("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Us= ers/pankaj/work/temp/a.txt")) dired-mark-pop-up(nil move ("a.txt") read-file-name "Rename a.txt to: " "= /Users/pankaj/work/temp/" "/Users/pankaj/work/temp/a.txt") dired-mark-read-file-name("Rename %s to: " "/Users/pankaj/work/temp/" mov= e nil ("a.txt") "/Users/pankaj/work/temp/a.txt") dired-do-create-files(move dired-rename-file "Move" nil t "Rename") dired-do-rename(nil) funcall-interactively(dired-do-rename nil) call-interactively(dired-do-rename nil nil) command-execute(dired-do-rename) =3D=3D=3D=3D In GNU Emacs 27.0.50 (build 17, x86_64-apple-darwin19.0.0, NS appkit-1894.1= 0 Version 10.15.1 (Build 19B88)) of 2019-11-04 built on Pankajs-MacBook-Pro.local Repository revision: 84a3793b194efe92e2eb80cd0f625f3324bf4cae Repository branch: HEAD Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.1 user-error: The mark is not set now, so there is no region Making completion list... Configured using: 'configure CPPFLAGS=3D-I/usr/local/opt/ruby/include LDFLAGS=3D-L/usr/local/opt/ruby/lib' Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 45311 7352) (symbols 48 6067 1) (strings 32 15289 1854) (string-bytes 1 502990) (vectors 16 10184) (vector-slots 8 129631 5746) (floats 8 19 44) (intervals 56 217 0) (buffers 1000 13)) --=20 Pankaj Jangid From unknown Thu Sep 11 02:37:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38056: 27.0.50; dired.c changes introduced autocompletion error References: In-Reply-To: Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38056@debbugs.gnu.org Cc: Pankaj Jangid , Eli Zaretskii Received: via spool by 38056-submit@debbugs.gnu.org id=B38056.157287529220117 (code B ref 38056); Mon, 04 Nov 2019 13:49:02 +0000 Received: (at 38056) by debbugs.gnu.org; 4 Nov 2019 13:48:12 +0000 Received: from localhost ([127.0.0.1]:36028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRciK-0005EP-3j for submit@debbugs.gnu.org; Mon, 04 Nov 2019 08:48:12 -0500 Received: from mail153c50.megamailservers.eu ([91.136.10.163]:42758 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRciH-0005EE-Mw for 38056@debbugs.gnu.org; Mon, 04 Nov 2019 08:48:11 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1572875287; bh=Fbplkbkm88gdlMCiQGAz1Q+2XjqCyFhQBABE+3Wt+pc=; h=From:Subject:Date:Cc:To:From; b=rGZgUf7LGxydB4iotaRItYYeYtSI6RG9Gn7a62kwjuD6nPDoK80a8CIa8086kwByq JfeF8gPvOquX+rmmL5COKceeil+JDX644K9UsHbEK8iMlmqZjAWnQCjivhi9SxUFn+ gLMDCoyKh9Hxhlyg8/iva7Ov/f7m09rMu1DpNQDA= Feedback-ID: mattiase@acm.or Received: from [192.168.1.64] (c-ab48e655.032-75-73746f71.bbcust.telenor.se [85.230.72.171]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id xA4Dm5AQ002305; Mon, 4 Nov 2019 13:48:06 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: <7D05E682-A884-45FD-B8A3-F217173BED65@acm.org> Date: Mon, 4 Nov 2019 14:48:04 +0100 X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020B.5DC02C17.002C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=N4FX6F1B c=1 sm=1 tr=0 a=rXevXwunHxhYrmnhJinORQ==:117 a=rXevXwunHxhYrmnhJinORQ==:17 a=kj9zAlcOel0A:10 a=3cxCi9IZHh0A:10 a=M51BFTxLslgA:10 a=ZyZ8QW3iKruw8kmFk1cA:9 a=CjuIK1q_8ugA:10 a=pHzHmUro8NiASowvMSCR:22 a=6VlIyEUom7LUIeUMNQJH:22 X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >The checkin 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced = autocompletion issues at various places. To reproduce, I have tried = these steps. I have also tried it on one previous commit = (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which = implies that the issues has occurred in commit = 84a3793b194efe92e2eb80cd0f625f3324bf4cae only.=20 You probably mean 0b21ecdb5e, not 84a3793b19. I can confirm that = reverting 0b21ecdb5e fixes the problem. From unknown Thu Sep 11 02:37:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pankaj Jangid Subject: bug#38056: closed (Re: bug#38056: 27.0.50; dired.c changes introduced autocompletion error) Message-ID: References: <838sovir51.fsf@gnu.org> X-Gnu-PR-Message: they-closed 38056 X-Gnu-PR-Package: emacs Reply-To: 38056@debbugs.gnu.org Date: Mon, 04 Nov 2019 15:44:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1572882241-980-1" This is a multi-part message in MIME format... ------------=_1572882241-980-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38056: 27.0.50; dired.c changes introduced autocompletion error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38056@debbugs.gnu.org. --=20 38056: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38056 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1572882241-980-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38056-done) by debbugs.gnu.org; 4 Nov 2019 15:43:23 +0000 Received: from localhost ([127.0.0.1]:37380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iReVm-0000Eb-Ru for submit@debbugs.gnu.org; Mon, 04 Nov 2019 10:43:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iReVh-0000ED-Db for 38056-done@debbugs.gnu.org; Mon, 04 Nov 2019 10:43:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iReVc-0000Pb-7k; Mon, 04 Nov 2019 10:43:12 -0500 Received: from [176.228.60.248] (port=4809 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iReVb-0001Ip-L7; Mon, 04 Nov 2019 10:43:12 -0500 Date: Mon, 04 Nov 2019 17:43:22 +0200 Message-Id: <838sovir51.fsf@gnu.org> From: Eli Zaretskii To: Pankaj Jangid In-reply-to: (message from Pankaj Jangid on Mon, 04 Nov 2019 10:52:09 +0530) Subject: Re: bug#38056: 27.0.50; dired.c changes introduced autocompletion error References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38056-done Cc: 38056-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Pankaj Jangid > Date: Mon, 04 Nov 2019 10:52:09 +0530 > > I have tried it in various ways. The checkin > 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced autocompletion > issues at various places. To reproduce, I have tried these steps. I have > also tried it on one previous commit > (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which > implies that the issues has occurred in commit > 84a3793b194efe92e2eb80cd0f625f3324bf4cae only. FTR, this issue was introduced by commit 0b21ecd, not 84a3793b194efe92e2eb80cd0f625f3324bf4cae. > (1) launched emacs using "./src/emacs -Q". > (2) (setq debug-on-error t). > (3) C-x C-f and then type few characters of some file and TAB. This > produces same error. autocompletion on directories is working fine. > OR > (3) Tried to rename a file in dired. Press R, press few characters of > the file, press TAB. This produces error. I have debug-on-error set to > t. > > produces this error: > > Debugger entered--Lisp error: (args-out-of-range "a.txt" 3 2) > file-name-completion("a" "~/work/temp/" file-exists-p) Sorry about that. Should be fixed now. ------------=_1572882241-980-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Nov 2019 05:31:44 +0000 Received: from localhost ([127.0.0.1]:35747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRUxs-0002RI-3W for submit@debbugs.gnu.org; Mon, 04 Nov 2019 00:31:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:50736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRUol-0002AX-MZ for submit@debbugs.gnu.org; Mon, 04 Nov 2019 00:22:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39757) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRUoj-00037O-O4 for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRUoh-0007Or-RA for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:17 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:38226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRUoh-0007Of-Iv for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 00:22:15 -0500 Received: by mail-pl1-x636.google.com with SMTP id w8so7084139plq.5 for ; Sun, 03 Nov 2019 21:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=kY6KsjegzQQKTwO1XAOvK84ZB5wFwbBMhb9OeiDyX8M=; b=qtIkcEAGKM/nMR/oSYna+1WIysNiwRLMkDUT1DVbIRd4umL5GU398tzlKqNux0VXPT p3e5krxJzG0Y5F53ypKcY7ja+uoGoOmxji6t1+KJKQTVkKAbH9po2/cuZqbEDg/u8qPI jizfaKbF3IiRpaNbSZh9R9bIIYWKT14rfit7Wb5FRWCR+mUlDKMHXtXwuvp2Ak7bLWhU roFNQNT8E+98eS7iya6FahDwVxMGc0uWepexqKf/9X+hH34wDyiT26dMMHTbJKE2h1pK SUQmmmZ9OAJKNsTOPsrg2jS7O/SKMwOd16i56HcIUrGX2AQw8F0d+rtrieFE4y0/4iyI l1Nw== 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:mime-version :content-transfer-encoding; bh=kY6KsjegzQQKTwO1XAOvK84ZB5wFwbBMhb9OeiDyX8M=; b=sULtgrtGyWyjpvWHz84Okip+xIWylPaYy8qFRpEHxdCzkeoHP4Q6r4TJIND+1QfWXo TQL5DP26qDo76S9ZhI0eP2ZNzWeiPEbS/xkb/oBLICIfWtP/ZANFhA09vYk8hEm4Z2HB y49XFlg7TFNTusugnoefCzmetzqnG8JCJHzjn9ygV+GE4wSsHyHawNKB75BHw4Ikvq4u Oi3YSAnuF8mMh0sUKxruScCWOxCPhhtek2+tDynCdeZnRv2Nbr35PV2mVNP0DsQ2s7gS PdYPXwXz8rgfOPQ48AICj8SMymu3BzEXIJo8bAhwk3aaY7/kiRXlomd8TjEPvzmQROBm RdhQ== X-Gm-Message-State: APjAAAVFZyrL4z6tR9exR9WjTX0FumgI0BajVr/wQ0uMLfsF6ZSwv6r8 HxhdTqgZrJTEY4SkiH1m5zYwyD8= X-Google-Smtp-Source: APXvYqzRXPmdVgimMVVK5eBcl1UI81G+KtTiIfDWrzdpYDU5h7woBbkYt6jIq1Q/tEzbIvgxDzWy1w== X-Received: by 2002:a17:902:14f:: with SMTP id 73mr25699577plb.87.1572844934045; Sun, 03 Nov 2019 21:22:14 -0800 (PST) Received: from Pankajs-MacBook-Pro.local ([49.36.132.100]) by smtp.gmail.com with ESMTPSA id n8sm6455816pja.30.2019.11.03.21.22.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Nov 2019 21:22:13 -0800 (PST) Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 411FE203D7179C; Mon, 4 Nov 2019 10:52:09 +0530 (IST) From: Pankaj Jangid To: bug-gnu-emacs@gnu.org Subject: 27.0.50; dired.c changes introduced autocompletion error Date: Mon, 04 Nov 2019 10:52:09 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::636 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 04 Nov 2019 00:31:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I have tried it in various ways. The checkin 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced autocompletion issues at various places. To reproduce, I have tried these steps. I have also tried it on one previous commit (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which implies that the issues has occurred in commit 84a3793b194efe92e2eb80cd0f625f3324bf4cae only. (1) launched emacs using "./src/emacs -Q". (2) (setq debug-on-error t). (3) C-x C-f and then type few characters of some file and TAB. This produces same error. autocompletion on directories is working fine. OR (3) Tried to rename a file in dired. Press R, press few characters of the file, press TAB. This produces error. I have debug-on-error set to t. produces this error: Debugger entered--Lisp error: (args-out-of-range "a.txt" 3 2) file-name-completion("a" "~/work/temp/" file-exists-p) completion-file-name-table("~/work/temp/a" file-exists-p nil) try-completion("~/work/temp/a" completion-file-name-table file-exists-p) completion-basic-try-completion("~/work/temp/a" completion-file-name-tabl= e file-exists-p 13) #f(compiled-function (style) #)(basic) completion--some(#f(compiled-function (style) #)= (basic partial-completion emacs22)) completion--nth-completion(1 "~/work/temp/a" read-file-name-internal file= -exists-p 13 (metadata (category . file) (completion--unquote-requote . t))) completion-try-completion("~/work/temp/a" read-file-name-internal file-ex= ists-p 13 (metadata (category . file) (completion--unquote-requote . t))) completion--do-completion(18 31) completion--in-region-1(18 31) #f(compiled-function (start end collection predicate) #)(18 31 read-file-name-internal file-exists-p) apply(#f(compiled-function (start end collection predicate) #) (18 31 read-file-name-internal file-exists-p)) #f(compiled-function (funs global args) #)(nil n= il (18 31 read-file-name-internal file-exists-p)) completion--in-region(18 31 read-file-name-internal file-exists-p) completion-in-region(18 31 read-file-name-internal file-exists-p) minibuffer-complete() funcall-interactively(minibuffer-complete) call-interactively(minibuffer-complete nil nil) command-execute(minibuffer-complete) read-from-minibuffer("Rename a.txt to: " "~/work/temp/" (keymap (keymap (= 32)) keymap (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Comp= lete" minibuffer-complete :help "Complete as far as possible") (space menu-= item "Complete Word" minibuffer-complete-word :help "Complete at most one w= ord") (63 menu-item "List Completions" minibuffer-completion-help :help "Di= splay all possible completions") "Minibuf")) (27 keymap (118 . switch-to-co= mpletions)) (prior . switch-to-completions) (63 . minibuffer-completion-hel= p) (32 . minibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-b= ar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History I= tem" previous-history-element :help "Put previous minibuffer history elemen= t in the min...") (next menu-item "Next History Item" next-history-element = :help "Put next minibuffer history element in the minibuf...") (isearch-bac= kward menu-item "Isearch History Backward" isearch-backward :help "Incremen= tally search minibuffer history backward") (isearch-forward menu-item "Isea= rch History Forward" isearch-forward :help "Incrementally search minibuffer= history forward") (return menu-item "Enter" exit-minibuffer :key-sequence = "\15" :help "Terminate input and exit minibuffer") (quit menu-item "Quit" a= bort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (1= 0 . exit-minibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-t= ab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . = previous-history-element) (up . previous-line-or-history-element) (prior . = previous-history-element) (XF86Forward . next-history-element) (down . next= -line-or-history-element) (next . next-history-element) (27 keymap (60 . mi= nibuffer-beginning-of-buffer) (114 . previous-matching-history-element) (11= 5 . next-matching-history-element) (112 . previous-history-element) (110 . = next-history-element))) nil file-name-history "~/work/temp/a.txt" nil) completing-read-default("Rename a.txt to: " read-file-name-internal file-= exists-p nil "~/work/temp/" file-name-history "~/work/temp/a.txt" nil) completing-read("Rename a.txt to: " read-file-name-internal file-exists-p= nil "~/work/temp/" file-name-history "~/work/temp/a.txt") read-file-name-default("Rename a.txt to: " "/Users/pankaj/work/temp/" "/U= sers/pankaj/work/temp/a.txt" nil nil nil) read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pan= kaj/work/temp/a.txt" nil nil nil) ido-read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users= /pankaj/work/temp/a.txt" nil nil nil) apply(ido-read-file-name ("Rename a.txt to: " "/Users/pankaj/work/temp/" = "/Users/pankaj/work/temp/a.txt" nil nil nil)) #f(advice-wrapper :override read-file-name-default ido-read-file-name)("R= ename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pankaj/work/temp/a.txt= " nil nil nil) read-file-name("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Users/pan= kaj/work/temp/a.txt") apply(read-file-name ("Rename a.txt to: " "/Users/pankaj/work/temp/" "/Us= ers/pankaj/work/temp/a.txt")) dired-mark-pop-up(nil move ("a.txt") read-file-name "Rename a.txt to: " "= /Users/pankaj/work/temp/" "/Users/pankaj/work/temp/a.txt") dired-mark-read-file-name("Rename %s to: " "/Users/pankaj/work/temp/" mov= e nil ("a.txt") "/Users/pankaj/work/temp/a.txt") dired-do-create-files(move dired-rename-file "Move" nil t "Rename") dired-do-rename(nil) funcall-interactively(dired-do-rename nil) call-interactively(dired-do-rename nil nil) command-execute(dired-do-rename) =3D=3D=3D=3D In GNU Emacs 27.0.50 (build 17, x86_64-apple-darwin19.0.0, NS appkit-1894.1= 0 Version 10.15.1 (Build 19B88)) of 2019-11-04 built on Pankajs-MacBook-Pro.local Repository revision: 84a3793b194efe92e2eb80cd0f625f3324bf4cae Repository branch: HEAD Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.1 user-error: The mark is not set now, so there is no region Making completion list... Configured using: 'configure CPPFLAGS=3D-I/usr/local/opt/ruby/include LDFLAGS=3D-L/usr/local/opt/ruby/lib' Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 45311 7352) (symbols 48 6067 1) (strings 32 15289 1854) (string-bytes 1 502990) (vectors 16 10184) (vector-slots 8 129631 5746) (floats 8 19 44) (intervals 56 217 0) (buffers 1000 13)) --=20 Pankaj Jangid ------------=_1572882241-980-1-- From unknown Thu Sep 11 02:37:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38056: 27.0.50; dired.c changes introduced autocompletion error Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , 38056@debbugs.gnu.org Received: via spool by 38056-submit@debbugs.gnu.org id=B38056.157289244318919 (code B ref 38056); Mon, 04 Nov 2019 18:35:02 +0000 Received: (at 38056) by debbugs.gnu.org; 4 Nov 2019 18:34:03 +0000 Received: from localhost ([127.0.0.1]:37511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRhAu-0004uj-95 for submit@debbugs.gnu.org; Mon, 04 Nov 2019 13:34:00 -0500 Received: from mail-pl1-f179.google.com ([209.85.214.179]:41913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRgVx-0003nI-Jx for 38056@debbugs.gnu.org; Mon, 04 Nov 2019 12:51:42 -0500 Received: by mail-pl1-f179.google.com with SMTP id d29so1560574plj.8 for <38056@debbugs.gnu.org>; Mon, 04 Nov 2019 09:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=lIX3jkJX86qXeVd8DZlVGIiZ2dRsei6MVxLXOxCK880=; b=h5pRaO3AHRnjumZeGVl2H1cHuAqkW5i9HZC4aX5RrWsm0wQH4Ol4sURYEIVoxTcoCN SeDt7s+FI3OMyc6QrteliQeyY7hKPtLEy70R5YBm/HtZSI0IIsG5U7d6aEEYPwQa9MH/ i2D4RMRogYftc6RepKO/GcoOwgddl8zsA3CSwo7OA7udJp+oatAyt55DqTbfJkdvKIaI k06ojIgcXdWqIUI41v9lhHe5wKt7fUnNv+NnlyPNxQxYi1Ox4Bkp+uW1hK3Dy/bujwcr G9nSHQTP6kdDSWVvCFdpecEscv8uuDuIGxsFCB90Cgmu6dP3+kIKtyC5Q0K8iJuAydlV j7FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=lIX3jkJX86qXeVd8DZlVGIiZ2dRsei6MVxLXOxCK880=; b=kBzk9OgkhKdZwUGjW8YUgnCZQkHvs3csrdvKNqzdUjgxXDoGf/s0tTtN40FZ4mgSJF CDXmQYsWk6L37dsTFBeiCxNWmnveUpV+9Ui+Tzg2AkBOvmvlFAKS7XguhhJDvzOx48hz REaFX+ieoRTbLi+wemsYsiCe1wINQxXrmGBYFqcKW0F3Ger1xaYIeInjWuQ/rS/LpXtj aWnutGaozANtrpW3mVBU8SPua3HhxtuzxAdb6KO/PJzuqnTkvcN966Vsdv5OSgcPuYzN Vkcc8DFN9ECj+1DyfzmZnefrAVMppMNWmLEr6Q7BRo7A8A0Jx4/GBNJoCecjUbxhDh4K 2Ojg== X-Gm-Message-State: APjAAAWVKkNW908+LbkTMOWnlf5lPL2A5HFNKTV4e46MdYZB0TiFiJPo XtNYPkYZKkT3jFNKvvYQxA== X-Google-Smtp-Source: APXvYqwkKUsV5NoyHkE6GXG9PtTDU4rb9OFbO1PM/JncyUiZhkvfndhJsXeIILxdrqdYQTPfMmoSVA== X-Received: by 2002:a17:902:6b8a:: with SMTP id p10mr29016179plk.192.1572889895577; Mon, 04 Nov 2019 09:51:35 -0800 (PST) Received: from Pankajs-MacBook-Pro.local ([49.36.132.236]) by smtp.gmail.com with ESMTPSA id b17sm18773576pfr.17.2019.11.04.09.51.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Nov 2019 09:51:34 -0800 (PST) Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id B13C0203D77C7F; Mon, 4 Nov 2019 23:21:31 +0530 (IST) From: Pankaj Jangid Organization: Code is Great! References: <7D05E682-A884-45FD-B8A3-F217173BED65@acm.org> Date: Mon, 04 Nov 2019 23:21:31 +0530 In-Reply-To: <7D05E682-A884-45FD-B8A3-F217173BED65@acm.org> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Mon, 4 Nov 2019 14:48:04 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 04 Nov 2019 13:34:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: >>The checkin 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced > autocompletion issues at various places. To reproduce, I have tried > these steps. I have also tried it on one previous commit > (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which > implies that the issues has occurred in commit > 84a3793b194efe92e2eb80cd0f625f3324bf4cae only. > > You probably mean 0b21ecdb5e, not 84a3793b19. I can confirm that revertin= g 0b21ecdb5e fixes the problem. > Yes. Sorry about that. The commit is sure 0b21ecdb5ea9db8cf7a4a4ee59b29bf6273f2915. --=20 Pankaj Jangid From unknown Thu Sep 11 02:37:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38056: 27.0.50; dired.c changes introduced autocompletion error Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38056 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 38056-done@debbugs.gnu.org Received: via spool by 38056-done@debbugs.gnu.org id=D38056.157289244318927 (code D ref 38056); Mon, 04 Nov 2019 18:35:02 +0000 Received: (at 38056-done) by debbugs.gnu.org; 4 Nov 2019 18:34:03 +0000 Received: from localhost ([127.0.0.1]:37513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRhAx-0004v6-1c for submit@debbugs.gnu.org; Mon, 04 Nov 2019 13:34:03 -0500 Received: from mail-pg1-f177.google.com ([209.85.215.177]:33268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRgWo-0003ow-EL for 38056-done@debbugs.gnu.org; Mon, 04 Nov 2019 12:52:35 -0500 Received: by mail-pg1-f177.google.com with SMTP id u23so11832006pgo.0 for <38056-done@debbugs.gnu.org>; Mon, 04 Nov 2019 09:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version; bh=EqMKxN0fU43Ktxy5DViPj48nNGCLGHLxqRYBY94wCeM=; b=LBt2kljJVRFDu5WX4KsOUX2X9l8onQXxi7+FATzUZOkF1EM+zHj1NVSp3XEQ65gV4T MfZSVBFIJrj9gMZgQGS244227Bxexmg3VJQkqxzXj9Fnl8hAWqvZ/LECRKk+VbA66PgO LbLKkAv1lKdc2h5tyIj2B6rNo/yNAtBrZBUXfCPX503x3+OYhYMIMTE/nS2D1HxNYA8H YVol7NlLDX8Jnyq5pBm6djDQJ7cMRyNPA/O7q52EJyERYyHb+WGgsjivko6bQziub6yx XzRlndhEOcj2ySD9ilwy5TGF/jqz6dZ/ncVm6ifiB15cPYzTEtFIyG+pCNU/rLtGrbxG 97NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version; bh=EqMKxN0fU43Ktxy5DViPj48nNGCLGHLxqRYBY94wCeM=; b=e7L4ZMjGojjosJKJgIZI7Z0oW5gs+90cK8JUzFgjaODpF6VBlUsVrFf8LgVd/VCuoq VMRwuQnuvPyhB/mFrppGCnk2XWwxNhGZM2O2se6dcRMUja0CQc6da2ijBtqvLIp9vwh5 iJulb0H1Fh119hHfYlTuDDOXGUX/vZ/AIA/d5bFwhH/YgGW6BfuSyzH9DKDOj03f3tc6 WjsfVHz+VbjScPwyUh4OjrjA5LKHiyGIzkqqLOMupZyhJdjjWOvO37S7hVQT8YUQYiql Pc7eyqkpqomUvbImk0Wf8gCXecWAvtrQ9OU6AmTs3l4ft9ELj5wfkKqX65UbEgS44TYz a1Lg== X-Gm-Message-State: APjAAAVBPUJ+dlLI0zWGCrDtStdGAaTIh5bRbc1LJYOtF8p14vm3rP+G PxVv6/wqn+RDDZJPJNWKeKVwb9k= X-Google-Smtp-Source: APXvYqxEcAnCzKuOm8bh9kqouu/SsbRdHtsuPyUlbW0lh+apmhizoS1wCI25CNIHe5aheWtYY8JTsA== X-Received: by 2002:a63:f919:: with SMTP id h25mr23446540pgi.85.1572889948107; Mon, 04 Nov 2019 09:52:28 -0800 (PST) Received: from Pankajs-MacBook-Pro.local ([49.36.132.236]) by smtp.gmail.com with ESMTPSA id q184sm17972151pfc.111.2019.11.04.09.52.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Nov 2019 09:52:27 -0800 (PST) Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 9C630203D77C88; Mon, 4 Nov 2019 23:22:24 +0530 (IST) From: Pankaj Jangid Organization: Code is Great! References: <838sovir51.fsf@gnu.org> Date: Mon, 04 Nov 2019 23:22:24 +0530 In-Reply-To: <838sovir51.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Nov 2019 17:43:22 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 04 Nov 2019 13:34:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Pankaj Jangid >> Date: Mon, 04 Nov 2019 10:52:09 +0530 >> >> I have tried it in various ways. The checkin >> 84a3793b194efe92e2eb80cd0f625f3324bf4cae have introduced autocompletion >> issues at various places. To reproduce, I have tried these steps. I have >> also tried it on one previous commit >> (3c86424a182892db1e0216b9aa7e8389ae6f13de). This commit is ok; which >> implies that the issues has occurred in commit >> 84a3793b194efe92e2eb80cd0f625f3324bf4cae only. > > FTR, this issue was introduced by commit 0b21ecd, not > 84a3793b194efe92e2eb80cd0f625f3324bf4cae. > Yes. That is correct. Error in my reporting. >> (1) launched emacs using "./src/emacs -Q". >> (2) (setq debug-on-error t). >> (3) C-x C-f and then type few characters of some file and TAB. This >> produces same error. autocompletion on directories is working fine. >> OR >> (3) Tried to rename a file in dired. Press R, press few characters of >> the file, press TAB. This produces error. I have debug-on-error set to >> t. >> >> produces this error: >> >> Debugger entered--Lisp error: (args-out-of-range "a.txt" 3 2) >> file-name-completion("a" "~/work/temp/" file-exists-p) > > Sorry about that. Should be fixed now. Thanks. Regards, -- Pankaj Jangid