GNU bug report logs - #20891
emacs: Back off if .doc is not an Office document

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: era+emacs@HIDDEN; dated Wed, 24 Jun 2015 11:20:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 24 Jun 2015 11:19:21 +0000
From debbugs-submit-bounces <at> Wed Jun 24 07:19:21 2015
Received: from localhost ([]:55872
	by with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1Z7ii8-0003ix-SM
	for submit <at>; Wed, 24 Jun 2015 07:19:21 -0400
Received: from ([]:53612)
 by with esmtp (Exim 4.80)
 (envelope-from <era+emacs@HIDDEN>) id 1Z7ii6-0003io-LC
 for submit <at>; Wed, 24 Jun 2015 07:19:19 -0400
Received: from compute3.internal (compute3.nyi.internal [])
 by mailout.nyi.internal (Postfix) with ESMTP id 6E74C20BC9
 for <submit <at>>; Wed, 24 Jun 2015 07:19:18 -0400 (EDT)
Received: from web5 ([])
 by compute3.internal (MEProxy); Wed, 24 Jun 2015 07:19:18 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=; h=content-transfer-encoding:content-type
 :x-sasl-enc; s=smtpout; bh=c10xyTXr2OZGp5TENvyZdqlnaEE=; b=qBaeQ
Received: by web5.nyi.internal (Postfix, from userid 99)
 id 45A61A74806; Wed, 24 Jun 2015 07:19:18 -0400 (EDT)
Message-Id: <1435144758.2326415.306422097.2EE346E7@HIDDEN>
X-Sasl-Enc: d2jYmxI8//gGw4fIe74J0EukwSW7tAMkr7GQMxCQ8riX 1435144758
From: era+emacs@HIDDEN
To: submit <at>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: Webmail Interface - ajax-eecef38c
Subject: emacs: Back off if .doc is not an Office document
Date: Wed, 24 Jun 2015 14:19:18 +0300
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -0.0 (/)

Package: emacs
Severity: normal
Version: 24.4+1-4ubuntu5
X-Debbugs-Cc: era+emacs@HIDDEN

(I am forwarding the following bug from the Ubuntu Launchpad bug
tracking system.  The original report contains some upset lanuage; the
boiled-down summary at the top is mine.)

It is not uncommon for *.doc files to contain plain ASCII text. In this
case, the default behavior of Emacs is less than ideal, as described in
more detail in the problem report below. Perhaps the .doc file name
mapping should contain some additional heuristics, and fall back to
plain text if the file is not an Office document.

Original problem description follows.


Today I downloaded the sources of secure delete. Inspected some files
with vi and some with Emacs 24. Did what I wanted to do, started to
listen to my favourite internet radio station, wanted to cite on
Facebook a citation from the secure delete docs.

I wanted to open the file "secure_delete.doc" (a pure ASCII text file)
in Emacs 24 and: "Whenever you see this buffer I'm going to make a
picture of it and you won't be able to edit anything." Haha, no this
really reminds me of the monkey face during the Ubuntu installation. But
don't make a monkey out of me because Emacs 24 is going to be replaced
with svi an extensible text base line editor yet to be written.

Emacs' open file is broken:
 - whenever it sees a file with the extension or post fix ".doc" it
 treats it like a Office document.
 - it takes an image of it
 - and shows you the image - which for a pure text file shows you the
 contents of the file as an image in that gone editor

They should use the /file/ utility to check for the file type - but
showing an unmutable picture of pure text is like making a monkey out of
the user.

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

Acknowledgement sent to era+emacs@HIDDEN:
New bug report received and forwarded. Copy sent to era+emacs@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to era+emacs@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#20891; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 24 Jun 2015 11:30:03 UTC

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