unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: era <era+emacs@iki.fi>
To: 20891@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, Stefan Kangas <stefan@marxist.se>
Subject: bug#20891: emacs: Back off if .doc is not an Office document
Date: Wed, 06 Nov 2019 15:08:14 +0200	[thread overview]
Message-ID: <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> (raw)
In-Reply-To: <87pni54vou.fsf@marxist.se>

On Wed, Nov 6, 2019, at 03:53, Stefan Kangas wrote:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> > era+emacs@iki.fi writes:
> >> It is not uncommon for *.doc files to contain plain ASCII text. In this
> >> case, the default behavior of Emacs is less than ideal
> > I think this makes sense.  A fix in Emacs would mean moving the .doc
> > recognition from `auto-mode-alist' to...  `magic-fallback-mode-alist', I
> > guess.
> I wasn't aware of the practice to name plain text files *.doc; I can't
> remember having encountered any file like that.  Perhaps this practice
> is rare.
> Would implementing this risk make opening *.doc files slower for most
> users?  Perhaps that could make the trade-off not worth it.  Other
> than that, I see no problem with the proposal.

I'd agree that this is probably increasingly rare, but it used to be a practice which wasn't entirely uncommon back when Microsoft was not yet a household brand name and Word wasn't taught in schools.

On the other hand, if the behavior described in the original bug report is still current, that's quirky and unexpected. Really, how many people *expect* Emacs to be able to open a Word document, and are any of them happy when they get a static image to look at in Emacs?

-- 
If this were a real .signature, it would suck less.  Well, maybe not.





  reply	other threads:[~2019-11-06 13:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24 11:19 bug#20891: emacs: Back off if .doc is not an Office document era+emacs
2019-08-01 20:53 ` Lars Ingebrigtsen
2019-11-06  1:53   ` Stefan Kangas
2019-11-06 13:08     ` era [this message]
2019-11-06 23:19       ` Stefan Kangas
2019-11-07  4:45         ` Richard Stallman
2019-11-07  8:29           ` era
2019-11-08 20:59     ` Lars Ingebrigtsen
2019-11-09  6:25       ` Eli Zaretskii
2019-11-09 20:14         ` Lars Ingebrigtsen
2019-11-14  8:54           ` Eli Zaretskii
2019-11-14  9:55             ` Lars Ingebrigtsen
2019-11-14 14:12               ` Eli Zaretskii
2019-11-14 15:06                 ` Robert Pluim
2019-11-14 16:19                   ` Eli Zaretskii
2019-11-14 16:33                     ` Andreas Schwab
2019-11-14 16:42                       ` Eli Zaretskii
2019-11-15  7:51                         ` Lars Ingebrigtsen
2019-11-15  8:48                           ` Eli Zaretskii
2019-11-15  8:56                             ` Lars Ingebrigtsen
2019-11-15  9:51                               ` Eli Zaretskii
2019-11-15 13:20                                 ` Robert Pluim
2019-11-15  9:14                         ` Robert Pluim
2019-11-15  7:50                 ` Lars Ingebrigtsen

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=666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com \
    --to=era+emacs@iki.fi \
    --cc=20891@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=stefan@marxist.se \
    /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).