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.help Subject: Re: minimize-frame ? Date: Thu, 22 Jul 2021 02:55:47 +0200 Message-ID: References: <87fsw78apm.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25191"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 22 02:56:36 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1m6N0t-0006Ov-Ou for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 02:56:36 +0200 Original-Received: from localhost ([::1]:53330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6N0s-00049S-9k for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Jul 2021 20:56:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6N0E-000494-8m for help-gnu-emacs@gnu.org; Wed, 21 Jul 2021 20:55:54 -0400 Original-Received: from mail-oln040092074058.outbound.protection.outlook.com ([40.92.74.58]:61912 helo=EUR04-DB3-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 1m6N0B-0003T3-Tj for help-gnu-emacs@gnu.org; Wed, 21 Jul 2021 20:55:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cBF4MgpecOVS27lfOM0D7BE0IJJQNREFHxknoJrtr5GNSXDelGH7Yg0fAPCXSyumXNh/R1bKCwQf/+vIvWBVlhHm9KV58sr0gj2j/VHVvg5WO5kL1uWxZ9HldUz4/KQOU8W0UThiX7pGG6qBTU8e4vXNUxPVgAFoHL3Vvo9qCHh5somDEl8xX4tVUjchszGstw3j5hUz7pWXZtJcavOs4BJGvFc77d6LF/21eUn1h9UkGNgcRAhkADaGBGxfSwxXVYLTDYVVBgBIfZ3tO/6QUTUbjLn/du/BjjIw4doyLe9S4SJcgNX8dLM5iqkWTRvqj/u4jmUvMbsMTr5EpcyGqA== 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=7x9FVecOLmoyABdXa4TZWovVa4V4y0nrYBwyzTOe/vc=; b=iU5PdgkMRqz8hBCfiF2qEeZsMV3U8C+s+428e2jTh7j1J8EeU2AZpMh3m3MB2sXT8M/bS9nz4B4m3JTQihPX5ihUhH56zSIFcODfMcRWhMs2SJ7z4WzeAglLVUqhMghLcn5EJtBhAC31I7KXHjfKHO5tsMyGOsiKt6Y1EK1CF1gczMvvfAI9UzeV6oRBqrqqHMyUmwCdIEH2IN6EOFZ6AR7F51Hs8CvkYl8y1YbzADYhhE7FVLnMQBw1f1D/D3pgPgK4V0eeq3Cup59+qp8MvaDJ8UHvDcC0h0wPSS3z/7hDhQ4ojXJQGwSxFBVej8yk7gCh6pcp//NgwNHR/fug4A== 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=7x9FVecOLmoyABdXa4TZWovVa4V4y0nrYBwyzTOe/vc=; b=ZT4ZJMzVyUhw4eghlD9wZunKjsuBL/uJ3/l38lmVRFscSi1ZZDq1roI6/P1o80LFYvqRSEHT0rc0r40xTzokH3SOsULdnm1+xowidGC4UMoDz7sEop94U81QfcA0LKpLSOFlRUoh/Gt5wTGBlyVQvdEdPru9s47YhN83DvBrr55NuHbWt21iilU72xzljL+HWSMA92IESYfhcMkpiDHpGQ9ceP/CaPD62rxl+y8U+e3xBZpWVIS+v+I5xNaikejYm7S5jPdezYJbvkJh3HitcMuc4VP3IzUji4L/CioPuXZ5z/CdYgYCdombJbqFcmvrWQ4O38FNnvL6KT5GCZ3WFA== Original-Received: from HE1EUR04FT041.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::40) by HE1EUR04HT106.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Thu, 22 Jul 2021 00:55:49 +0000 Original-Received: from DB9PR09MB4986.eurprd09.prod.outlook.com (2a01:111:e400:7e0d::44) by HE1EUR04FT041.mail.protection.outlook.com (2a01:111:e400:7e0d::134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Thu, 22 Jul 2021 00:55:49 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:88BE260FD3A57805A48DF1CEC8C73E7B850A6E29199E1E42AAA7E22EA9CFB404; UpperCasedChecksum:9B2EDBF661FFE0B30BBA7E7B769AFD170050B67A40D376AD4CE32EBAF8F04C20; SizeAsReceived:7438; Count:46 Original-Received: from DB9PR09MB4986.eurprd09.prod.outlook.com ([fe80::717d:18d1:6fab:6021]) by DB9PR09MB4986.eurprd09.prod.outlook.com ([fe80::717d:18d1:6fab:6021%4]) with mapi id 15.20.4331.034; Thu, 22 Jul 2021 00:55:48 +0000 In-Reply-To: <87fsw78apm.fsf@web.de> (Michael Heerdegen's message of "Thu, 22 Jul 2021 02:16:05 +0200") X-TMN: [38SLQTC4/fUnWKfGWXSCuFTeYPiD/Iz7] X-ClientProxiedBy: AM6P195CA0073.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::14) To DB9PR09MB4986.eurprd09.prod.outlook.com (2603:10a6:10:2a9::19) X-Microsoft-Original-Message-ID: <875yx34164.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P195CA0073.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:86::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.25 via Frontend Transport; Thu, 22 Jul 2021 00:55:48 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 34aca21b-20e1-412b-837f-08d94cab71c6 X-MS-TrafficTypeDiagnostic: HE1EUR04HT106: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MtE8h2U04C2EVvlp6mfndmymrfRvb68Ab//6C9GmebmBdNSiJD1q8fV5rnUcVv+UsbxrYlWdiuAzVembaSLmPogUT/TwoTWLREljpiPsfOU7D6ph0fmyKjDDdQTzm1Zm7qMLq4URekTc7o9P7VBNZltZD1ZvMtMoZ9NEW5OTs41cP3oWdGuj/A5tiwxYppHv8oUSe4EnWpVDoC6Mesus8A8700UzUAi1tQU0eEYeqGHh0MMJfSkQYL3BpteA8PmXtPV9P1E9kpWtjnjrTmE7ioVYE5TRwMrFTkKUtbiR/k5aHHvNAi5KaoyjGMJIPZYVqjCJo4/Cu115Nq5eIMujZtLcMFq4aO/HUAmcKoqxH6OYbNx7UATGfdUdycUW1ujqQ9SD83cCHkU1GwUSD5nt+UvzTnW+XI26KrH7j+0UvXUoZrXFEzP9liyZLUjfxYjuFMuiAT9EZS0ex50lVfQ+X2kIFVWfPZx2eVM9k+utR0g= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Z1ZqHrdbfBr41qFcqqaV44aVc0HbK2KUuLuxOyPJM2s2e6dvAk/fomS9tOvDpbp3feo/KJyjJEkbZHiEcqBFfUSc5KSzd15lCI3EnDzR40XbTU1/eF5Iq62B+k5Fymlua1I9croRT55qoG5t8y9Jtg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34aca21b-20e1-412b-837f-08d94cab71c6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2021 00:55:48.6338 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT041.eop-eur04.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: HE1EUR04HT106 Received-SPF: pass client-ip=40.92.74.58; envelope-from=arthur.miller@live.com; helo=EUR04-DB3-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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131991 Archived-At: Michael Heerdegen writes: > David Masterson writes: > >> Is it possible to have Emacs control the window manager? For >> instance, if I didn't want to use the mouse, could I setup a key to >> minimize Emacs? > > `iconify-frame'? > > With some minimal setup it's possible to use Emacs in X even without any > window manager. You then need to have the key bindings ready to > position and remove frames and such stuff. > > Controlling a window manager is a different thing. Depends on the > window manager then. Using xdotool or such things is probably easier. > One can do a lot of things when one has a lot of time... > > There is also an "Emacs X Window Manager" called "EXWM" - my > distribution tells: > > EXWM (Emacs X Window Manager) is a full-featured tiling X window > manager for Emacs built on top of XELB. It features: > > * Fully keyboard-driven operations > * Hybrid layout modes (tiling & stacking) > * Dynamic workspace support > * ICCCM/EWMH compliance > * (Optional) RandR (multi-monitor) support > * (Optional) Builtin system tray > * (Optional) Builtin input method > Homepage: https://github.com/ch11ng/exwm Bspwm might be an option. It listens on a socket for commands, so it should be possible to controll it from Emacs. https://github.com/baskerville/bspwm It does not even have it's own keyboard or mouse code, but 3rd party apps are used for the purpose. Emacs could act as sxhkd (a keyboard handler) to send input to bspwm. > I've never tried it since I don't like tiling WMs. > > Also a WM written in Haskell exists, I guess this one would be > controllable with Emacs, too. Or maybe ratpoison, the WM with "no > rodent dependence". StumpWm is written in CL if that would matter, and Sawfish uses own lisp dialect for scripting. > Since I use Emacs for most tasks anyway, I must say that I don't care > that much about rodent...usage, maybe others want to share their > experience. Rodents are just in the way, at least on laptops.