all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
Cc: Chris Moore <dooglus@gmail.com>,
	ihs_4664@yahoo.com, emacs-devel@gnu.org, rms@gnu.org,
	emacs-pretest-bug@gnu.org
Subject: Re: Directory name completion blocks when it shouldn't
Date: Wed, 20 Dec 2006 11:28:24 +0100	[thread overview]
Message-ID: <m2hcvq50af.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <871wmvumaf.fsf@gmx.de> (Michael Albinus's message of "Wed\, 20 Dec 2006 07\:14\:00 +0100")

Michael Albinus <michael.albinus@gmx.de> wrote:

> Chris Moore <dooglus@gmail.com> writes:
>
>> I think you've introduced a new bug - 
>>
>>   lisp/net/ange-ftp.el.gz line 3980:
>>     (defun ange-ftp-file-name-completion (file dir)
>>   is being called like:
>>     (ange-ftp-file-name-completion "" "/a:/" 'file-exists-p)
>>
>> and
>>
>>   lisp/net/tramp.el.gz line 2859:
>>     (defun tramp-handle-file-name-completion (filename directory)
>>   is being called like:
>>     (tramp-handle-file-name-completion "" "/a:/" 'file-exists-p)
>>
>> in both cases the functions expect 2 arguments, and they're being
>> passed 3.
>
> Shall be fixed now in both ange-ftp.el and tramp.el.

Seems to be still buggy:

  C-x C-f /et TAB

results in:

Debugger entered--Lisp error: (wrong-type-argument stringp ("etc/"))
  file-exists-p(("etc/"))
  try-completion("et" (("etc/")) file-exists-p)
  tramp-completion-handle-file-name-completion("et" "/" file-exists-p)
  apply(tramp-completion-handle-file-name-completion ("et" "/" file-exists-p))
  tramp-completion-file-name-handler(file-name-completion "et" "/" file-exists-p)
  read-file-name-internal("~/.worklog//et" "~/.worklog/" nil)
  minibuffer-complete()
  call-interactively(minibuffer-complete)
  read-file-name("Find file: " nil "/home/wilde/.worklog/" nil)
  find-file-read-args("Find file: " nil)
  call-interactively(find-file)

cheers
sascha
-- 
Sascha Wilde : "Ist es nicht schon schlimm genug, dass ICH hier rumtrolle?"
             : (Henning Leise in d.o.c.)

  reply	other threads:[~2006-12-20 10:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <871wng3yyw.fsf@leeloo.anubex.internal>
     [not found] ` <m3wt57vkvv.fsf@kfs-l.imdomain.dk>
     [not found]   ` <el1l03$j4p$1@sea.gmane.org>
     [not found]     ` <E1GrSYo-0004AE-I3@fencepost.gnu.org>
     [not found]       ` <m2vekme8vg.fsf@chrislap.local>
2006-12-17  5:37         ` Directory name completion blocks when it shouldn't Richard Stallman
2006-12-18  1:12           ` Richard Stallman
2006-12-19 20:16             ` Chris Moore
2006-12-20  6:14               ` Michael Albinus
2006-12-20 10:28                 ` Sascha Wilde [this message]
2006-12-20 13:24                   ` Michael Albinus
2006-12-20 14:08                     ` Sascha Wilde

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=m2hcvq50af.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=dooglus@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=ihs_4664@yahoo.com \
    --cc=rms@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 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.