unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: rogers-emacs@rgrjr.dyndns.org, emacs-devel@gnu.org
Subject: Re: vc-revert broken for Subversion files
Date: Tue, 24 Jul 2007 12:45:39 -0400	[thread overview]
Message-ID: <E1IDNVz-0002oD-Id@fencepost.gnu.org> (raw)
In-Reply-To: <87k5sq51lc.fsf@ambire.localdomain> (message from Thien-Thi Nguyen on Mon, 23 Jul 2007 22:03:59 +0200)

       * vc-hooks.el: Generalize stay-local-p to operate on lists of
       files.  Change two keybindings to point to new function names.
       * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-hg.el, vc-mcvs.el, vc-rcs.el,
       vc-sccs.el, vc-svn.el: These now implement the NewVC-fileset.
       * vc.el: Adapted for NewVC-fileset, but no functional changes yet.

    yes.

    unfortunately, even w/ this ChangeLog entry, i am unable to determine the
    intent (sense) of the "generalization".  my doubt is as follows:

I have asked him to put in a clear and detailed change log entry.

    when applied to many files, i can imagine two equally valid policies:
    (a) if any file of the list is stay-local-p, enable optimizations.
    (b) if all files of the list are stay-local-p, enable optimizations.

    as is (just checked in), the code supports (a) but not (b).  could
    maintainers of client code give this some thought, and confirm or revise
    the code accordingly?  it comes down to "any" vs "all" semantics, of
    which i'm slightly paranoid, having been bitten in a previous life...

    the more i think about it, the more (b) would make sense (AND gate),
    since optimizations may not be possible if any one file in the list is
    NOT stay-local-p.  this boolean stuff is (simply ;-) weird...

Could you write to him and Stefan to discuss the question?

  parent reply	other threads:[~2007-07-24 16:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-22 15:21 vc-revert broken for Subversion files Bob Rogers
2007-07-22 18:22 ` timotheus
2007-07-22 21:08   ` Bob Rogers
2007-07-22 18:59 ` Dan Nicolaescu
2007-07-22 21:50   ` Thien-Thi Nguyen
2007-07-23 18:06     ` Richard Stallman
     [not found]       ` <87k5sq51lc.fsf@ambire.localdomain>
2007-07-24 16:45         ` Richard Stallman [this message]
2007-07-25 19:49           ` Stefan Monnier
2007-07-25 22:16             ` Thien-Thi Nguyen

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=E1IDNVz-0002oD-Id@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rogers-emacs@rgrjr.dyndns.org \
    --cc=ttn@gnuvola.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).