From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Checking vc-state recursively under a directory Date: Wed, 23 Jul 2008 15:03:50 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1216818367 3286 80.91.229.12 (23 Jul 2008 13:06:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2008 13:06:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Nordl=C3=B6w?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 23 15:06:55 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLe33-0006UR-4x for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2008 15:06:29 +0200 Original-Received: from localhost ([127.0.0.1]:42080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLe29-0002Dj-MZ for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jul 2008 09:05:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLe11-0001Vi-EK for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 09:04:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLe0y-0001TL-VV for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 09:04:22 -0400 Original-Received: from [199.232.76.173] (port=38939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLe0y-0001T3-OS for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 09:04:20 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:57326) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLe0y-0002ZL-7f for help-gnu-emacs@gnu.org; Wed, 23 Jul 2008 09:04:20 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 9CD8AE6DD59A; Wed, 23 Jul 2008 15:04:18 +0200 (CEST) Original-Received: from [136.199.55.225] (helo=aragorn.uni-trier.de) by smtp06.web.de with asmtp (WEB.DE 4.109 #226) id 1KLe0w-0005dE-00; Wed, 23 Jul 2008 15:04:18 +0200 In-Reply-To: (=?utf-8?Q?=22Nordl=C3=B6w=22's?= message of "Wed\, 23 Jul 2008 03\:16\:15 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX180pxRpXyeQbO/bPHpDVgEgcVxepC6GXlHsdO6I hampj51eBO9o0rBJ3iIZO3ZLmKGh4tJLd4/hORbNbBrE8XzVBh ceMwTADhUvkyCz7rXrXg== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55855 Archived-At: Nordl=C3=B6w wrote: > Is it somehow possible to check whether all the files under a version- > controlled directory are all up-to-date (updated)? That is like vc- > state() but recursively for a directory? What do you mean? up-to-date or updated? up-to-date means (not (vc-workfile-unchanged-p "file")), while updated means something like (file-newer-than-file-p "file.elc" "file.el") > My reason for asking is that I am writing some emacs lisp snippets > that auto-update-and-rebuild() my Emacs add-ons directly from within > their vc-repositories. Maybe `byte-recompile-directory' could be of help. regards, Nikolaj Schumacher