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

Bug#809931: marked as done (org-mode: org-odt-data-dir is incorrectly set)



Your message dated Sat, 06 Sep 2025 20:13:34 -0400
with message-id <87cy83rufl.fsf@navis.mail-host-address-is-not-set>
and subject line Re: Bug#809931: org-mode: Correction to report
has caused the Debian Bug report #809931,
regarding org-mode: org-odt-data-dir is incorrectly set
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
809931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809931
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: org-mode
Version: 8.3.2-1
Severity: normal

Exporting as ODT does not work, because org-odt-data-dir is set by default
to /usr/share/emacs/etc/org, while the relevant files are installed in
/usr/share/emacs/site-lisp/org-mode/etc/styles/

Either org-odt-data-dir should be set to the latter directory, or the files
installed in the former.

-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports'), (90, 'xenial-updates'), (90, 'xenial')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-42-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages org-mode depends on:
ii  emacs24         24.4+1-4ubuntu1
ii  emacsen-common  2.0.8

Versions of packages org-mode recommends:
ii  texlive-generic-recommended  2015.20151116-1ubuntu1
ii  texlive-latex-recommended    2015.20151116-1ubuntu1

Versions of packages org-mode suggests:
pn  ditaa                      <none>
ii  texlive-fonts-recommended  2015.20151116-1ubuntu1
ii  texlive-latex-extra        2015.20151225-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: tag -1 unreproducible upstream fixed-upstream

Reuben Thomas <rrt@sc3d.org> writes:

> On Thu, 24 Aug 2023 at 01:40, Nicholas D Steeves <sten@debian.org> wrote:
>
>>
>> Wow, it seems no one saw this bug for quite some time...  I recently did
>> some Debian Emacsen Team uploads for org-mode, and I noticed that the
>> following are not currently installed in the elpa-org package:
>>
>>   etc/csl/locales-en-US.xml
>>   etc/styles/OrgOdtContentTemplate.xml
>>   etc/styles/OrgOdtStyles.xml
>>
>> however, emacs-common installs this:
>>
>>   /usr/share/emacs/28.2/etc/org/OrgOdtStyles.xml
>>
>> Do you know if the copy bundled with Emacs is sufficient,
>
>
> I'm sorry, I don't know; these days I install org-mode manually from ELPA.
> However, it would seem to make sense that elpa-org would get its own copy,
> although at the same time, presumably that file doesn't change that often.
>

I can't reproduce this bug in trixie (nor bookworm, if I remember
correctly), so I'm marking it unreproducible.  Upstream Org-mode states
that they only support the last couple Emacs releases, so I think that
it's likely that an Emacs that is new enough for elpa-org will also have
necessary ODT-support files that are new enough, yes, this might not
always be the case, but a backwards-incompatible ODT change will require
a manual intervention for elpa-org to adapt to this hypothetical case.

Given that these xml files have not changed at all between the Emacs
shipped with bookworm and the current release of Org-mode, I think it's
reasonable to use upstream's fixed default 'org-odt-data-dir'.

I'm happy to see it works by default now!
Best,
Nicholas

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: