unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: 21331-done@debbugs.gnu.org
Cc: Richard Stallman <rms@gnu.org>
Subject: bug#21331: 24.5; LibreOffice documents have less support than Microsoft Office docs (in Gnus?)
Date: Mon, 24 Aug 2015 19:03:27 -0300	[thread overview]
Message-ID: <87wpwk2vkg.fsf@moondust.localdomain> (raw)
In-Reply-To: <osr3ms4mz4.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 24 Aug 2015 13:26:07 -0400")

tags 21331 notabug
stop

At 14:26 -0300 on Monday 2015-08-24, Glenn Morris wrote:

> I guess this is related to mailcap. Examine your /etc/mailcap file and
> the value of Emacs's mailcap-mime-data.

Thanks Glenn, you are quite right.

And it's right there in the manual at (info "(gnus) Using MIME"):

       The following commands are available when you have placed point over
    a MIME button:

    ‘RET (Article)’
    ‘BUTTON-2 (Article)’
         Toggle displaying of the MIME object (‘gnus-article-press-button’).
         If built-in viewers can not display the object, Gnus resorts to
         external viewers in the ‘mailcap’ files.

    ...

I had searched the manual for "attachment" instead of for "MIME" which
was why I missed it.

It turns out that I had the line

    application/msword; /usr/bin/xdg-open %s

in my mailcap file and that was causing the behaviour I observed. I
guess I mis-remembered that other Microsoft Office documents were opened
correctly from Gnus (or perhaps that was on another system).

For completeness, I can report that with the following lines in my
/etc/mailcap

    application/vnd.oasis.opendocument.text; /usr/bin/xdg-open %s
    application/vnd.oasis.opendocument.spreadsheet; /usr/bin/xdg-open %s
    application/vnd.oasis.opendocument.presentation; /usr/bin/xdg-open %s
    application/vnd.oasis.opendocument.database; /usr/bin/xdg-open %s

    application/msword; /usr/bin/xdg-open %s
    application/vnd.ms-excel; /usr/bin/xdg-open %s
    application/vnd.ms-powerpoint; /usr/bin/xdg-open %s
    application/vnd.ms-access; /usr/bin/xdg-open %s

    application/vnd.openxmlformats-officedocument.wordprocessingml.document; /usr/bin/xdg-open %s
    application/vnd.openxmlformats-officedocument.presentationml.presentation; /usr/bin/xdg-open %s
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; /usr/bin/xdg-open %s

all of .odt, .ods, .odp, .odb, .doc, .xls, .ppt, .docx, .xlsx, .pptx
files now open as desired in LibreOffice. (I was unable to test with
.mdb files as I don't have a program on my system that will open them.)

So not a bug.

Sorry for the noise.





  reply	other threads:[~2015-08-24 22:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-23 17:40 bug#21331: 24.5; LibreOffice documents have less support than Microsoft Office docs (in Gnus?) N. Jackson
2015-08-24  0:08 ` Richard Stallman
2015-08-24 17:26 ` Glenn Morris
2015-08-24 22:03   ` N. Jackson [this message]
2015-08-25 22:13   ` Richard Stallman
2015-08-25 23:41     ` N. Jackson
2015-08-26 18:52       ` Richard Stallman
2015-08-26 11:12     ` Michael Welsh Duggan
2015-08-26 16:19       ` Glenn Morris
2015-08-26 16:33         ` Rasmus
2015-08-26 17:34         ` bug#21331: mailcap (was Re: bug#21331: 24.5; LibreOffice documents have less support...) N. Jackson
2015-08-26 20:31           ` N. Jackson
2015-08-27 16:26             ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpwk2vkg.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=21331-done@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).