emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: exporting ical files from read-only buffers [7.8.03 (release_7.


From: Stephen Eglen
Subject: [O] Bug: exporting ical files from read-only buffers [7.8.03 (release_7.8.03.112.g8861)]
Date: Thu, 12 Jan 2012 13:08:12 +0000

I've found a small bug with exporting ical files from read-only org
buffers.  Create a simple buffer, e.g.:

* test1
  <2012-01-12 Thu>

and then hit C-x C-q to make the buffer read-only.  Then do C-c C-e i
to export an ical file.  You get an error that the buffer is read-only.

I think this is due to the call to org-refresh-category-properties,
which can't update text proprties.  

My workaround is to do:
(setq inhibit-read-only nil)

so that text properties can be added to read-only buffers.  This could
be done locally within the ical export functions if others thought
sensible, for which I can send a patch if desired.

Stephen





----------------------------------------------------------------------
Emacs  : GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5)
 of 2011-08-14 on allspice, modified by Debian
Package: Org-mode version 7.8.03 (release_7.8.03.112.g8861)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]