From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#21331: 24.5; LibreOffice documents have less support than Microsoft Office docs (in Gnus?) Date: Tue, 25 Aug 2015 20:41:34 -0300 Message-ID: <87wpwj9brl.fsf@moondust.localdomain> References: <87k2slhpj0.fsf@moondust.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440546151 11028 80.91.229.3 (25 Aug 2015 23:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2015 23:42:31 +0000 (UTC) Cc: 21331@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 01:42:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZUNr1-0001bp-V4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Aug 2015 01:42:12 +0200 Original-Received: from localhost ([::1]:35319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUNr1-0001Xk-BP for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2015 19:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUNqx-0001XX-EH for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 19:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUNqt-0007LS-DR for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 19:42:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUNqt-0007LO-Ap for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 19:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZUNqs-0000ft-9T; Tue, 25 Aug 2015 19:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 25 Aug 2015 23:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21331 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: notabug Original-Received: via spool by 21331-submit@debbugs.gnu.org id=B21331.14405461012567 (code B ref 21331); Tue, 25 Aug 2015 23:42:02 +0000 Original-Received: (at 21331) by debbugs.gnu.org; 25 Aug 2015 23:41:41 +0000 Original-Received: from localhost ([127.0.0.1]:38417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUNqW-0000fJ-Ii for submit@debbugs.gnu.org; Tue, 25 Aug 2015 19:41:40 -0400 Original-Received: from mail-io0-f178.google.com ([209.85.223.178]:36257) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUNqT-0000fA-FM for 21331@debbugs.gnu.org; Tue, 25 Aug 2015 19:41:38 -0400 Original-Received: by iodv127 with SMTP id v127so206530821iod.3 for <21331@debbugs.gnu.org>; Tue, 25 Aug 2015 16:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=NbZnSqfaWA4VqwTuiiQ/O/gX3ZKdnGPvDBDSmyD084g=; b=MAoKyk/Kjo73CX3oUe8hI2Pna7s1nDRnj5dn+FQg0j6tn3S1lcnwVxVpk40fBtbben lV/9rU+1uXgLwNZHidx93RnO7Z6Y3v87aXKLO73Rj5Jwb03GqFQ1wXfEa6xKrHXtt6hX Ev/ouMERdU9MdeXix2Yd4+//Ng+iu74NVcrcPUDfAxhThpTEHP4gMfRkaz4T44wQpr8D eSglqZ6M0UlWmMb3jauzSTPUA0Peqfi6EboOSQW044jUiArIUybLoG5ChEYF7Kc28uKs qc3BoFXRBZJMulHonlDKgfm7NvY10mMjnjsy3IUjzOlAaaux0bnMTOsYPFmi+9k3bGbc jVYA== X-Received: by 10.107.150.196 with SMTP id y187mr6467068iod.91.1440546096640; Tue, 25 Aug 2015 16:41:36 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none (blk-30-139-235.eastlink.ca. [96.30.139.235]) by smtp.gmail.com with ESMTPSA id i125sm943788ioi.36.2015.08.25.16.41.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 16:41:36 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Tue, 25 Aug 2015 18:13:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105819 Archived-At: At 19:13 -0300 on Tuesday 2015-08-25, Richard Stallman wrote: > Where does mailcap come from? Mailcap is Network Working Group RFC 1524 [1]. "A mailcap file can be used to find the correct program to open a file with, based on MIME information. While the name is "mailcap" and is related to MIME (mail filetypes) it actually has use outside the domain of electronic mail" [2]. My mailcap file came with my OS distribution (Fedora 21 GNU/Linux) and I would guess their distribution is where most users' mailcap files come from. I suspect (but am not certain), that I, rather than Red Hat, am guilty of adding the line to it that allowed Gnus to open Microsoft Word file attachments, inadvertently kicking off this bug report. Otherwise Gnus would have failed to open all office suite file attachments equally. > How can we get this fixed in everyone's mailcap file? I don't see how that could be possible for Emacs. Presumably each user must edit their own mailcap files to add support for the MIME types they choose. The only support that Emacs could provide for this IIUC would be to provide more explicit and more easily-found documentation. An alternative solution, at least for users using desktop environments such as Gnome, KDE, and Xfce, would be for Emacs to make use of freedesktop.org facilities such as xdg-utils. I envisage users being able to launch from within Emacs (from dired, say), not only LibreOffice to open it's associated files, but to launch the correct program to open any file on their system (provided their desktop environment knows how to open the file) -- when Emacs is unable to open it internally. [But perhaps this functionality already exists and I just haven't discovered it yet?] [1] Network Working Group, RFC 1524: A User Agent Configuration Mechanism For Multimedia Mail Format Information. https://tools.ietf.org/html/rfc1524 [2] Wikipedia, Mailcap. https://en.wikipedia.org/wiki/Mailcap