emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Does org-agenda modify org file?
@ 2008-04-02  7:21 William Xu
  2008-04-02 17:13 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: William Xu @ 2008-04-02  7:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi folks, 

I just started to learn Org.  I find that org-agenda will complain
"buffer is read only" if the org file buffer is read only, like in
view-mode or my personal less-minor-mode[1].  Does org-agenda try to modify
the org files? If not, maybe `let' around with (inhibit-read-only t) is
good.  


[1], http://williamxu.net9.org/ref/less.el

-- 
William

http://williamxu.net9.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does org-agenda modify org file?
  2008-04-02  7:21 Does org-agenda modify org file? William Xu
@ 2008-04-02 17:13 ` Carsten Dominik
  2008-04-02 23:58   ` William Xu
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2008-04-02 17:13 UTC (permalink / raw)
  To: William Xu; +Cc: emacs-orgmode

It does not for me, se we need more info like version numbers of Emacs  
and Org,
a backtrace would be nice, etc.

- Carsten
On Apr 2, 2008, at 9:21 AM, William Xu wrote:

> Hi folks,
>
> I just started to learn Org.  I find that org-agenda will complain
> "buffer is read only" if the org file buffer is read only, like in
> view-mode or my personal less-minor-mode[1].  Does org-agenda try to  
> modify
> the org files? If not, maybe `let' around with (inhibit-read-only t)  
> is
> good.
>
>
> [1], http://williamxu.net9.org/ref/less.el
>
> -- 
> William
>
> http://williamxu.net9.org
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does org-agenda modify org file?
  2008-04-02 17:13 ` Carsten Dominik
@ 2008-04-02 23:58   ` William Xu
  2008-04-05  5:20     ` DigitalPig
  0 siblings, 1 reply; 5+ messages in thread
From: William Xu @ 2008-04-02 23:58 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> It does not for me, se we need more info like version numbers of Emacs
> and Org,
> a backtrace would be nice, etc.

I don't get a backtrace, only: 

,----[ *Message* ]
| Debug on Error enabled globally
| Press key for agenda command, or [1] or [0] to restrict
| org-prepare-agenda-buffers: Buffer is read-only: #<buffer .todo>
`----

,----[ C-h v org-version RET ]
| org-version is a variable defined in `org.el'.
| Its value is "4.67c"
| 
| 
| Documentation:
| The version number of the file org.el.
| 
| [back]
`----

,----[ C-h v emacs-version RET ]
| emacs-version is a variable defined in `version.el'.
| Its value is "22.2.50.1"
| 
| 
| Documentation:
| Version numbers of this version of Emacs.
| 
| [back]
`----

-- 
William

http://williamxu.net9.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does org-agenda modify org file?
  2008-04-02 23:58   ` William Xu
@ 2008-04-05  5:20     ` DigitalPig
  2008-04-05 11:08       ` William Xu
  0 siblings, 1 reply; 5+ messages in thread
From: DigitalPig @ 2008-04-05  5:20 UTC (permalink / raw)
  To: emacs-orgmode

William Xu <william.xwl@gmail.com> writes:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> It does not for me, se we need more info like version numbers of Emacs
>> and Org,
>> a backtrace would be nice, etc.
>
> I don't get a backtrace, only: 
>
> ,----[ *Message* ]
> | Debug on Error enabled globally
> | Press key for agenda command, or [1] or [0] to restrict
> | org-prepare-agenda-buffers: Buffer is read-only: #<buffer .todo>
> `----
>
> ,----[ C-h v org-version RET ]
> | org-version is a variable defined in `org.el'.
> | Its value is "4.67c"
> | 
> | 
> | Documentation:
> | The version number of the file org.el.
> | 
> | [back]
> `----
I think you'd better update your Org-Mode. Mine is 5.23c.
Based on my observation, I don't think it is trying to modify you org
file when you start it. I am suspicious about your org-files themselves. 
>
> ,----[ C-h v emacs-version RET ]
> | emacs-version is a variable defined in `version.el'.
> | Its value is "22.2.50.1"
> | 
> | 
> | Documentation:
> | Version numbers of this version of Emacs.
> | 
> | [back]
> `----

-- 
DigitalPig
E-mail: digitalpiglee AT gmail DOT com
ALL WE SEEN IS ILLUSION.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Does org-agenda modify org file?
  2008-04-05  5:20     ` DigitalPig
@ 2008-04-05 11:08       ` William Xu
  0 siblings, 0 replies; 5+ messages in thread
From: William Xu @ 2008-04-05 11:08 UTC (permalink / raw)
  To: emacs-orgmode

DigitalPig <see-signature@bottom.com> writes:

> I think you'd better update your Org-Mode. Mine is 5.23c.
> Based on my observation, I don't think it is trying to modify you org
> file when you start it. I am suspicious about your org-files
> themselves. 

Thanks.  It's been resolved in private mails.  I've upgraded my Org, and
now there's no problem.

ps.  I'm sorry I forgot to CC the discussions to the list.  

-- 
William

http://williamxu.net9.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-05 11:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-02  7:21 Does org-agenda modify org file? William Xu
2008-04-02 17:13 ` Carsten Dominik
2008-04-02 23:58   ` William Xu
2008-04-05  5:20     ` DigitalPig
2008-04-05 11:08       ` William Xu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).