From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: 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 Message-ID: Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlKOK-0005Ti-2e for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:08:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlKOI-0005J2-RX for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:08:28 -0500 Received: from ppsw-52.csi.cam.ac.uk ([131.111.8.152]:55809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlKOI-0005Ix-Jh for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:08:26 -0500 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 Cc: Stephen Eglen 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)