From: Carsten Dominik <dominik@science.uva.nl>
To: raman@users.sf.net
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-mode, vc, and read-only files:
Date: Tue, 10 Oct 2006 21:57:21 +0200 [thread overview]
Message-ID: <13ed0c9f299bddbf2be16a488db8e590@science.uva.nl> (raw)
In-Reply-To: <17703.64752.496943.179884@gargle.gargle.HOWL>
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?
Thanks.
- 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
> 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
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
next prev parent reply other threads:[~2006-10-10 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-07 19:16 org-mode, vc, and read-only files: T. V. Raman
2006-10-10 19:57 ` Carsten Dominik [this message]
2006-10-11 1:05 ` T. V. Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13ed0c9f299bddbf2be16a488db8e590@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=raman@users.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.