emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] ox-odt.el: (org-odt-template): Get write permissions on styles.x


From: Nicolò Balzarotti
Subject: [PATCH] ox-odt.el: (org-odt-template): Get write permissions on styles.xml
Date: Fri, 20 Dec 2019 12:10:49 +0100

Hello Org!

I attached a patch that is required to get ox-odt to work on
guix/nix/other distributions where package files are placed in a
read-only directory.  After the file styles.xml is copied to /tmp, now
we set read-write permissions to it before trying to write it.  Before
this patch, we got the error:

  'OpenDocument export failed: Buffer is read-only: #<killed buffer>'.

It's my first patch and is just 1 line long, so following instructions
on https://orgmode.org/worg/org-contribute.html#commit-messages I added
the TINYCHANGE cookie.  Tests (make test) are passing.

Thanks!
Nicolò

Attachment: 0001-ox-odt.el-org-odt-template-Get-write-permissions-on-.patch
Description: Text Data


reply via email to

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