From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Emacs as a word processor (ways to convert Word/RTF proprietary files) Date: Fri, 25 Dec 2020 14:19:14 +0100 Message-ID: References: <0E591E8B-FD55-4829-8421-6F2C02AFD20C@mit.edu> <83eejenvy2.fsf@gnu.org> <87r1ne40e7.fsf@logand.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34629"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Tomas Hlavaty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 25 14:36:01 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksnGD-0008rS-1e for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Dec 2020 14:36:01 +0100 Original-Received: from localhost ([::1]:40244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksnG7-0006FY-Dr for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Dec 2020 08:35:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksnEd-0005cz-1A for emacs-devel@gnu.org; Fri, 25 Dec 2020 08:34:27 -0500 Original-Received: from mail-vi1eur06olkn2032.outbound.protection.outlook.com ([40.92.17.32]:19040 helo=EUR06-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksnEa-0004lX-5q for emacs-devel@gnu.org; Fri, 25 Dec 2020 08:34:22 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W8XHBgGzR3M89cUpdU5ADWu0vguIKrKEX969Z1vj5dn8ricgneT2LzKqAFCMEliukRlhVd1d4/IEu+ppP8cDojOy/1o2tzvEvam/y4z3hx5hW6oC/jE7wm/nyA3U3Msp1JPebcefNdqwnosHxUkmFEyKEouoafUh2YuBqgvXJ/b+++AVQd2N/lhUwT93HdVU9oDzsf8ryf01sHamOto0QhIHrrQBnoeianbHjA6Nj0D1B+/nxEV4NM8Strs6Mesm51xHWftXn2gYRa/ChRpdZgmSWXf4gi2SFiLVflGcJFQiVvApy7DcvfluNRr2UnwNsL7E+ajC5c/ACiptQkOu/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1k3zxWquxVbXqI5aCc/bzCZFlsqrcj90tYHjLQ2TSd4=; b=Bx7/Q0NsNFl1s1tT7EowPAAfQ4EC7VmDP8j+xj1ufG94v5nDCudURGEll4mU1CxbmUZv71ThEhHeMxR8cl89ZVr4GZB5j7EIB9mpBpqPYnBoxVXSolq9gZdgJoeCD4Ib+Bi2GwOLpi7/qYN58Q/LHtqwtpki8+ukScBE5JsmWYyw3eElfUJqxvFg8wsP2HPDY/b7qq5OXfTwBBkE7H6vF/1a0e90v15ZXM4R45JseQ0G7v3e0q70iR1d93iJSJUXGZbwviTi0SLRwJRHw3pCSx7T9I+JzhfuP1Mx1Yb1T7S8arXVsNTPsLLHcCkq5DUEbR78j2XX0Zj4SBY2ONbQkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1k3zxWquxVbXqI5aCc/bzCZFlsqrcj90tYHjLQ2TSd4=; b=XRwkb++dfhQ/v9Yaf9n51vkqq4uv4ooQHQfq6gOGq9n5/sm7QBgG/mCHEfXdceqT1d7LBp/KX3Hqkvw6yB/yrVmp8/Eqqrz4kqjaB3RUEDTDI0FXeq37z0Z4zZ6uItupDvh3GE4uhqfkir94HxrND0EdihaF1BIwrkk1OQI5NGRgk3kJ+bWG9DZnpu9vWqu0ySpGCH59ePNfhoapCwNk1SPGyJ/ciyu8vCkwjlJltQPo0+0JMb1qJzqK0NBSxXYPq/syDk7h7lIPYKAxrj8WZx0d7tvEXg3sG0e8vYoi5zPiJQzHSQtl+iYVQ+cDPW93BwnXpr6W8eM8sGPSkRBWBA== Original-Received: from AM7EUR06FT066.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::4d) by AM7EUR06HT116.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Fri, 25 Dec 2020 13:19:16 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:fc36::40) by AM7EUR06FT066.mail.protection.outlook.com (2a01:111:e400:fc36::475) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Fri, 25 Dec 2020 13:19:16 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:48F07024D0A2E947BBF1CEBCF7FA928A0E082D7ABAC89D5532276E50B5E08C09; UpperCasedChecksum:D8F6CB046AB4EB0D35326ED0420B2894F07810F4602E531281448601AAAD4A94; SizeAsReceived:8017; Count:46 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3700.029; Fri, 25 Dec 2020 13:19:16 +0000 In-Reply-To: <87r1ne40e7.fsf@logand.com> (Tomas Hlavaty's message of "Fri, 25 Dec 2020 11:59:12 +0100") X-TMN: [4VFKvqnouockpczGN+Yt+BDLRIx2j0yU] X-ClientProxiedBy: BEXP281CA0009.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::19) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87wnx6vx9p.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by BEXP281CA0009.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.11 via Frontend Transport; Fri, 25 Dec 2020 13:19:15 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: de674f96-3f1b-4a14-363a-08d8a8d7add8 X-MS-TrafficTypeDiagnostic: AM7EUR06HT116: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8CFoMVmNnNxZ1S0XwcVMpi3uglOxZbG0Wd97v/dv68NG2jXJU9Yz/QDS2NLulL8eTHqPxB2nx3EXOCIg4A2COWtqUnr9u8veF+ydKgD6iJ69sbfaQ6yQAQaTp17v32lLgpoY51tcJbkRPco+Dwi7MDZMX2RE2ciAZ1JbjBRtWprQ/FDn+a3qgTrvAmAeqGmnM8G/NTv80HsY0rrzljr29KZg8ytvh0MoA3U/ypouastj4gopBg9gSDdMxWFdgMPFH7vcS0VvpTcIi7kFQr5n7bQXinq/Q2k7eCq+kelmSHg= X-MS-Exchange-AntiSpam-MessageData: 0nnwfe0DTOviNjg1UCxqYe13Qp3xbSZDj1pOg5f/mufp5O3FwF51aH/m7uAsxPQS0uwRRPjkQ4w/8am47FaTEewRZHKZLmd4GZ8dL1S6bfnstiMEWL/Eor/RK0KEbDJyqHkpveWqLFgXYF+axsqnVw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Dec 2020 13:19:16.0211 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: de674f96-3f1b-4a14-363a-08d8a8d7add8 X-MS-Exchange-CrossTenant-AuthSource: AM7EUR06FT066.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7EUR06HT116 Received-SPF: pass client-ip=40.92.17.32; envelope-from=arthur.miller@live.com; helo=EUR06-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261745 Archived-At: Tomas Hlavaty writes: >> This is why it would be useful to have this kind of capabilities in >> Emacs: to enable users to visit MS Office documents with "C-x C-f", >> edit them in some specialized WYSIWYG Emacs mode, and finally save >> them with "C-x C-s". If under the hood this runs some converters, it >> doesn't matter. > > Note that this will never be perfect so we need some nuance here and > perhaps address useful use-cases. > >> And there's no real Free Software alternative, certainly not based on >> Emacs. > > There are and there could be. > > Here a rough list of use-cases with increasing complexity: > > 1) Reading abw, docx and odt documents as text is very simple in Emacs > without any extra dependencies: > https://logand.com/sw/emacs-unoffice/file/emacs-unoffice.el.html > > 2) Reading them as graphics documents is also pretty simple with some > extra dependencies: > https://logand.com/sw/emacs-framebuffer/file/emacs-framebuffer.el.html > > 3) Another use-case is to save a buffer to office document. This should > be pretty simple to implement too. > > 4) Another use-case is to open, edit and save existing office document > and preserve as much original stuff as possible. This should be > possible but lots of work. > > 5) Another use-case is WYSIWYG 3). > > 6) Another use-case is WYSIWYG 4). The problem with documents in MS office is not text extraction; it is just xml nowadays anyway, the problem is countless VBA scripts that business and organisations run in Excell/Access/Word that just can't be translate to Libre. Libre has VB, but the underlaying objects are not there and lots of tools out there that people use can't be just automatically translated. I have worked in big organisation and did lots of automation for MS office and databases. > Dealing with office formats is not a pleasant experience so I am > skeptical that volunteers will devote so much time to the use-cases with > the highest complexity. What is not so pleasant? New formats (marked with x) at the end are all xml, so it is just dealing with xml, sinilar to odt. I see nothing hard there and it is not that I defend Microsoft, I just don't see what you are talking about. That is part that alternatives you mention do. > there could be. You are correct about one thing: there could be free alternative. All that will probably change in next 20 ~ 30 years, but we are not there yet.