From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Schmitt Subject: Re: Re: Adding org files Date: Tue, 10 Nov 2009 15:19:59 +0100 Message-ID: <4AF9768F.8030303@cs.tu-berlin.de> References: <4AF966F2.8030302@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7rZl-0003Fm-8d for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:20:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7rZg-0003FF-3U for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:20:04 -0500 Received: from [199.232.76.173] (port=54049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7rZf-0003FC-UG for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:19:59 -0500 Received: from mail.cs.tu-berlin.de ([130.149.17.13]:51671) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7rZf-0004YT-Gx for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:19:59 -0500 Received: from localhost (localhost [127.0.0.1]) by localhost-12225.cs.tu-berlin.de (Postfix) with ESMTP id CA59833F07 for ; Tue, 10 Nov 2009 15:19:57 +0100 (MET) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: andrea Crotti Cc: emacs-orgmode@gnu.org andrea Crotti wrote: > > I would also like to check that the new org-file created is in a > subdirectory of the org-directories, how could that be easily done? no warranty: (string-match (concat "^" (regexp-quote (expand-file-name org-directory))) (expand-file-name default-directory)) Greetings, Stephan