From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: Touching :noexport: regions Date: Fri, 04 May 2012 18:08:16 -0400 Message-ID: <86fwbf1twv.fsf@mercure.progiciels-bpi.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQQfl-0005cr-Lf for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:08:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQQfj-00036a-9S for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:08:21 -0400 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:65367 helo=mercure.progiciels-bpi.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQQfj-000360-4b for emacs-orgmode@gnu.org; Fri, 04 May 2012 18:08:19 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, people. I doubt there is an easy solution, but here I go nevertheless. Many of my Org notes are published to the Web, which have :noexport: headers. It is very convenient that Org allows me to keep all parts together, whether parts are published or not, in a single Org file. There is some machinery on my side involved into publication, which I would rather avoid if not necessary. My little problem is that Org checks the file time stamp, and Emacs does not distinguish, of course, if I modify a part which is within a :noexport: region. The only idea I got (but I did not really torture me into this yet!) is to maintain a kind of a cache of files before edit, and write a specialized file comparator that would re-establish previous time stamps when nothing publishable has been changed. Any clever idea, someone? :-) Fran=C3=A7ois