GNU bug report logs - #73719
[PATCH] Add imenu support for OpenOffice documents in doc-view

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Wed, 9 Oct 2024 14:12:02 UTC

Severity: normal

Tags: patch

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73719 in the body.
You can then email your comments to 73719 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to tsdh <at> gnu.org, bug-gnu-emacs <at> gnu.org:
bug#73719; Package emacs. (Wed, 09 Oct 2024 14:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Visuwesh <visuweshm <at> gmail.com>:
New bug report received and forwarded. Copy sent to tsdh <at> gnu.org, bug-gnu-emacs <at> gnu.org. (Wed, 09 Oct 2024 14:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add imenu support for OpenOffice documents in doc-view
Date: Wed, 09 Oct 2024 19:40:39 +0530
[Message part 1 (text/plain, inline)]
Tags: patch

Hi again, Tassilo!

The attached patch adds imenu index support for docx files.  This is
done by simply passing the PDF file to doc-view--pdf-outline.  This
should be the last patch I have in store for doc-view. Many thanks for
your attention thus far.


In GNU Emacs 31.0.50 (build 13, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.0, Xaw scroll bars) of 2024-10-06 built on astatine
Repository revision: 500f5da5fb62cd0bbded8df754d93e3147d1d847
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d
 --without-gconf --without-libsystemd --with-cairo CFLAGS=-g3'
[0001-Add-imenu-support-for-OpenOffice-documents-in-doc-vi.patch (text/patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73719; Package emacs. (Thu, 10 Oct 2024 06:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 73719 <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 73719 <at> debbugs.gnu.org
Subject: Re: bug#73719: [PATCH] Add imenu support for OpenOffice documents
 in doc-view
Date: Thu, 10 Oct 2024 08:53:54 +0200
Visuwesh <visuweshm <at> gmail.com> writes:

Hi Visuwesh,

> The attached patch adds imenu index support for docx files.

docx is M$ Office, isn't it?  But as far as reading your patch tells me,
we do that for all ODF files which are indeed Libre/OpenOffice and
friends.  And, yes, M$ Office files are also handled by the ODF
transformation chain.

Anyway, I think it would be appropriate to speak of "Open Document
Format files as used by LibreOffice and OpenOffice" in the commit
message, NEWS, and the docs simply because the format is used by more
office suits and OpenOffice is mostly dead nowadays, superseded by
LibreOffice.

Otherwise, the patch is fine. :-)

> This should be the last patch I have in store for doc-view. Many
> thanks for your attention thus far.

We thank you, too!  Those were all very nice features. :-)

Bye,
  Tassilo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73719; Package emacs. (Thu, 10 Oct 2024 08:45:02 GMT) Full text and rfc822 format available.

Message #11 received at 73719 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 73719 <at> debbugs.gnu.org
Subject: Re: bug#73719: [PATCH] Add imenu support for OpenOffice documents
 in doc-view
Date: Thu, 10 Oct 2024 14:12:46 +0530
[Message part 1 (text/plain, inline)]
[வியாழன் அக்டோபர் 10, 2024] Tassilo Horn wrote:

> Visuwesh <visuweshm <at> gmail.com> writes:
>
> Hi Visuwesh,
>
>> The attached patch adds imenu index support for docx files.
>
> docx is M$ Office, isn't it?  But as far as reading your patch tells me,
> we do that for all ODF files which are indeed Libre/OpenOffice and
> friends.  And, yes, M$ Office files are also handled by the ODF
> transformation chain.

Yes, in the end, they are all marked as odf.  I tested it with a docx
file so I wrote it as it was still in my mind.

> Anyway, I think it would be appropriate to speak of "Open Document
> Format files as used by LibreOffice and OpenOffice" in the commit
> message, NEWS, and the docs simply because the format is used by more
> office suits and OpenOffice is mostly dead nowadays, superseded by
> LibreOffice.
>
> Otherwise, the patch is fine. :-)

Now done in the attached.

[0001-Add-imenu-support-for-ODF-files-in-doc-view.patch (text/x-diff, attachment)]

Reply sent to Tassilo Horn <tsdh <at> gnu.org>:
You have taken responsibility. (Thu, 10 Oct 2024 10:39:02 GMT) Full text and rfc822 format available.

Notification sent to Visuwesh <visuweshm <at> gmail.com>:
bug acknowledged by developer. (Thu, 10 Oct 2024 10:39:02 GMT) Full text and rfc822 format available.

Message #16 received at 73719-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 73719-done <at> debbugs.gnu.org
Subject: Re: bug#73719: [PATCH] Add imenu support for OpenOffice documents
 in doc-view
Date: Thu, 10 Oct 2024 12:37:57 +0200
Visuwesh <visuweshm <at> gmail.com> writes:

> Yes, in the end, they are all marked as odf.  I tested it with a docx
> file so I wrote it as it was still in my mind.

Understandable.

>> Anyway, I think it would be appropriate to speak of "Open Document
>> Format files as used by LibreOffice and OpenOffice" in the commit
>> message, NEWS, and the docs simply because the format is used by more
>> office suits and OpenOffice is mostly dead nowadays, superseded by
>> LibreOffice.
>>
>> Otherwise, the patch is fine. :-)
>
> Now done in the attached.

Thanks!  Tested and pushed.

Bye,
  Tassilo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#73719; Package emacs. (Thu, 10 Oct 2024 11:15:01 GMT) Full text and rfc822 format available.

Message #19 received at 73719-done <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 73719-done <at> debbugs.gnu.org
Subject: Re: bug#73719: [PATCH] Add imenu support for OpenOffice documents
 in doc-view
Date: Thu, 10 Oct 2024 16:43:03 +0530
[வியாழன் அக்டோபர் 10, 2024] Tassilo Horn wrote:

Great, thank you!

> Visuwesh <visuweshm <at> gmail.com> writes:
>
>> Yes, in the end, they are all marked as odf.  I tested it with a docx
>> file so I wrote it as it was still in my mind.
>
> Understandable.
>
>>> Anyway, I think it would be appropriate to speak of "Open Document
>>> Format files as used by LibreOffice and OpenOffice" in the commit
>>> message, NEWS, and the docs simply because the format is used by more
>>> office suits and OpenOffice is mostly dead nowadays, superseded by
>>> LibreOffice.
>>>
>>> Otherwise, the patch is fine. :-)
>>
>> Now done in the attached.
>
> Thanks!  Tested and pushed.
>
> Bye,
>   Tassilo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 Nov 2024 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.