Hello,

For standalone org files that are not part of any larger project, I
often use RCS as my revision control system.  RCS will make a file
read-only when you /check in/ changes, waiting for the user to
/check out/ the file explicitly for further changes.  I like the way
this works.

Org, however, doesn't! ;-)

If I have a read-only file, I can export the whole file (say to HTML)
and it works.  If, however, I select a region and try to export that,
org fails with the error message:

: org-export-get-title-from-subtree: Buffer is read-only: #<buffer test.org>

This appears to be because of this function adding text properties (a
specific one which I don't understand completely) to the text:

: (org-unmodified
:  (add-text-properties (point) (1+ (point-at-eol))
:                     (list :org-license-to-kill t)))

(in org-exp.el).  It would be nice if export would work with read-only
files but I have no idea where to start in trying to fix this.

Obviously, this bug (feature?) is *not* a show-stopper!

Thanks,
eric
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to