unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: auto-update of Info dir file?
Date: Tue, 16 May 2006 20:36:52 +0300	[thread overview]
Message-ID: <uves53m8b.fsf@gnu.org> (raw)
In-Reply-To: <87u07qr5iq.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 15 May 2006 23:54:06 -0400)

> Cc: "Drew Adams" <drew.adams@oracle.com>,  emacs-devel@gnu.org
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 15 May 2006 23:54:06 -0400
> 
> It's probably OK if we only do the check when the mtime of the parent dir is
> more recent than the mtime of the dir file (and only under Unix, of course,
> since this presumes POSIXy semantics).

Is it indeed guaranteed that the mtime of the directory is always
_after_ the last file modified in that directory?

Anyway, this sounds too fragile, as someone could touch or otherwise
affect the modtimes of the files and the directory, e.g. by removing
files or compressing them rather than adding.  And then what about
info/ subdirs?

I think we could solve the problem much easier: if the user wants a
manual called "mumble", and there's no such entry in DIR, look for a
_file_ called `mumble' with several possible extensions.  This is what
the stand-alone Info does, so adding this to Emacs will increase
compatibility between the two readers.  Doing this bears no run-time
penalty, and almost the same benefits for the user.

  parent reply	other threads:[~2006-05-16 17:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15 15:28 auto-update of Info dir file? Drew Adams
2006-05-15 15:39 ` Andreas Schwab
2006-05-15 15:53   ` Drew Adams
2006-05-15 16:54     ` Andreas Schwab
2006-05-15 20:31 ` Eli Zaretskii
2006-05-16  3:54   ` Stefan Monnier
2006-05-16  4:17     ` Miles Bader
2006-05-16  6:00       ` David Kastrup
2006-05-16 17:39       ` Eli Zaretskii
2006-05-17  2:24         ` Miles Bader
2006-05-16 17:36     ` Eli Zaretskii [this message]
2006-05-16 17:54       ` Drew Adams
2006-05-16 18:14         ` Eli Zaretskii
2006-05-16 19:33           ` Drew Adams
2006-05-17  3:24             ` Eli Zaretskii
2006-05-16 19:44           ` Richard Stallman
2006-05-16 18:44       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uves53m8b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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 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).