GNU bug report logs - #11755
24.1.50; regression: invalid function - file name completion

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 20 Jun 2012 20:49:01 UTC

Severity: normal

Found in version 24.1.50

Done: "Drew Adams" <drew.adams <at> oracle.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11755 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>
Cc: 11755 <at> debbugs.gnu.org
Subject: RE: bug#11755: 24.1.50;
	regression: invalid function - file name completion
Date: Thu, 21 Jun 2012 09:45:54 -0700
> > (try-completion "c:/foo" 'read-file-name-internal "c:/foobar/")
> > (file-name-completion "foo" "c:/" "c:/foobar/") ; signals an error
>  
> Because the third argument to those functions should be a 
> PREDicate, not a string.  Emacs-23 and Emacs-24.1 still
> accepted the old hack of passing the PWD in this predicate
> argument, but not 24.2. Please fix Icicles accordingly.

Ah yes.  I had changed the arg everywhere else, to:
(if (< emacs-major-version 23)
    default-directory
  minibuffer-completion-predicate)

Missed that occurrence.  Thx.





This bug report was last modified 13 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.