GNU bug report logs - #57325
27.1; functions in ff-other-file-alist

Previous Next

Package: emacs;

Reported by: Felician Nemeth <felician.nemeth <at> gmail.com>

Date: Sun, 21 Aug 2022 18:35:01 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #43 received at 57325-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Felician Nemeth <felician.nemeth <at> gmail.com>
Cc: 57325-done <at> debbugs.gnu.org
Subject: Re: bug#57325: 27.1; functions in ff-other-file-alist
Date: Tue, 30 Aug 2022 19:10:19 +0300
> From: Felician Nemeth <felician.nemeth <at> gmail.com>
> Cc: 57325 <at> debbugs.gnu.org
> Date: Tue, 30 Aug 2022 15:48:44 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > But then I think we should replace this code in ff-get-file-name:
> >
> >               (setq file (concat dir "/" filename))
> > with
> >               (setq file (expand-file-name filename dir))
> >
> > and then the code will work with absolute file names as well, even if
> > the file is not already visited in a buffer.  Right?
> 
> Yes, I think that's right.

Done.

> The latest documentation still has this:
> 
>    Note: if an element of the alist names a FUNCTION as its cdr, that
>    function must return a non-nil list of file-name extensions.  It
>    cannot return nil, nor can it signal in any way a failure to find a
>    suitable list of extensions.
> 
> The end of the first sentence should be "file-names."  Then I think this
> bug report can be closed.

Fixed, and closing.

Thanks a lot for your help.




This bug report was last modified 2 years and 326 days ago.

Previous Next


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