emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] new exporter fails on read only files
@ 2012-04-26 12:36 Eric Fraga
  2012-04-26 12:59 ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Fraga @ 2012-04-26 12:36 UTC (permalink / raw)
  To: emacs-orgmode

Hello all,

From one of the recent threads (on producing latex files for ACM
publications), I was finally motivated to try the new export engine.  I
have run into a small problem: org-export-dispatch fails if the file is
read only.  I often have read only files as I use RCS as my version
control system for one-off standalone files (as opposed to git or
mercurial for larger projects).

Specifically, I have added

   (require 'org-export)
   (require 'org-e-latex)

to my org customisation.  Then, while visiting a read only file, I try

   M-x org-export-dispatch RET p

and I get the error:

,----
| org-refresh-category-properties: Buffer is read-only: #<buffer proposal.org>
`----

This doesn't happen if I use the old exporter (C-c C-e p).  Also, the
error does not appear if I try the new export engine on a writable
file.  Toggling debug-on-error doesn't actually put me in the debugger
when the error occurs, by the way.

I *think* am running an up to date org (from an hour or so ago) but the
org-version information (auto-generated for my signature) seems
confused...  but maybe that's a problem for another day?

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org-mode version 7.8.06 (release_7.8.09.392.ge0222)

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

end of thread, other threads:[~2012-05-06 23:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 12:36 [bug] new exporter fails on read only files Eric Fraga
2012-04-26 12:59 ` Bastien
2012-04-27 13:22   ` Eric Fraga
2012-04-27 14:50     ` Bastien
2012-04-27 20:39     ` Nicolas Goaziou
2012-05-03  9:37       ` Eric Fraga
2012-05-03 12:34         ` Nicolas Goaziou
2012-05-06 13:55           ` Eric Fraga
2012-05-06 18:13             ` Nicolas Goaziou
2012-05-06 23:48               ` Eric S Fraga

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).