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 Survey: Toolbars Date: Tue, 22 Dec 2020 19:32:10 +0100 Message-ID: References: <87o8iv3ac3.fsf@gnus.org> <877dpjp30g.fsf@ucl.ac.uk> <87zh2fnmwq.fsf@gnus.org> <87o8ivumn5.fsf@telefonica.net> <87v9d3nkxk.fsf@gnus.org> <83k0t9rfj5.fsf@gnu.org> <83eejhr9y9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23527"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: ghe@sdf.org, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 22 19:33:29 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 1krmTR-00061q-2b for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Dec 2020 19:33:29 +0100 Original-Received: from localhost ([::1]:34940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krmTQ-0000Y5-1q for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Dec 2020 13:33:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krmSH-0008KM-VK for emacs-devel@gnu.org; Tue, 22 Dec 2020 13:32:17 -0500 Original-Received: from mail-oln040092066049.outbound.protection.outlook.com ([40.92.66.49]:43747 helo=EUR01-VE1-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 1krmSF-0000nc-Fb; Tue, 22 Dec 2020 13:32:17 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mtGZO/D4dT+0dQHclblwxj+IohSWUYs5dtIR4N2jd39qSMM48JNcCBVr2qyLjWR7CXEuiE1MnaYDgp3WcP94hdc+UW44d491LWAVG8B6lDrmjsT26heFCoeE4bW5n2FxNbIexSSrjiJ1VaqPy9PS5X27r1VGyRpd5XlaMkSXLI15NZ/iwTVqNnfMehDX/uN2mDijicA5SQaXTpeGG/tlE7lXgSy3ZSrbaADhT98R+xtoZnjef8XJqPNvg3IT2CaJDn5a7imIUA2kOg+IwYacxPM6QzHVforzZdWEhMtotC4iCwutq4Ku+wKQlClzg6fLkW8Zvz1j9Mk+yf2DNrbU0Q== 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=WTZqTG6GbppWSCL7CJHV6g8aZaEdSXNhM0Zar2fuok0=; b=gsavdkzTv+VZAl+oC25SCPGMFY5RDVC0ohL+0TjeR/k7PpF3GNeT87anLFAB2Bv+RoERZmGoWFmO7r78Bjot/PmC+J1a2APKx9foh+fyuCIpPBJldF1EfMGtDo50I+8Add6y1P0wkB4gielbgrQJxKo3OqXAr6SvtMJqjXlvr3XPYgJbPcIfUQDTKaJv0Inm5TWp7orvB3WOMl1IeUPBdiyR2g/AbBhCEPfVs7tvnABzZ33aLN70PVdoHme7/oMV8QsPWyQhR1MWv3/H8fkKE4bDwAgZ9JyM/F6vtApjwRsDpswlySj1PUKQLtYmGD2Ub1vjgESKMEEI9kneZtfA3Q== 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=WTZqTG6GbppWSCL7CJHV6g8aZaEdSXNhM0Zar2fuok0=; b=hd9LYuC7tIIM7rL2fsdLeoZu+5RRogvNYKup36LQX/fwc1BAtgCdj8iHA3BAhZk1dfG3HlPwO2d+QIZrshA5akn7Zih83ms8PLJXdakkr4rYXUPtvTiDDwZaQBJ+1Ji0cfZrfSqZtNtyOQwBy8/mRtIPUkl9whT8N/enMpYZIu8B0iP9qifRSivww8QY4uo0eGciqR331c6sgA4sYzvg7zu1MuAmZGHU2iFgyy9HqpctAeNgK69pk9pZ2sHixznzvMi1pynJH+iCkMQA0Y3p9knhtATsLH9OP9iDYMCNjbRc5rOz7Pls5tU5PrOHV4dvzViRYz/7QeQKwBGnipK4+A== Original-Received: from HE1EUR01FT025.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::4b) by HE1EUR01HT139.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::315) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25; Tue, 22 Dec 2020 18:32:12 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e18::53) by HE1EUR01FT025.mail.protection.outlook.com (2a01:111:e400:7e18::182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.25 via Frontend Transport; Tue, 22 Dec 2020 18:32:12 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:381CEBF37D56E53CF5506D9D7FF72578B0BF73A6E246D23DDD31194F47ACC70F; UpperCasedChecksum:92CBF990B54F32C6B13A3933C3CB7DD64AFECAB493E94599C42126A8942C9B73; SizeAsReceived:9142; Count:47 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%8]) with mapi id 15.20.3676.033; Tue, 22 Dec 2020 18:32:12 +0000 In-Reply-To: <83eejhr9y9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 22 Dec 2020 20:07:26 +0200") X-TMN: [OOSqV5F5C8LQPbrZttixmOd8hw6Swxt+] X-ClientProxiedBy: AM6PR0502CA0045.eurprd05.prod.outlook.com (2603:10a6:20b:56::22) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87mty5bsk5.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR0502CA0045.eurprd05.prod.outlook.com (2603:10a6:20b:56::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Tue, 22 Dec 2020 18:32:11 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d2e5bda7-1938-4686-e9e6-08d8a6a7e5f1 X-MS-TrafficTypeDiagnostic: HE1EUR01HT139: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SU7Rwcvk9eH+UsnwCQzYQSMdoVvMcqN4OiOM4ZVnVaVXRKwe0uALskmH0yOyg9TON7bSi60ajugpRZSV3twkQXAUXdE/C0iIIguNT080jVf7eNDOZaT88glu1HZsZoNa7ZDfeZT6qI/hTHvyTQVoj5ssUKNJXKLYPr++Yept6+8sDC+TMyKjbnM20cUzKDb5kY4KPQf1V/3bwiXmfXKGOhSvt4kiq9KYxQm4ltrRYHWgYohxQx2dDhT4KTUW0iCU X-MS-Exchange-AntiSpam-MessageData: c7xnC37n53AYOSC3BmVNW1HI3DqF42DlScfi+ZwU0cq3a+jSdk7UaaLvkBG6fN0FwtCcp1wAvSd2s4mU/RGto+yzMLAnjFyh/HcysUxOBQ8XMyqiSMa4Fm1G+eVnEmIlSyWS/KCnR92LZLeng7IyRg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2020 18:32:11.9634 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: d2e5bda7-1938-4686-e9e6-08d8a6a7e5f1 X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT025.eop-EUR01.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: HE1EUR01HT139 Received-SPF: pass client-ip=40.92.66.49; envelope-from=arthur.miller@live.com; helo=EUR01-VE1-obe.outbound.protection.outlook.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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:261523 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Cc: Gregory Heytings , rms@gnu.org, emacs-devel@gnu.org >> Date: Tue, 22 Dec 2020 18:52:48 +0100 >>=20 >> Personally I think Emacs is half-wysiwyg, or more then half by now. I >> think there are almost all tools needed to implement a word processor a >> l=C3=A1 Word already in Emacs; I think there is just some minor details >> needed; like renderer that can draw efficient representation of a page >> below a buffer text (a rectangle) and to tie the text editing stuff to >> pixels rather then columns. I was experimenting with modelling a page in >> Emacs in context of some other discussion, and that was what I found a >> tad bit awkward. >>=20 >> But I am bad at Elisp, and what Emacs already has, so hopefully Eli will >> step in and say: "we already have this." > > I think most of the necessary infrastructure exists indeed. However, > building a WYSIWYG word processor on top of that is not a trivial job, > although probably not rocket science, either. I'd start from > enriched.el and took it from there. Yeah, I know; that is why I said it is not hard, but labourous. Yes I was thinking of enriched mode, and some parts of org. Rougier has made a very nice demo with svg-toolbars; those things could be put together to create a kind of wysyvig where people can mark text, set it to italics/bold etc. Justifying text could be done too. But without being able to render a page representation in a buffer, it wouldn't be feel of a word processor. Maybe the feel is not that important; maybe it is enough to just render two lines where page width and page height are, so user can adjust text manually when he/she sees it go out of the "page range". Printed preview could be achieved with svg renderer just rendering buffer into an image of given page width and height. Would need to take printer characteristics into account, but some basic print preview, not pixel perfect could be achieved relatively easy.