From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 07:19:21 2015 Received: (at submit) by debbugs.gnu.org; 24 Jun 2015 11:19:21 +0000 Received: from localhost ([127.0.0.1]:55872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7ii8-0003ix-SM for submit@debbugs.gnu.org; Wed, 24 Jun 2015 07:19:21 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:53612) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7ii6-0003io-LC for submit@debbugs.gnu.org; Wed, 24 Jun 2015 07:19:19 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6E74C20BC9 for ; Wed, 24 Jun 2015 07:19:18 -0400 (EDT) Received: from web5 ([10.202.2.215]) by compute3.internal (MEProxy); Wed, 24 Jun 2015 07:19:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=c10xyTXr2OZGp5TENvyZdqlnaEE=; b=qBaeQ 8EjsIJz4K5ZEGJGaKs6bh0A7JSO0+Lym1k5RruiCJQ4/gweJGIndn4w1SancIKVS Lr1hv6fh627Ac+wUg0fJNokU4FLytcGaMJGPfIi8F1jGQZM8ab4f4l8jaNF/4Obj CpBHKCLZ/WmdQ6Fy++4LHU2Dac5ccRWRinIlVo= 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@webmail.messagingengine.com> X-Sasl-Enc: d2jYmxI8//gGw4fIe74J0EukwSW7tAMkr7GQMxCQ8riX 1435144758 From: era+emacs@iki.fi To: submit@debbugs.gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Package: emacs Severity: normal Version: 24.4+1-4ubuntu5 X-Debbugs-Cc: era+emacs@iki.fi (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.) https://bugs.launchpad.net/ubuntu/+source/emacs24/+bug/1466139 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 16:53:30 2019 Received: (at 20891) by debbugs.gnu.org; 1 Aug 2019 20:53:30 +0000 Received: from localhost ([127.0.0.1]:55495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htI4m-00073z-JA for submit@debbugs.gnu.org; Thu, 01 Aug 2019 16:53:28 -0400 Received: from quimby.gnus.org ([80.91.231.51]:46396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htI4h-00073n-P6 for 20891@debbugs.gnu.org; Thu, 01 Aug 2019 16:53:24 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htI4d-0003qa-N7; Thu, 01 Aug 2019 22:53:22 +0200 From: Lars Ingebrigtsen To: era+emacs@iki.fi Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> Date: Thu, 01 Aug 2019 22:53:19 +0200 In-Reply-To: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> (era's message of "Wed, 24 Jun 2015 14:19:18 +0300") Message-ID: <875zngd2v4.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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, as described in > more detail in the problem report below. Perhaps t [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: 20891@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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, 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. (I'm going through old bug reports that have unfortunately not gotten any responses.) 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. According to the interwebs, the magic sequence for Word .doc files is: D0 CF 11 E0 A1 B1 1A E1 Does anybody have an opinion here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 20:53:32 2019 Received: (at 20891) by debbugs.gnu.org; 6 Nov 2019 01:53:32 +0000 Received: from localhost ([127.0.0.1]:39352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAVo-00074U-Hm for submit@debbugs.gnu.org; Tue, 05 Nov 2019 20:53:32 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:36070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSAVm-00074B-NM for 20891@debbugs.gnu.org; Tue, 05 Nov 2019 20:53:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RyhJAmHYQyYNM5reOOQY9TctoJ5eAtBbBKbSK+OHtVM=; b=XWEMYzclpnuTi6C9hZQGLUX4DH ZTrqIHhAfsV/BY0o43qq82AikRRD674kdadmFvLG7yjaxfFBA4y8Hi/CCGioAko4NIC2uJD5AUXMl phISn/g+bf3GHV8s8w3CKD6sB0IeWTbTpMAbXjdS9BaZRrun8Pf+fv//0g+hvBh+3v4w=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:42656 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSAVf-0004mb-QR; Tue, 05 Nov 2019 19:53:24 -0600 From: Stefan Kangas To: Lars Ingebrigtsen Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document In-Reply-To: <875zngd2v4.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Thu, 01 Aug 2019 22:53:19 +0200") References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Wed, 06 Nov 2019 02:53:21 +0100 Message-ID: <87pni54vou.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen 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, 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. > > (I'm going through old bug reports that have unfortunately not gotten > any responses.) > > 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. > > According to the interwebs, the magic sequence for Word .doc files is: > > D0 CF 11 E0 A1 B1 1A E1 > > Does anybody have an opinion here? 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. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 08:08:44 2019 Received: (at 20891) by debbugs.gnu.org; 6 Nov 2019 13:08:45 +0000 Received: from localhost ([127.0.0.1]:39572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSL3E-0003Pi-MD for submit@debbugs.gnu.org; Wed, 06 Nov 2019 08:08:44 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSL3B-0003PT-UK for 20891@debbugs.gnu.org; Wed, 06 Nov 2019 08:08:42 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5B860220A7; Wed, 6 Nov 2019 08:08:35 -0500 (EST) Received: from imap34 ([10.202.2.84]) by compute2.internal (MEProxy); Wed, 06 Nov 2019 08:08:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7Qqnlt ooB/Z/sElb/JYsvEhYT7Lxi3BOFc9jexS1/+0=; b=mhHs8Gm86Did6qzoaQ5c3I tU1OM9k2cZmQbgnJU8lDP+7I/Tl7/M6EXsqZatyEu6YixuF+DoiDFDK9U+lcoNTr FOMVaPBTwdZ2IF93KJMpK68Jm5S02c2rtSLbCW8mKiyGZXhZYSIa4tBJT810WCqX jbSSpNVBuh+ya8B9E9A7J63WS3RGpgRCbdKkptPBSIT2ITy6evfb2ujrQ2DlSnmS hUIPj3soDDyZ6bsG2XMX0/Yus6hThu/roa057lynuR4E0Hs91T3So6f0WBk5X/pL qFH19/TfQviqlK6+NWICSAi2RJ+RZlQqs3qnucL0PW9ZKUZA9rYiR+9OxK4TW4GA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddujedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepvghrrgcu oegvrhgrodgvmhgrtghssehikhhirdhfiheqnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gvrhgrodgvmhgrtghssehikhhirdhfihenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 811A61460061; Wed, 6 Nov 2019 08:08:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-509-ge3ec61c-fmstable-20191030v1 Mime-Version: 1.0 Message-Id: <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> In-Reply-To: <87pni54vou.fsf@marxist.se> References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> Date: Wed, 06 Nov 2019 15:08:14 +0200 From: era To: 20891@debbugs.gnu.org Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: Lars Ingebrigtsen , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Nov 6, 2019, at 03:53, Stefan Kangas wrote: > Lars Ingebrigtsen 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 18:19:56 2019 Received: (at 20891) by debbugs.gnu.org; 6 Nov 2019 23:19:56 +0000 Received: from localhost ([127.0.0.1]:41411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSUai-0003iu-0b for submit@debbugs.gnu.org; Wed, 06 Nov 2019 18:19:56 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:33248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSUag-0003ih-PJ for 20891@debbugs.gnu.org; Wed, 06 Nov 2019 18:19:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MrjxRej0cWSsyWw+SZ2mKGIygc1YXAs/dk0v+W8IrBc=; b=ReuZkXZYANsAQeuLjKz6CTLJIV qM3Y2o/FWhU4xYU9wjD+wL7NQk3LXKwKOR5DqcTTFIRdDpS+xi3iuIfcmCmgrS+ljJoxG/+DmLKk6 hhfIsHmimSfMHfYO7C69yGwmfUO1lEVBPGs/Um9GlxiZjgaknAP+qmvv2d9Fea6Lg8aY=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:33848 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iSUaW-0005wI-9E; Wed, 06 Nov 2019 17:19:45 -0600 From: Stefan Kangas To: era Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document In-Reply-To: <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> (era's message of "Wed, 06 Nov 2019 15:08:14 +0200") References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Thu, 07 Nov 2019 00:19:42 +0100 Message-ID: <874kzgy4mp.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: Lars Ingebrigtsen , 20891@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) era writes: > 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? AFAIU, the problem is that we do not have a mode to edit Microsoft Word documents. It would obviously be fantastic if someone would be willing to write such a package, but it's a potentially big task. So, as long as we lack editing capabilities, showing an image of the document in Emacs is actually pretty useful. More useful than getting garbled text, at any rate. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 06 23:45:51 2019 Received: (at 20891) by debbugs.gnu.org; 7 Nov 2019 04:45:51 +0000 Received: from localhost ([127.0.0.1]:41574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSZg6-0008RH-RH for submit@debbugs.gnu.org; Wed, 06 Nov 2019 23:45:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSZg5-0008Kr-9a for 20891@debbugs.gnu.org; Wed, 06 Nov 2019 23:45:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSZfz-0003lV-7c; Wed, 06 Nov 2019 23:45:43 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iSZfy-0003kX-Cl; Wed, 06 Nov 2019 23:45:42 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Stefan Kangas In-Reply-To: <874kzgy4mp.fsf@marxist.se> (message from Stefan Kangas on Thu, 07 Nov 2019 00:19:42 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> <874kzgy4mp.fsf@marxist.se> Message-Id: Date: Wed, 06 Nov 2019 23:45:42 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, larsi@gnus.org, 20891@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > So, as long as we lack editing capabilities, showing an image of the > document in Emacs is actually pretty useful. How would Emacs do that? -- Dr Richard Stallman Founder, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 07 03:31:18 2019 Received: (at 20891) by debbugs.gnu.org; 7 Nov 2019 08:31:18 +0000 Received: from localhost ([127.0.0.1]:41631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSdCH-0008L8-Mm for submit@debbugs.gnu.org; Thu, 07 Nov 2019 03:31:17 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSdCA-0008Kp-L1 for 20891@debbugs.gnu.org; Thu, 07 Nov 2019 03:31:11 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 7CB3521C82; Thu, 7 Nov 2019 03:31:04 -0500 (EST) Received: from imap34 ([10.202.2.84]) by compute2.internal (MEProxy); Thu, 07 Nov 2019 03:31:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=BfodgM W0TxQWi7Cb3cGxLoZByWcml1MgnSROdNQe9Ug=; b=WkaYKUmyD790vK9JaUf2gg 86IKWU1F+skKZ8Vn8AV/gNYrNqDn19vjGsik6u26hT3Ug+M7LQiNUzQbbleZF7Pv Y4Pg6T8SvvG+4V7KViNPfw7+yVGCMZTp+Uxv/HLWc7Mt7XUe0xLBP3sOULfxZSnb Hw3bxwrlLBjsUI/DcaRpy+kdKHPv0gaWPKf47ddihXj3HBpEmwBv+KuJRwd+Wof2 x6Zt8khdPSwHXgVImg7fFCYaIEDMstSnubmnPmW9kMBYaiu8GUdrO2pX7T5mDa5B kmcFKBYXq66UONOEji5bZjGZ/9Djj83siAuimoDMQQAhpNftxJXgOHw00Sa9vEMQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddukedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreertdenucfhrhhomhepvghrrgcuoegvrhgrodgvmhgrtghssehikhhirdhfiheq necuffhomhgrihhnpegvmhgrtghsfihikhhirdhorhhgnecurfgrrhgrmhepmhgrihhlfh hrohhmpegvrhgrodgvmhgrtghssehikhhirdhfihenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0B3FE1460061; Thu, 7 Nov 2019 03:31:03 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-509-ge3ec61c-fmstable-20191030v1 Mime-Version: 1.0 Message-Id: <82f50332-0279-4df9-83bd-d0161a3d5bde@www.fastmail.com> In-Reply-To: References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <666aa5df-8f4b-4bb9-a542-945421c584b9@www.fastmail.com> <874kzgy4mp.fsf@marxist.se> Date: Thu, 07 Nov 2019 10:29:15 +0200 From: era To: "Richard Stallman" , 20891@debbugs.gnu.org Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20891 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Nov 7, 2019, at 06:45, Richard Stallman wrote: > > So, as long as we lack editing capabilities, showing an image of the > > document in Emacs is actually pretty useful. > How would Emacs do that? The Emacs-side entry point seems to be doc-view-mode-maybe, which is hooked in auto-mode-alist for a number of file name extensions. As described in https://www.emacswiki.org/emacs/DocViewMode it relies on external utilities to provide the actual image. I was unable to quickly repro in a fresh Debian or Ubuntu image, but that might be because I didn't have the external utility installed. Tangentially, googling for doc-view-mode-maybe suggests that lots of people are annoyed by it and want to turn it off, probably often for related but distinct reasons. -- If this were a real .signature, it would suck less. Well, maybe not. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 08 16:00:01 2019 Received: (at 20891) by debbugs.gnu.org; 8 Nov 2019 21:00:01 +0000 Received: from localhost ([127.0.0.1]:47744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTBMP-0002eU-98 for submit@debbugs.gnu.org; Fri, 08 Nov 2019 16:00:01 -0500 Received: from quimby.gnus.org ([80.91.231.51]:53416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTBMN-0002eL-Av for 20891@debbugs.gnu.org; Fri, 08 Nov 2019 15:59:59 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTBMJ-0007HR-3I; Fri, 08 Nov 2019 21:59:57 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> Date: Fri, 08 Nov 2019 21:59:54 +0100 In-Reply-To: <87pni54vou.fsf@marxist.se> (Stefan Kangas's message of "Wed, 06 Nov 2019 02:53:21 +0100") Message-ID: <87o8xm3wz9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > 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 don't think it'd be any performance problem -- we'd just have to read the first 8 bytes of the file to see whether the magic sequence is there. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 09 01:25:59 2019 Received: (at 20891) by debbugs.gnu.org; 9 Nov 2019 06:25:59 +0000 Received: from localhost ([127.0.0.1]:48084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTKC6-0002er-Dj for submit@debbugs.gnu.org; Sat, 09 Nov 2019 01:25:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTKC2-0002eP-7L for 20891@debbugs.gnu.org; Sat, 09 Nov 2019 01:25:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTKBw-00020x-08; Sat, 09 Nov 2019 01:25:48 -0500 Received: from [176.228.60.248] (port=4904 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iTKBu-0006pJ-HU; Sat, 09 Nov 2019 01:25:47 -0500 Date: Sat, 09 Nov 2019 08:25:38 +0200 Message-Id: <83y2wpa7ml.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87o8xm3wz9.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 08 Nov 2019 21:59:54 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Fri, 08 Nov 2019 21:59:54 +0100 > Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org > > Stefan Kangas writes: > > > 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 don't think it'd be any performance problem -- we'd just have to read > the first 8 bytes of the file to see whether the magic sequence is there. *.doc files are rare nowadays. Do the *.docx files have the same signature? I doubt that, since they are actually *.zip files in disguise. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 09 15:14:59 2019 Received: (at 20891) by debbugs.gnu.org; 9 Nov 2019 20:14:59 +0000 Received: from localhost ([127.0.0.1]:50325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTX8N-0004n6-Jw for submit@debbugs.gnu.org; Sat, 09 Nov 2019 15:14:59 -0500 Received: from quimby.gnus.org ([80.91.231.51]:40752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTX8L-0004mx-3B for 20891@debbugs.gnu.org; Sat, 09 Nov 2019 15:14:57 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTX8G-0000lI-K0; Sat, 09 Nov 2019 21:14:55 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> Date: Sat, 09 Nov 2019 21:14:52 +0100 In-Reply-To: <83y2wpa7ml.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 09 Nov 2019 08:25:38 +0200") Message-ID: <87lfsozu0z.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> I don't think it'd be any performance problem -- we'd just have to read >> the first 8 bytes of the file to see whether the magic sequence is there. > > *.doc files are rare nowadays. Do the *.docx [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> I don't think it'd be any performance problem -- we'd just have to read >> the first 8 bytes of the file to see whether the magic sequence is there. > > *.doc files are rare nowadays. Do the *.docx files have the same > signature? I doubt that, since they are actually *.zip files in > disguise. Yeah, *.docx have a different signature, so this would be for *.doc files only (and since the Windows *.doc files are becoming rarer, perhaps that means that doing doc-view only on files that have the magic bytes is more important than it used to be). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 03:54:46 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 08:54:46 +0000 Received: from localhost ([127.0.0.1]:60918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVAtp-0006dc-Vm for submit@debbugs.gnu.org; Thu, 14 Nov 2019 03:54:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVAto-0006dQ-GH for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 03:54:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVAti-0000cQ-ES; Thu, 14 Nov 2019 03:54:38 -0500 Received: from [176.228.60.248] (port=1130 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVAth-0002aZ-Mc; Thu, 14 Nov 2019 03:54:38 -0500 Date: Thu, 14 Nov 2019 10:54:20 +0200 Message-Id: <83a78y96tf.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87lfsozu0z.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 09 Nov 2019 21:14:52 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, era+emacs@iki.fi, 20891@debbugs.gnu.org > Date: Sat, 09 Nov 2019 21:14:52 +0100 > > since the Windows *.doc files are becoming rarer, perhaps that > means that doing doc-view only on files that have the magic bytes is > more important than it used to be Sorry, I don't follow that logic. I'd expect that *.doc MS Word files becoming rarer would mean plain-text *.doc files become relatively more important, i.e. the opposite conclusion. What did I miss? From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 04:55:54 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 09:55:54 +0000 Received: from localhost ([127.0.0.1]:60962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVBqw-00088J-4M for submit@debbugs.gnu.org; Thu, 14 Nov 2019 04:55:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVBqt-000886-HX for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 04:55:48 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVBqh-0002Rl-VZ; Thu, 14 Nov 2019 10:55:38 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> Date: Thu, 14 Nov 2019 10:55:35 +0100 In-Reply-To: <83a78y96tf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 10:54:20 +0200") Message-ID: <874kz6ok88.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: stefan@marxist.se, era+emacs@iki.fi, 20891@debbugs.gnu.org >> Date: Sat, 09 Nov 2019 21:14:52 +0100 >> >> since the Windows *.doc files are becoming [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: stefan@marxist.se, era+emacs@iki.fi, 20891@debbugs.gnu.org >> Date: Sat, 09 Nov 2019 21:14:52 +0100 >> >> since the Windows *.doc files are becoming rarer, perhaps that >> means that doing doc-view only on files that have the magic bytes is >> more important than it used to be > > Sorry, I don't follow that logic. I'd expect that *.doc MS Word files > becoming rarer would mean plain-text *.doc files become relatively > more important, i.e. the opposite conclusion. What did I miss? That's what I'm saying. :-) Or at least I tried to. It's more important to add magic byte recognition to doc-mode for .doc files now than before. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 09:12:56 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 14:12:56 +0000 Received: from localhost ([127.0.0.1]:32916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVFrj-0000QO-KH for submit@debbugs.gnu.org; Thu, 14 Nov 2019 09:12:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVFrY-0000Pz-Qi for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 09:12:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVFrS-0003Uo-C4; Thu, 14 Nov 2019 09:12:38 -0500 Received: from [176.228.60.248] (port=4778 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVFrR-0007Wh-Al; Thu, 14 Nov 2019 09:12:38 -0500 Date: Thu, 14 Nov 2019 16:12:22 +0200 Message-Id: <83imnm5yyh.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <874kz6ok88.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 14 Nov 2019 10:55:35 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, era+emacs@iki.fi, 20891@debbugs.gnu.org > Date: Thu, 14 Nov 2019 10:55:35 +0100 > > > Sorry, I don't follow that logic. I'd expect that *.doc MS Word files > > becoming rarer would mean plain-text *.doc files become relatively > > more important, i.e. the opposite conclusion. What did I miss? > > That's what I'm saying. :-) Or at least I tried to. It's more > important to add magic byte recognition to doc-mode for .doc files now > than before. How would the magic signature recognition help with plain-text files? They don't have any such signatures? I'm still missing something, sorry. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 10:06:46 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 15:06:46 +0000 Received: from localhost ([127.0.0.1]:34936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVGhp-0002JS-5O for submit@debbugs.gnu.org; Thu, 14 Nov 2019 10:06:46 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:41298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVGhn-0002JE-BC for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 10:06:44 -0500 Received: by mail-wr1-f51.google.com with SMTP id b18so5378727wrj.8 for <20891@debbugs.gnu.org>; Thu, 14 Nov 2019 07:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=E9E4hnZJ9Kg1rF/UqsGtYp+aOybHjdM0Zo1RBJ7zEVY=; b=g5sP0kqtrDlh80+4AqtDAr37juIHnlh+k+UCMJpSxvtpAbWQvFK+YDiM8gVAq0He6c +eGDhIHGpjyrcFxCI1IiR5d5ZNeSsbjKQnh5vPvnExNHi44eJ5FtVzC4oUEJRDO53MXM rhg8jTk59yDl4xciDVrVs4/gkCF+O9V/9kC1ytm2rTTIPcDBAF2P0+Gg38aHZG47+pun /capJb8a1eaBjrrbcexYTmQgfD0V4k20D8xRMIRX6Y3Yu000GCPWgplcczOYL8ROk1q3 3AY8ZVe3P7bPW6w7L5Q6FSbEpP6MhtbnDbAmu24wk4L2xP3LUwrvPBypectz8Torkvru +Gbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=E9E4hnZJ9Kg1rF/UqsGtYp+aOybHjdM0Zo1RBJ7zEVY=; b=OYrHC+9Ka1UFn6DRDyJHhFU5jUa+CUfQLQZpmlN4rjEwTD/Ka4M1y200Mp2e3SmTKa iGwa2SyBpdhoLeYXm4Y1/DxB+UdQUqRvCi4DH2lqtPHX/aXEgKXZY4sdwL0LBGglChFK XCDNhllyOjzpRTpviCqY2uzLBUGbZiG5zDMf+VnqyhgOgY1rh0s4658hE+nVzSuhERq4 3cHcpI4/bs49rUwc9veGK/dimg3IUmcdyNMVQ2ydXEBnj2utYD3Q+SQxG4tAFtoXulaR n0RKAcqMwdHkq3miVmN4AU4is2afCiT7UuscSG5NK6h489Rs5QVJnqb5VoFjn0fJWJ+Z v9tw== X-Gm-Message-State: APjAAAXwzCKqin66/2g/33UYphBtZDoCqR3iqz2d2GZejmYX7414mfhd rBoY7nBclLeEmTsilNQcFCI= X-Google-Smtp-Source: APXvYqz4JLzzHTbCaApMdAXsnY1aJBoLe8dUhnroUWtPd0b77Ns5MncMjhcB9FqkoXYNU57wRoBHNA== X-Received: by 2002:adf:fd85:: with SMTP id d5mr8891459wrr.101.1573743997388; Thu, 14 Nov 2019 07:06:37 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id w132sm6900583wma.6.2019.11.14.07.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 07:06:36 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> Date: Thu, 14 Nov 2019 16:06:36 +0100 In-Reply-To: <83imnm5yyh.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 16:12:22 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, Lars Ingebrigtsen , 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 14 Nov 2019 16:12:22 +0200, Eli Zaretskii said: Eli> How would the magic signature recognition help with plain-text files? Eli> They don't have any such signatures? I'm still missing something, Eli> sorry. Today we go: ".doc extension -> show an image of the contents of the file" which is manifestly the wrong thing to do for a non-doc file. If we do the signature recognition, those files which are not recognized end up in (probably) fundamental-mode Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 11:20:09 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 16:20:09 +0000 Received: from localhost ([127.0.0.1]:35065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVHqq-0004K7-Lk for submit@debbugs.gnu.org; Thu, 14 Nov 2019 11:20:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVHqo-0004Jg-L4 for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 11:20:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVHqi-00057G-Eg; Thu, 14 Nov 2019 11:20:00 -0500 Received: from [176.228.60.248] (port=4885 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVHqh-0007xx-Nd; Thu, 14 Nov 2019 11:20:00 -0500 Date: Thu, 14 Nov 2019 18:19:43 +0200 Message-Id: <83v9rm4ehs.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: (message from Robert Pluim on Thu, 14 Nov 2019 16:06:36 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, larsi@gnus.org, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Lars Ingebrigtsen , era+emacs@iki.fi, > 20891@debbugs.gnu.org, stefan@marxist.se > Date: Thu, 14 Nov 2019 16:06:36 +0100 > > Today we go: ".doc extension -> show an image of the contents of the > file" Where do we have the code or data which does that? > which is manifestly the wrong thing to do for a non-doc file. If > we do the signature recognition, those files which are not recognized > end up in (probably) fundamental-mode That's OK, but I'm still missing the code which makes this happen. E.g., I just did "C-x C-f foo.doc RET" and got a buffer in Fundamental mode. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 11:33:39 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 16:33:39 +0000 Received: from localhost ([127.0.0.1]:35092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVI3u-0004hc-SJ for submit@debbugs.gnu.org; Thu, 14 Nov 2019 11:33:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:40634 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVI3r-0004hM-9v for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 11:33:35 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7EF28ADBB; Thu, 14 Nov 2019 16:33:29 +0000 (UTC) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> X-Yow: Is it FUN to be a MIDGET? Date: Thu, 14 Nov 2019 17:33:28 +0100 In-Reply-To: <83v9rm4ehs.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 18:19:43 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, Robert Pluim , 20891@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Nov 14 2019, Eli Zaretskii wrote: > Where do we have the code or data which does that? See auto-mode-alist, and doc-view-mode-maybe. > That's OK, but I'm still missing the code which makes this happen. > E.g., I just did "C-x C-f foo.doc RET" and got a buffer in Fundamental > mode. It only works if you have a doc-view-odf->pdf-converter-program. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 11:43:09 2019 Received: (at 20891) by debbugs.gnu.org; 14 Nov 2019 16:43:09 +0000 Received: from localhost ([127.0.0.1]:35111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVID2-0004xb-ME for submit@debbugs.gnu.org; Thu, 14 Nov 2019 11:43:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVID0-0004x3-Sw for 20891@debbugs.gnu.org; Thu, 14 Nov 2019 11:43:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVICu-0005aa-5g; Thu, 14 Nov 2019 11:42:56 -0500 Received: from [176.228.60.248] (port=2316 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVICt-0002dM-KU; Thu, 14 Nov 2019 11:42:55 -0500 Date: Thu, 14 Nov 2019 18:42:40 +0200 Message-Id: <83sgmq4dfj.fsf@gnu.org> From: Eli Zaretskii To: Andreas Schwab In-reply-to: (message from Andreas Schwab on Thu, 14 Nov 2019 17:33:28 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, rpluim@gmail.com, 20891@debbugs.gnu.org, stefan@marxist.se, larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Cc: Robert Pluim , era+emacs@iki.fi, larsi@gnus.org, 20891@debbugs.gnu.org, stefan@marxist.se > Date: Thu, 14 Nov 2019 17:33:28 +0100 > > On Nov 14 2019, Eli Zaretskii wrote: > > > Where do we have the code or data which does that? > > See auto-mode-alist, and doc-view-mode-maybe. > > > That's OK, but I'm still missing the code which makes this happen. > > E.g., I just did "C-x C-f foo.doc RET" and got a buffer in Fundamental > > mode. > > It only works if you have a doc-view-odf->pdf-converter-program. Thanks, I was blind. So we want to remove docx? from auto-mode-alist and instead to add the magic signature to magic-mode-alist? But then AFAIK MS Word documents had different signatures for different versions, so we should have several. And a literal docx should be left in auto-mode-alist, right? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 02:50:59 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 07:50:59 +0000 Received: from localhost ([127.0.0.1]:35518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVWNe-0003ag-QJ for submit@debbugs.gnu.org; Fri, 15 Nov 2019 02:50:59 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVWNc-0003aT-6R for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 02:50:56 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVWNT-0003c5-On; Fri, 15 Nov 2019 08:50:50 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> Date: Fri, 15 Nov 2019 08:50:46 +0100 In-Reply-To: <83imnm5yyh.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 16:12:22 +0200") Message-ID: <878sohmvc9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> That's what I'm saying. :-) Or at least I tried to. It's more >> important to add magic byte recognition to doc-mode for .doc files now >> than before. > > How would the magic signature recognition [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ingebrigtsen.no] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> That's what I'm saying. :-) Or at least I tried to. It's more >> important to add magic byte recognition to doc-mode for .doc files now >> than before. > > How would the magic signature recognition help with plain-text files? > They don't have any such signatures? I'm still missing something, > sorry. The magic signature recognition is for the MS .doc files, not the text files. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 02:51:54 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 07:51:54 +0000 Received: from localhost ([127.0.0.1]:35526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVWOW-0003cb-EO for submit@debbugs.gnu.org; Fri, 15 Nov 2019 02:51:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVWOT-0003cN-Gd for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 02:51:49 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVWOL-0003cK-1N; Fri, 15 Nov 2019 08:51:43 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> Date: Fri, 15 Nov 2019 08:51:40 +0100 In-Reply-To: <83sgmq4dfj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 18:42:40 +0200") Message-ID: <874kz5mvar.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > But then AFAIK MS Word documents had different signatures for > different versions, so we should have several. All .doc files allegedly start with the same eight bytes. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ingebrigtsen.no] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, Andreas Schwab , rpluim@gmail.com, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > But then AFAIK MS Word documents had different signatures for > different versions, so we should have several. All .doc files allegedly start with the same eight bytes. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 03:48:55 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 08:48:55 +0000 Received: from localhost ([127.0.0.1]:35624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXHe-0000WK-Jr for submit@debbugs.gnu.org; Fri, 15 Nov 2019 03:48:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXHb-0000W5-SP for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 03:48:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVXHV-0007uQ-Nx; Fri, 15 Nov 2019 03:48:41 -0500 Received: from [176.228.60.248] (port=1925 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVXHU-0007mO-Nf; Fri, 15 Nov 2019 03:48:41 -0500 Date: Fri, 15 Nov 2019 10:48:26 +0200 Message-Id: <831ru94jad.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <874kz5mvar.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 15 Nov 2019 08:51:40 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> <874kz5mvar.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, schwab@suse.de, rpluim@gmail.com, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Andreas Schwab , rpluim@gmail.com, era+emacs@iki.fi, > 20891@debbugs.gnu.org, stefan@marxist.se > Date: Fri, 15 Nov 2019 08:51:40 +0100 > > Eli Zaretskii writes: > > > But then AFAIK MS Word documents had different signatures for > > different versions, so we should have several. > > All .doc files allegedly start with the same eight bytes. Maybe my reading of the 'magic' file is wrong, but it seems to say otherwise. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 03:56:24 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 08:56:24 +0000 Received: from localhost ([127.0.0.1]:35636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXOy-0000i1-Ba for submit@debbugs.gnu.org; Fri, 15 Nov 2019 03:56:24 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXOw-0000hn-9v for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 03:56:22 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVXOi-0004GF-Cn; Fri, 15 Nov 2019 09:56:11 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> <874kz5mvar.fsf@gnus.org> <831ru94jad.fsf@gnu.org> Date: Fri, 15 Nov 2019 09:56:07 +0100 In-Reply-To: <831ru94jad.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Nov 2019 10:48:26 +0200") Message-ID: <87zhgxjz6g.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Maybe my reading of the 'magic' file is wrong, but it seems to say > otherwise. I just consulted https://en.wikipedia.org/wiki/List_of_file_signatures, but I have little practical experience with .doc files myself. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: wikipedia.org] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, schwab@suse.de, rpluim@gmail.com, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Maybe my reading of the 'magic' file is wrong, but it seems to say > otherwise. I just consulted https://en.wikipedia.org/wiki/List_of_file_signatures, but I have little practical experience with .doc files myself. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 04:14:31 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 09:14:31 +0000 Received: from localhost ([127.0.0.1]:35657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXgV-00019g-BW for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:14:31 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:39953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVXgR-00019O-DD for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 04:14:29 -0500 Received: by mail-wm1-f41.google.com with SMTP id f3so9504601wmc.5 for <20891@debbugs.gnu.org>; Fri, 15 Nov 2019 01:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=G8zg9JrvgZktc6GlCuQx0IMnlFQgbYmHKG8hrx4C/0w=; b=t8VwMz73Ds8MubzAJypLbq6h3Yv+I0u2sVCfAyV7pG7bB/6fw6aYpnQTabsaRwVa0j PAQqQWK2Noiq4i2t6Uh6r8AGHjhRA0W0wwdTDBFYCFnwiaL7w14TY9n4JxUttrAH8GxF t5eOM5jEG4gOdnZ+Gj55v0EeYrSOvnupjgTfo/uvCkmpL1diFsS4wkxQWWdq/sj4UafH rodjUn6tBAA6bFSUiav8smYiPLN8i/U6wtUQXikBvJVKmdudQE9PGCisjwP34E25nQvK 8vJSNS+SamWB1Vbnz2eIJFqe8flkuu9L7H3V887CvKe030cZLbm63ndT/qQTGFEEOsgB c2pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=G8zg9JrvgZktc6GlCuQx0IMnlFQgbYmHKG8hrx4C/0w=; b=LgcyF9xYo8W2/dX9mNOV4mCKzVkAJDAIdeIkBSUeFkEkddqGRSXoqE6a5BCP57GVaQ 4lEhxjU/trU2yKWVemvv1/NDZajwHpqNWZqM9wW6ypg3QX6uz4JJCB2Xo5B7nzuzWNrF qJj4SD7y6pDhX8Qh2YpCgBLYD93JtiWJz+N4nOLLIAl9BUoFJH5KwMlzNMERDaSpeEge PbKjMZ/8w24srLRxyMWkkmkCsTSIuavPOAnz8L8r9D5mv1lAJLCKNFiqmgliY32nk7Z1 aRpDHY3Fgsg//Hrn1HZ0JK3t0sPs2WEFDszxTmm3c46YYxDjCk+akPf19IKAvmQzYd2d y+Wg== X-Gm-Message-State: APjAAAXTL91JfXat3HKwCK2FVleQvXs7nCRyPy50kAqxwfLr0MpamVdX swR8kPJMp3yNauaL8eKA1sQ= X-Google-Smtp-Source: APXvYqyvYEoHLw/gTUlhnM7Txq6wihCwPNW8LKa0LBqZx4+Ea/NKFDpR/0B+VFvG6kunPWlq/6b65g== X-Received: by 2002:a1c:9804:: with SMTP id a4mr12925553wme.57.1573809261163; Fri, 15 Nov 2019 01:14:21 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 11sm8970324wmi.8.2019.11.15.01.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 01:14:20 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> X-Debbugs-No-Ack: yes Gmane-Reply-To-List: yes Date: Fri, 15 Nov 2019 10:14:19 +0100 In-Reply-To: <83sgmq4dfj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2019 18:42:40 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, Andreas Schwab , larsi@gnus.org, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 14 Nov 2019 18:42:40 +0200, Eli Zaretskii said: Eli> So we want to remove docx? from auto-mode-alist and instead to add the Eli> magic signature to magic-mode-alist? But then AFAIK MS Word documents Eli> had different signatures for different versions, so we should have Eli> several. And a literal docx should be left in auto-mode-alist, right? Yes. The following detects a word 97 file for me, and a text .doc file opens in fundamental-mode. diff --git i/lisp/files.el w/lisp/files.el index 053583b4cb..ea3d3deb34 100644 --- i/lisp/files.el +++ w/lisp/files.el @@ -2798,7 +2798,7 @@ auto-mode-alist ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode) ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MS-DOS ("\\.[eE]?[pP][sS]\\'" . ps-mode) - ("\\.\\(?:PDF\\|DVI\\|OD[FGPST]\\|DOCX?\\|XLSX?\\|PPTX?\\|pdf\\|djvu\\|dvi\\|od[fgpst]\\|docx?\\|xlsx?\\|pptx?\\)\\'" . doc-view-mode-maybe) + ("\\.\\(?:PDF\\|DVI\\|OD[FGPST]\\|DOCX\\|XLSX?\\|PPTX?\\|pdf\\|djvu\\|dvi\\|od[fgpst]\\|docx\\|xlsx?\\|pptx?\\)\\'" . doc-view-mode-maybe) ("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode) ("\\.s\\(v\\|iv\\|ieve\\)\\'" . sieve-mode) ("BROWSE\\'" . ebrowse-tree-mode) @@ -3062,6 +3062,7 @@ magic-fallback-mode-alist (comment-re (concat "\\(?:!--" incomment-re "*-->[ \t\r\n]*<\\)"))) (concat "[ \t\r\n]*<" comment-re "*!DOCTYPE ")) . sgml-mode) + ("\320\317\021\340\241\261\032\341" . doc-view-mode-maybe) ("%!PS" . ps-mode) ("# xmcd " . conf-unix-mode))) "Like `magic-mode-alist' but has lower priority than `auto-mode-alist'. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 04:51:53 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 09:51:53 +0000 Received: from localhost ([127.0.0.1]:35677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVYGZ-00021c-UY for submit@debbugs.gnu.org; Fri, 15 Nov 2019 04:51:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVYGW-00021M-NE for 20891@debbugs.gnu.org; Fri, 15 Nov 2019 04:51:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iVYGQ-0001s3-4l; Fri, 15 Nov 2019 04:51:38 -0500 Received: from [176.228.60.248] (port=1819 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iVYGO-00040s-H1; Fri, 15 Nov 2019 04:51:37 -0500 Date: Fri, 15 Nov 2019 11:51:23 +0200 Message-Id: <83mucx31t0.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87zhgxjz6g.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 15 Nov 2019 09:56:07 +0100) Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> <874kz5mvar.fsf@gnus.org> <831ru94jad.fsf@gnu.org> <87zhgxjz6g.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, schwab@suse.de, rpluim@gmail.com, 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Lars Ingebrigtsen > Cc: schwab@suse.de, rpluim@gmail.com, era+emacs@iki.fi, > 20891@debbugs.gnu.org, stefan@marxist.se > Date: Fri, 15 Nov 2019 09:56:07 +0100 > > Eli Zaretskii writes: > > > Maybe my reading of the 'magic' file is wrong, but it seems to say > > otherwise. > > I just consulted https://en.wikipedia.org/wiki/List_of_file_signatures, > but I have little practical experience with .doc files myself. Thanks, I'm good with using just one signature for now. I don't think the other signatures, if they exist, are important enough to postpone fixing this issue. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 08:20:13 2019 Received: (at 20891) by debbugs.gnu.org; 15 Nov 2019 13:20:13 +0000 Received: from localhost ([127.0.0.1]:35809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbWH-0002gd-Bl for submit@debbugs.gnu.org; Fri, 15 Nov 2019 08:20:13 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:53689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVbWD-0002gG-Tu; Fri, 15 Nov 2019 08:20:11 -0500 Received: by mail-wm1-f47.google.com with SMTP id u18so9653053wmc.3; Fri, 15 Nov 2019 05:20:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=e5y7YygqUoJwkV3LoIgWyJXO0oa/0xgTH/24k7/O6Hw=; b=LsiQX6TW0lmoe1U0V9HeWm7Bsm0Ln/F4f0oqnsDyCCadwI2pKNzPhSKqL8C+0stodn jvOW1fuYN/sMvch8X8gdvyx9foNzJckMTjI7m0In7eyOPsU92QRxePMqMyWBcqmIqG2J c1ikYTyQehD+HyJckxI3nRmhmp+oRTgHEB6JTZqwrEEdekbiMnI4FqKTe0M2mxNNkEvA YL9+FTEuW0haDlFwSo4ZBKYcGjP0BPg+oDLb9afNCEHQ6ZMobTK08zEBRqKZmzv5wr0x Ohlz/3+LX2shxnY8lwp5Y/b+WqBAUbg854UfyskBondKfIZlgvkn09TbIWv30BA7Aii1 Dl6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=e5y7YygqUoJwkV3LoIgWyJXO0oa/0xgTH/24k7/O6Hw=; b=lsptPvWvfKirZhWeMw58wjJ9joBPzNUXtNhefcfksea0yKEVJIUSgPp8uLUsTCA814 KRFYB3XoPN0dZ/D0S36q1wimLqZpZlEAveZ725OeoTZ4xXjWa48wUTEFXRkoqTmH3Qvw ta8IRldZFo5R6+c6A0QBTXi7eaLbCaPtlfwKUJSTjZSfHzrHeD/fBBngSPOn0z0bbscf yoULdOZxuKeldyzcJb3qDb7aFiDiR7hcASO4bsAFyyACXx7vH+7oZMKdB6B7yVBI5Nr+ jLeBHaycZyO9DSPHqw8lb3n1nqZy0DEvCQxIbXLOEG9A4uNJe518mH42qs+G9xo0mJEm zC2g== X-Gm-Message-State: APjAAAUmwhG4w46wmTlBIGAzszcBl/iOuVw1PYJHoU04Hw5b2XWU/8uL Q4itf14yKeR1v8IgyMS1/wbbkfyWtGA= X-Google-Smtp-Source: APXvYqwblYTg8nZZFcWjmVHYIDAMzUKJOegMoxPyJUVh2BNd9om1xabDd02X5xKoLhfPNvcAIVKxug== X-Received: by 2002:a1c:6588:: with SMTP id z130mr13302279wmb.87.1573824003472; Fri, 15 Nov 2019 05:20:03 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id u18sm11508497wrp.14.2019.11.15.05.20.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 05:20:02 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#20891: emacs: Back off if .doc is not an Office document References: <1435144758.2326415.306422097.2EE346E7@webmail.messagingengine.com> <875zngd2v4.fsf@mouse.gnus.org> <87pni54vou.fsf@marxist.se> <87o8xm3wz9.fsf@gnus.org> <83y2wpa7ml.fsf@gnu.org> <87lfsozu0z.fsf@gnus.org> <83a78y96tf.fsf@gnu.org> <874kz6ok88.fsf@gnus.org> <83imnm5yyh.fsf@gnu.org> <83v9rm4ehs.fsf@gnu.org> <83sgmq4dfj.fsf@gnu.org> <874kz5mvar.fsf@gnus.org> <831ru94jad.fsf@gnu.org> <87zhgxjz6g.fsf@gnus.org> <83mucx31t0.fsf@gnu.org> Date: Fri, 15 Nov 2019 14:20:01 +0100 In-Reply-To: <83mucx31t0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Nov 2019 11:51:23 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20891 Cc: era+emacs@iki.fi, schwab@suse.de, Lars Ingebrigtsen , 20891@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 20891 fixed close 20891 27.1 quit >>>>> On Fri, 15 Nov 2019 11:51:23 +0200, Eli Zaretskii said: Eli> Thanks, I'm good with using just one signature for now. I don't think Eli> the other signatures, if they exist, are important enough to postpone Eli> fixing this issue. Closing. Committed as 904146cf79 Robert From unknown Sun Jun 22 04:23:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Dec 2019 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator