emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Touching :noexport: regions
Date: Fri, 04 May 2012 18:08:16 -0400	[thread overview]
Message-ID: <86fwbf1twv.fsf@mercure.progiciels-bpi.ca> (raw)

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çois

             reply	other threads:[~2012-05-04 22:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-04 22:08 François Pinard [this message]
2012-05-05  6:29 ` Touching :noexport: regions Bastien
2012-05-05 16:04   ` François Pinard
2012-05-06  1:44     ` François Pinard
2012-05-08 12:35     ` Bastien

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.orgmode.org/

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

  git send-email \
    --in-reply-to=86fwbf1twv.fsf@mercure.progiciels-bpi.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@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/org-mode.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).