From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.devel Subject: Re: TAB autocompletion in dired producing error args-out-of-range Date: Mon, 04 Nov 2019 10:55:00 +0530 Organization: Code is Great! Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="193679"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 04 06:25:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iRUsF-000oIg-2I for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2019 06:25:55 +0100 Original-Received: from localhost ([::1]:57782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRUsD-0004pK-Tp for ged-emacs-devel@m.gmane.org; Mon, 04 Nov 2019 00:25:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39888) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRUrU-0004n3-Li for emacs-devel@gnu.org; Mon, 04 Nov 2019 00:25:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRUrT-00089B-NZ for emacs-devel@gnu.org; Mon, 04 Nov 2019 00:25:08 -0500 Original-Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:44822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRUrT-00088O-Hb for emacs-devel@gnu.org; Mon, 04 Nov 2019 00:25:07 -0500 Original-Received: by mail-pg1-x529.google.com with SMTP id f19so1399584pgk.11 for ; Sun, 03 Nov 2019 21:25:06 -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=qiAEJw14CpI5kEKWcL18sTdB5zpiBq/hPzBn9nY4pi8=; b=jdjwO2I8zD9iuPq7/5uP7Vq/YLMBTBlOQ4w431BZCvcmp6F3uWEMNnrpkC5My1H8HN 4iHLkc3naWmTelmltVCV1TLmMzo9opzSLuhxSNJk2xGuAPBkdWS6c4rq+6+TMgcZ2zIV 21Fmll3GHXAiMDBX4waPhWzBEtzxWobZYOmNIBRoRYMBqWgyHUxDkwewTmzs6sehqDrT qcwius8R3TaY4D+aBlsfUi8DkDDuMSZ6qfbnhisA/qFKYG2Z3nDPnmd29IM1c+xAvc+f 3rx+GQgMAagiuzUnuLoFYQBAd7GbiUPmM9ubWRWKXmQ8h/3Y6z2wT2Uz13DD8UmenuYS 4vvw== 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=qiAEJw14CpI5kEKWcL18sTdB5zpiBq/hPzBn9nY4pi8=; b=fSUU2yuPpm2ymylOuAZcxM/Bgl9ZG21Ar9kjjfLBjaQAbjc+QeEtHeSPk+hp4BI+RV w7xQDDBnB9j+zciJ7NfEiVk8wPXXVAH/KQqAeydesSZQVstIn6HtEN1ubFzNmy7DK5Xo WNltZ4MvtI8o7vLOgHtqbWWmk2YTciY5KGuqFfwMs+SPtFIWqYXnZVP/iwa02owJ+al2 1qzId72mxNA2ow+mAUoZcFdXSoPvpcEAkOOdGZvEi30DTiS+V5QBVtRwny1fQwfFFRCG g0AxYRn4lqoppx+n0kSO0jilFapG+ENCLSxg3Mj7PL5jcAg2yQvKfjwWykc/SiE+SaS4 SCrA== X-Gm-Message-State: APjAAAUS7NthFUu9jEKr1JxpB+sw8rUVdLtSaVTGY3D5WGI9DkeRVv4H PJSNU2K9y3rbtWQMqEMwapiWvl0= X-Google-Smtp-Source: APXvYqyu9byNePe7QwnOfjQk8r5d4kU4zxhZdSB6y9Bsvm7O01x3iwj8rVqC5Rw+sgLnKGp8k4BI6A== X-Received: by 2002:a63:5966:: with SMTP id j38mr27600328pgm.304.1572845104834; Sun, 03 Nov 2019 21:25:04 -0800 (PST) Original-Received: from Pankajs-MacBook-Pro.local ([49.36.132.100]) by smtp.gmail.com with ESMTPSA id z10sm15731560pfr.139.2019.11.03.21.25.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Nov 2019 21:25:04 -0800 (PST) Original-Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 3CF8A203D717F9; Mon, 4 Nov 2019 10:55:00 +0530 (IST) In-Reply-To: (Stefan Monnier's message of "Sun, 03 Nov 2019 15:23:01 -0500") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::529 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241776 Archived-At: >> I have a file "a.txt". The directory is opened in dired. When I try to >> rename it I press R over it and for autocompletion I press "a" and >> . I get the following error. Is this behaviour expected? > > No, it's clearly not normal. > >> Debugger entered--Lisp error: (args-out-of-range "a.txt" 3 2) >> file-name-completion("a" "~/work/temp/" file-exists-p) > > I suggest you M-x report-emacs-bug so we get a bug number to track it. > Done. Reported this bug. The issues was introduced in commit 84a3793b194efe92e2eb80cd0f625f3324bf4cae. -- Pankaj Jangid