Eric S Fraga <ericsfr...@gmail.com> writes:

> 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.

I've just pushed a fix for this -- please tell me if it's okay.

Thanks!

-- 
 Bastien

_______________________________________________
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