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: Mode line at top of window Date: Thu, 29 Apr 2021 10:17:53 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24588"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: Emacs developers To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 29 10:34:49 2021 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 1lc28H-0006IS-5x for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Apr 2021 10:34:49 +0200 Original-Received: from localhost ([::1]:33048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lc28G-0000u0-9s for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Apr 2021 04:34:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc26Z-0000J1-W3 for emacs-devel@gnu.org; Thu, 29 Apr 2021 04:33:04 -0400 Original-Received: from mail-oln040092069097.outbound.protection.outlook.com ([40.92.69.97]:19685 helo=EUR02-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 1lc26X-0001qX-Ce for emacs-devel@gnu.org; Thu, 29 Apr 2021 04:33:03 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Li7v72Ih1Yl5zggbzZpe/561M0Ns+HDoGkxMWjES/uQ8UQDMOlpc1jjZEKGLKrRwXH7NcJFmde3gt1cxpphsLOgg/XVlRWQ9stPZStrRaFb22b5up0Bs5UvAbXWYjTr8IxObl9fpOO+0ICFIThkT3pNFfBs/G/YtrUyhFCrV59/4dVAWXb3YtVAoNPiAFimiA4dg01UPMSjxajokB0KnQNBv81o5pnn3utNY0lhlbIAno+Rv5DQfeoNNwGqwbMuojrECzaRI4Gi0+D3CmY4Lt6pN9lKHfWkannZiAkqIz7BOTykdShSfHuQrz9uy0KA4nxghIL55CNeCeZ5ci4C7iA== 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=FVRnBgfU/iBz6IeZ2jAur5NBDPW/zG/KA7RnovaZ1p0=; b=F8Xrm66g9i4Dm9ZkDr3io5q/LfEs3/zbaq4xItqnLhkhoN046onR0NP3gojsyNaE1XOE+IsuQMjSbdzFQnOIALLzib30/jXFJsiFpOtFrda0WxXP5o4RcPOegez8PGJQuj5Z0/u2b1lhEodYo6OFqOxnidcyguxIvyTi6zZ9bLzqV69cOBdCaox6Xp1PUkH50WhQATi46oCRMjVrOCZaEG+/1dODzMXKJusBdsXw4D5rNKrEaXVM0e6GGhBJwQvZDw87V/CbrYz1r28s81gEn+uoh2s9ytcVzb/IUBDFUg/JQhHrokyYSQQuhhKl94V70MOYO77QkJjXp2108bRTmg== 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=FVRnBgfU/iBz6IeZ2jAur5NBDPW/zG/KA7RnovaZ1p0=; b=uuEHA9UCYk20gMaM7VhGlDvL3fMr/2+ZTzAV1QAtMZcRLQ/2YKZ0fzmoAOBEX+YCLi1XbaVFfTvp1j/CHU7IfCVIwIrOFJDkm2eCwK1hKsb47znhsWcomjdjFhulxlmQnIHaQUwWiB3MB7gxjcMbqG/IwgLAfbjGCQSkppkLQ77zxndRHultnrSs2mAlAPHsgkTnVQFo9UsrW+yfrdDy1Gtq8pzKkntvJ5g/78CyFFNxC8HVjDJODikFo2mkdP6sP0TTS9FlrUAvWhXGogLfMZiu+OAvYSjtoD/1FPxQ9BUkCbLtH23fDeNmN5BOZUQpEHlf/hcW0XS6xT+3jsOveg== Original-Received: from HE1EUR02FT043.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1d::4e) by HE1EUR02HT147.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1d::304) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 29 Apr 2021 08:17:54 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e1d::42) by HE1EUR02FT043.mail.protection.outlook.com (2a01:111:e400:7e1d::396) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.27 via Frontend Transport; Thu, 29 Apr 2021 08:17:54 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:74BF81A99D8B3AA0363247103AE70FAC957145854F8E51005A08999AD160E06A; UpperCasedChecksum:BDF205DE02BC35A85CD6CCAB2D5253F7F0CAEFF8870B1D00B1F6F0E8EFD73768; SizeAsReceived:7471; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::d1c1:2a0d:3b2b:4591%7]) with mapi id 15.20.4065.027; Thu, 29 Apr 2021 08:17:54 +0000 In-Reply-To: (John Yates's message of "Wed, 28 Apr 2021 22:49:45 -0400") X-TMN: [sF88qrgWvZ0AvHlIY2p0NBNU45+KKMlb] X-ClientProxiedBy: AS8PR05CA0007.eurprd05.prod.outlook.com (2603:10a6:20b:311::12) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <821rat5wsu.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from HP-Laptop.homepc (81.232.177.30) by AS8PR05CA0007.eurprd05.prod.outlook.com (2603:10a6:20b:311::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Thu, 29 Apr 2021 08:17:54 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 8d68b833-9cb0-420e-475d-08d90ae749c9 X-MS-TrafficTypeDiagnostic: HE1EUR02HT147: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /KmfqDFreh06hwH29e1KU2yWVckvuHBsbT3L9x3NsIB2FZrz0O3viKullVroXvvgoN9ijI0cleUXQMXpyrCb6bFn0VwJIeSUnr9VmFHpG0pwAcqL5X+lZQvalUT/4brt/0Q7l695KQeDIf0oofgRnPFbIs+5Lc5azoNatZ5S/cKrb7EpbEnta0rI/OS6USPe64JZgXlxqLQzjOVUqOq39fJ8DMwkDcLKD1h+acmldsHw2fDrszGcYiN+f6Bq91uujTyaTtYRuUTYQd3RzKfbAaF56PYOrVpv2J1iu/+FUO6UiDxzIZXG5GUc0RVVB896U68HY6wA9xJtuMalNQobhGTJiIXA7j/mfUPRBhtb92IjVAhKlaHCwUta5SC0Qgur1yp2Z6pUDbORZVYH3O6cLMDBSmX0E/vHaCJRuv39Qj0E0bDH2U+DNDOa9mYGfn5OZvkvg51MjRU5kS5zDPtVWWIGJi0mwiUovGxmsjAzUH8= X-MS-Exchange-AntiSpam-MessageData: XtWFmG+FoetBM4iYrfRZrWN0ajIhv35RSHCnVlAK6Hw1JOF+YUOsxvFBc1Iy8cAE0rusdrlr9mfWue0jtt0gpAmyNVVH2swsE2UOgXhR3ABirbeB+i423E0CIrUoV1P0EtZ1y4V2GtqhH2wMdyZgGw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d68b833-9cb0-420e-475d-08d90ae749c9 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2021 08:17:54.6384 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR02FT043.eop-EUR02.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: HE1EUR02HT147 Received-SPF: pass client-ip=40.92.69.97; envelope-from=arthur.miller@live.com; helo=EUR02-VE1-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:268606 Archived-At: John Yates writes: > Some years ago I brought up the topic of using very large screens: > https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00859.html > > More recently I brought up that topic again: > https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg01057.html > > Lately, using mini-frame, I have realized a very liveable approximation > of what I had in mind. While normally I work with a maximized emacs > frame, I attach here pictures of a much smaller frame, intended to give > a sense of my current mini-buffer experience. > > A notable feature of my current implementation is that I position the > minibuffer over the frame's title bar. Positioned thus, a one line mini- > buffer does not obscure any window content. The downside is that, > in order to position the popped up mini-buffer frame outside of the > selected frame's native boundaries, that popped up frame must be > made parentless. That, in turn, has some rough edges. > > Were I able to position the mode-line at the top of each window (an > arrangement whose virtues on a large screen I have argued before) > then I would make my selected frame the parent of the popped up > mini-buffer. The mini-buffer would have to remain within my frame's > native boundaries. But that would be acceptable because, with the > mode-line at the top of each window, it would be one or more mode- > lines that got hidden, rather than any actual buffer text. > > Which brings me to my ask: Would it be possible, optionally, to draw > the mode-line at the top of each window? When you say at top of each window, you mean in the titlebar of each OS window as you show in your examples? That might be a problem, since area outside of an application window, titlebar, borders, etc, usually called a frame, is not owned by the application, but by some kind of a window manager. In X11 it is usually a separate application (DWM, i3, Compiz, etc), in MS Windows it is Explorer, as example. I am not an expert at Emacs, so don't take me too seriously, but as far as I know, I don't think you can display modeline on top of a window, but you can display a header on top of your Emacs window (not in titlebar) which takes same format as the modeline: https://www.gnu.org/software/emacs/manual/html_node/elisp/Mode-Line-Format.html You can also hide modeline, check for example this: https://www.emacswiki.org/emacs/HideModeLine There was also some package that used hidden modeline and displayed modeline info in minibuffer, but I don't remember the name, I think it is this one, but I am not sure: https://github.com/kiennq/emacs-mini-modeline Also check this SX answer: https://stackoverflow.com/questions/3050011/is-it-possible-to-move-the-emacs-minibuffer-to-the-top-of-the-screen If you are using GNU/Linux, you can hide window titlebars and borders with a right window manager for X11 (is what I do). Together all those hacks are not what you are asking for exactly, but they can give you an approximative illusion of what you are trying to achieve :-).