From mboxrd@z Thu Jan 1 00:00:00 1970 From: "T. V. Raman" Subject: org-mode, vc, and read-only files: Date: Sat, 7 Oct 2006 12:16:00 -0700 Message-ID: <17703.64752.496943.179884@gargle.gargle.HOWL> Reply-To: raman@users.sf.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GWHeM-0002v3-8e for emacs-orgmode@gnu.org; Sat, 07 Oct 2006 15:15:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GWHeK-0002qh-IK for emacs-orgmode@gnu.org; Sat, 07 Oct 2006 15:15:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWHeK-0002qM-EE for emacs-orgmode@gnu.org; Sat, 07 Oct 2006 15:15:52 -0400 Received: from [204.127.200.84] (helo=sccrmhc14.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GWHlU-0002sX-Qm for emacs-orgmode@gnu.org; Sat, 07 Oct 2006 15:23:16 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Would it be possible to make org-cycle work on read-only files --- suspect we just neeed to wrap its body in a (let ((inhibit-read-only t))...) At present, if you put your org files under vc control, with RCS then opening a checked-in file i.e. one that is read-only, causes an error since org-cycle is unable to change properties on read-only content. -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs