[Top][All Lists]

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

Re: [Orgmode] org-mode, vc, and read-only files:

From: Carsten Dominik
Subject: Re: [Orgmode] org-mode, vc, and read-only files:
Date: Tue, 10 Oct 2006 21:57:21 +0200

Hi Raman,

I sure could wrap the relevant parts in org-cycle with inhibit-read-only, but so far I cannot reproduce the error. When I am loading a write-protected file, I am getting a "Note: file is write protected." This note is delivered as a message only, and after that everything proceeds normally. In the buffer I seem to be able to use org-cycle freely even though it is write protected. I think this is because outline-mode uses overlays, not text properties. So I am guessing that it is not org-cycle which causes the error.

Can you give me more hints as to what the problem really is? Maybe an example file that hits the error and produces a backtrace?


- Carsten

On Oct 7, 2006, at 21:16, T. V. Raman wrote:

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

Best Regards,

Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC:    irc://irc.freenode.net/#emacs

Emacs-orgmode mailing list

Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

reply via email to

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