all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Pankaj Jangid <pankaj.jangid@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: TAB autocompletion in dired producing error args-out-of-range
Date: Sun, 03 Nov 2019 15:23:01 -0500	[thread overview]
Message-ID: <jwvbltslnhp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m2zhhczpvc.fsf@gmail.com> (Pankaj Jangid's message of "Mon, 04 Nov 2019 01:36:31 +0530")

> 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
> <TAB>. 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.


        Stefan




  reply	other threads:[~2019-11-03 20:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-03 20:06 TAB autocompletion in dired producing error args-out-of-range Pankaj Jangid
2019-11-03 20:23 ` Stefan Monnier [this message]
2019-11-04  3:24   ` Pankaj Jangid
2019-11-04  5:25   ` Pankaj Jangid
2019-11-04 16:08     ` Eli Zaretskii
2019-11-04 17:52       ` Pankaj Jangid

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbltslnhp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=pankaj.jangid@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.