unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* don't-know values for file-attributes?
@ 2003-01-27 20:29 Kai Großjohann
  2003-01-29  0:03 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2003-01-27 20:29 UTC (permalink / raw)


When a filename handler doesn't know the ctime, mtime, or atime of a
file, what should file-attributes return?  Ange-FTP seems to say that
(0 0) is the way to express this.  But WIBNI it was said explicitly
in the documentation?

A similar problem arises for the other return values for
file-attributes, and also for other file operations.
-- 
Ambibibentists unite!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: don't-know values for file-attributes?
  2003-01-27 20:29 don't-know values for file-attributes? Kai Großjohann
@ 2003-01-29  0:03 ` Richard Stallman
  2003-01-29 10:52   ` Kim F. Storm
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2003-01-29  0:03 UTC (permalink / raw)
  Cc: emacs-devel

    When a filename handler doesn't know the ctime, mtime, or atime of a
    file, what should file-attributes return?  Ange-FTP seems to say that
    (0 0) is the way to express this.

The clean thing to do would be to use nil for that case.  That may be
an incompatible change that would require checking the callers and
changing them, but I think the number of programs that would break is
fairly small, so the change would be worth making if someone wants to
do the work.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: don't-know values for file-attributes?
  2003-01-29  0:03 ` Richard Stallman
@ 2003-01-29 10:52   ` Kim F. Storm
  0 siblings, 0 replies; 3+ messages in thread
From: Kim F. Storm @ 2003-01-29 10:52 UTC (permalink / raw)
  Cc: Kai Großjohann

Richard Stallman <rms@gnu.org> writes:

>     When a filename handler doesn't know the ctime, mtime, or atime of a
>     file, what should file-attributes return?  Ange-FTP seems to say that
>     (0 0) is the way to express this.
> 
> The clean thing to do would be to use nil for that case.  That may be
> an incompatible change that would require checking the callers and
> changing them, but I think the number of programs that would break is
> fairly small, so the change would be worth making if someone wants to
> do the work.

I'll fix ido.el if someone makes this change.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-29 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 20:29 don't-know values for file-attributes? Kai Großjohann
2003-01-29  0:03 ` Richard Stallman
2003-01-29 10:52   ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).