emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master daea9b3 1/2: Read mailcaps again only when necessary


From: Eli Zaretskii
Subject: Re: master daea9b3 1/2: Read mailcaps again only when necessary
Date: Mon, 01 Nov 2021 20:31:49 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>,  gregory@heytings.org,  emacs-devel@gnu.org
> Date: Mon, 01 Nov 2021 14:20:41 -0400
> 
> Lars Ingebrigtsen [2021-11-01 18:29:12] wrote:
> > Eli Zaretskii <eliz@gnu.org> writes:
> >> What if we have the same file name in several different directories --
> >> how will you record the files so they all get different hash slots?
> > Oh, you mean relative file names?  I think it's up to the caller to
> > decide.  If they don't want that, then give an absolute file name, and
> > if they do want that, then don't.
> 
> To avoid disappointment, it makes sense to pass the filename through
> `expand-file-name` or to signal an error if the file name is not
> absolute.

Why signal an error when the function can make the file name absolute
so easily?  It makes no sense.  No other API that accepts file names
does that, AFAIK.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]