From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: "Why is emacs so square?" Date: Fri, 05 Jun 2020 15:01:13 +0200 Message-ID: References: <863691n4xl.wl-me@enzu.ru> <86blno9yle.wl-me@enzu.ru> <87d0845msg.fsf@yahoo.com> <87h7xgjasw.fsf@yahoo.com> <875zdwjais.fsf@yahoo.com> <6a198677-41b6-4dbd-39d0-2b01550d53cf@yandex.ru> <32f6a2ce-e30f-059f-dcd4-233d666a10a1@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="78878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: sb@dod.no, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 05 15:04:38 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 1jhC1V-000KNb-EP for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jun 2020 15:04:37 +0200 Original-Received: from localhost ([::1]:55070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhC1U-0002Wy-Gj for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jun 2020 09:04:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhByO-0006pU-LL for emacs-devel@gnu.org; Fri, 05 Jun 2020 09:01:25 -0400 Original-Received: from mail-oln040092072029.outbound.protection.outlook.com ([40.92.72.29]:18559 helo=EUR03-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 1jhByL-0007TT-RN; Fri, 05 Jun 2020 09:01:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FiWqxk3/eyrQdj3XoblBMXYyymM+HVghIvuSAv3YQeVOwQeHEIxG0XH+nGF5Zqzu8MJzxqI1+kz8yrAnj2CESoVM6K/7wIYaQa0AWl237AaljQTp1RePSiS+o91i1aJ//XkQYkwkkQaySISYDYFpksXWlUtUT0bQaP33w+FeG9RHf+OFjXl/MJy+OvGV898pRnVWgUTApHOJzvPae5/+LcFAI6gD3JlsTP8Wrah/rft/w28WSsNiGm3NUl+iBHW7rbZ91N5yjgeC9Ke98w3Hm55Fjl025moKCLBH7Ezc3SsPQ12FwhVBp75ICej8xlPX4rgNiGvyDwMTCaLlGtgK4A== 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=yaEuLKzPxgiIQzvCOLHm5LexlHMCGMRFnxgBrrnyEi0=; b=F99bpYhRasFQZ7BbY58/4M6m/hveEWCoL8fMbDr5l9x4SRnTnn/VAPtxppRjb9vn893L1K1rsn7jAipiEIiTdjAu4rBGd1h9H82A/rW3duDoermr4YimPZB1zLGQZ37XxJbXeKCbSpo+N+3paLvFwCM2ITKQ8tQKPeoAfuHLp9tHjSn2eVYd9WdwX2T2wjmDOYSLaWGg3bB9iiihzbaURXCzLZkMeofasHuI945x9WtUwUUj/KiB7I2lx5U+1YHZucba3+vaFRDOKJmzBVngZ6SyUv0CTDC112jsZsgylsjqs0z8a17O4E/yS64TwTQJtERqDZAFFMXfu/XGKiurqA== 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=yaEuLKzPxgiIQzvCOLHm5LexlHMCGMRFnxgBrrnyEi0=; b=lk/TxieCqz85oE6MnQadt1fkgwJmLgCGsVOeYnL+wBCMMhyRBx9DvUi3KB/qyEorPPW4OmQkKxMXlvogNCgknIQQgBAjx3YhSXTLBcK57PGrrixqDEeVnwZA3IRkaRzXxRM8d3/LvWp4eG0Fc4LP48XmtpzBuuw9NNfLgpXHZFPClYtc89P4XQ5U7dX3kOJsE4UxWdWAkbG1QIRzkcexlHQqar5umUq48nxzv7FfqkrtfVvMafLfLN06KFK9qIR105KKzrC4rH8scABNljlMzHxRXXQiTCPEwwOsVoimUOwSETmykIzSpJj9wOP3ebYeU43La3KUzRl1gXthDKbB8w== Original-Received: from AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::45) by AM5EUR03HT094.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Fri, 5 Jun 2020 13:01:15 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e08::41) by AM5EUR03FT004.mail.protection.outlook.com (2a01:111:e400:7e08::163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Fri, 5 Jun 2020 13:01:15 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:274F10AABBE852FB7F122F54A96CC7B10D91B57B9A3EDEDF6DFD4FEE6409B8E1; UpperCasedChecksum:1D5F580862D01FA199BFA68B8CF8E4B27F830CCCC5001AC94C5FD2195F7F7A90; SizeAsReceived:8334; Count:48 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5%7]) with mapi id 15.20.3066.018; Fri, 5 Jun 2020 13:01:15 +0000 In-Reply-To: (Richard Stallman's message of "Thu, 04 Jun 2020 23:12:34 -0400") X-ClientProxiedBy: AM7PR02CA0023.eurprd02.prod.outlook.com (2603:10a6:20b:100::33) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <871rmt650m.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM7PR02CA0023.eurprd02.prod.outlook.com (2603:10a6:20b:100::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.19 via Frontend Transport; Fri, 5 Jun 2020 13:01:14 +0000 X-Microsoft-Original-Message-ID: <871rmt650m.fsf@live.com> X-TMN: [cCLHKhMd5jrvGXtFXdSZ7PYqhojfAIHc] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 3f4b95e7-3799-4393-1c48-08d8095087a2 X-MS-TrafficTypeDiagnostic: AM5EUR03HT094: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BtxNnJlIILrJqifpQY/073quAgLoZOYqYmv/kFoZzmchcXgUSi0HZ0Zxc//oVdBcWKumwv2HIG1cozgcpg5HGlr3/ZeFLPwqwu6Gl537/6qD63mCb+VAwE7cURGoMoI1Rcx13jD6ltlmI2iE25sjzG5zN83dBY8/Uy7udxNCU5UlusTqrN/H0XJW2v4VfRWmTqEdEs9WC4yCqaO/CMLW42KDGdVRjJxElbTLan5LkQo1Lk4qDIk3DsWKkj1bbdSQ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: cGwKOEbtYbb6142KoSXwAhWnez8gCY3ZBpqQDYx401+LhkLjSwYmxByg6AIO3Yjz0/Azndc0R8HftAJxuqXscyjkJPuxGLnJMQPTXHZGunYKodpiFUsi0o/rLzNNHPzcqIMQeiYwOFH8s+VGTCne6A== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f4b95e7-3799-4393-1c48-08d8095087a2 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2020 13:01:15.6963 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT094 Received-SPF: pass client-ip=40.92.72.29; envelope-from=arthur.miller@live.com; helo=EUR03-VE1-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 09:01:16 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:251895 Archived-At: Richard Stallman writes: > [[[ 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. ]]] > > > > When I write a pamphlet using Libre Office, I need to see how it > > > will appear on the page. I need to see where line breaks and paragraph > > > breaks appear. > > > > > > I want Emacs to be able to do tect processing that way. > > When you say page, you mean a printed page on paper? > > Of course. A pamphlet is for handing out. > > > Can't that be helped with some of live preview options for a pdf or ps > > or latex format? Auctex maybe? Or maybe some of org -> pdf/ps + DocView? > > It would probably take half a minute each time. I am sure you > understand the advantage of WYSIWYG. Especially when the text needs > to fit in a limited space. I understand that wysiwyg is easier and I understand your concern for delays. I believe those delays would not be noticable for a pamphlet (A4/A5 size?) if you used html as intermediate format. Anyway what about if emacs had a print-page-mode as a minor mode for displaying some printing hints in text modes? I am not sure if I can write such, but here is idea: * provide a database of predefined paper sizes as specified on: https://www.papersizes.org/a-sizes-in-pixels.htm to be used as templates for width and height (in pixels) * advice insert funcion(s) to check for current line pixel-width and pixel-height. If width or height exceed template width and height then insert ^L to denote page break and move point to next line and insert text in next line. If width is exceeded maybe it is just enough to move point to next line, but when height for a page is exceeded one would need a special char to visualize page break. As I understand Emacs already has some support for page breaks (^L) as I learned myself very recently :-). There is extended page handling in Emacs and also a mode called PageMode: https://www.emacswiki.org/emacs/PageMode I am not sure, but what I think is missing is just to tie those things to paper sizes and automize page creation based on some paper template which is nothing but a pixel-width and pixel-height. I am not sure, I haven't used PageMode myself, I just learned about it. I am not sure how efficient it would be to check for pixel-width and height on every char insertion, maybe there is some better way? It would be nice if Emacs could draw a thin line to denote edges, or a rectangle of page size below the text as word processors do, but that would ask for some c and exposing of some graphics (XDrawRect & co) to elisp?