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 01:35:00 +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="30734"; 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: David Masterson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 22 01:41:12 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 1m6Lpv-0007o5-87 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 01:41:11 +0200 Original-Received: from localhost ([::1]:60724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Lpt-0001vo-N8 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Jul 2021 19:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6Lou-0001vf-V0 for help-gnu-emacs@gnu.org; Wed, 21 Jul 2021 19:40:09 -0400 Original-Received: from mail-db5eur03olkn081f.outbound.protection.outlook.com ([2a01:111:f400:fe0a::81f]:10191 helo=EUR03-DB5-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 1m6Los-0003EL-Ap for help-gnu-emacs@gnu.org; Wed, 21 Jul 2021 19:40:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IEMzoK9VJ+hPyfDmolRksjhtvtxz82+OmmCJWyA20TIZlOQgsusFXnRlNcOqDs1RKboDOlm+Us7pHiWUqLgzNx9n44vIdY/FDsBszsOROAnumBtcJex7uwLYkX+XuH2PjiK6dCaN/+Sy98AOMYA7b2W7k+BkOFxXdlt5MaEw/Cs3nK3TUJYymJKqFrEKicEf4YQJXpggYfBKZygJY9zZIWITDPBrx3htUqDkEm7KiUgtB147VlYrd0z7C3/A/XRnZ88avfUzUKFoY8rc7+VpBltBW2OeUCQ4oRtdRHgYi37gd0NC6L+Si5Oc8UFGZnvAd648ehLn9ftrfHdXm9BRmA== 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=d3tQFMAZ+eY8ya5edNGAhIIcm4egoey8QEjcdUQ/Vb4=; b=hd1FHQMVNa4Kr1rDJv2eSGqEEK1WacnhR2vtgzyrygmjrjT9fdge5hWdIXYk+Y/BaaXBz0OfvYTCewcPvBaVZ7D1HaCJbb8JSV9pU/uKgQJEC/CfPzH9ngdicaJrQDgCfWBCcQUoTmbGdbETtbw7fVQizW3cCoqbjySpq13DHZAWjDJgjTVe3WnKpOt+835eLKDZgQUA8jWM4ReHvh9KbT90nSOcI3RKHWRPg/eAwMf3u3bjxdU7MYQW/re1jZVMK2f00ziDjjhnz7DYTzB0el27QkAY6EQTbxdBUwP7DKMDPtkrcOSxVgue78Wh2nuv9/oIQchmQpzssg5/o8OUAw== 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=d3tQFMAZ+eY8ya5edNGAhIIcm4egoey8QEjcdUQ/Vb4=; b=Bt/ZrIWI1NgUbfkYuJdwfm0GfmGcm2i82Cm2vIidPQmgSCoxEZcxz0dSDZv7WB5ZYXFWsmZVAQigUWm+EXVuaGKoILjpsy8rv7Q5xauf1X73kWZCvl+t4i5fkfZy6QMZI5gJdEeKkMeszCJe0TKkZ1pqgtb1qcAhIwAbuKaeQVkLgylH1czKOWt3WHqqzLFTbYtaN2kjKXk5001AvppAlHiq6AXoH/ddgQ5//HV98uH+hEajdPEmICCiwdPWQX2DB1PcWBtk9Dua2/XvdblukyB5cSMIX1pFSTrpjxtyv6b9PS/ERA9cCMgcJIZBSNIND/RMzzU5EIsLvkMq33gpNA== Original-Received: from VE1EUR03FT038.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::4d) by VE1EUR03HT172.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.26; Wed, 21 Jul 2021 23:35:01 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e09::49) by VE1EUR03FT038.mail.protection.outlook.com (2a01:111:e400:7e09::368) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Wed, 21 Jul 2021 23:35:01 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:767C7E24925E30AF9250717C833C44158EF7FC07BDB87624ABD6343252D7B084; UpperCasedChecksum:8622E875BB5A9F858273B0DA327D51AFC68B053EE4C04730F67F0F2A9F1F582E; SizeAsReceived:7479; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b%7]) with mapi id 15.20.4352.025; Wed, 21 Jul 2021 23:35:01 +0000 In-Reply-To: (David Masterson's message of "Wed, 21 Jul 2021 16:17:11 -0700") X-TMN: [ctTWyVrXz9vA2GEA32HRngx8NzObheEg] X-ClientProxiedBy: AM6P194CA0072.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::49) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87lf5z8cm3.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P194CA0072.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Wed, 21 Jul 2021 23:35:00 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 08527dcb-dd65-4e02-87a5-08d94ca028a6 X-MS-Exchange-SLBlob-MailProps: NS9Gj58uCj0Kt1jazn5a3OsHfqFT9QhzWpx+mpbr9y5Q/48U9jPhTY9P1KCp9eYQMxQYsoO31Vl1vZdr5ZTnFCxnI4FRL3psbedTTWDSssKhR9AWaqGVWhWAwlPAuryoxSuz5RcDOebJE8ZBzPh42ymiOWAGrgv/XdCkOD5e7mhQssi8RHu8Hb89EmSyDOkXUB9ASSOAP12fTJKvMs5L0FMEKc2Fxf05G7539otb4dOHDQq+AK1TXv7owTYCc29I5jPX0XqTksXiDkefB19WR7UI9PeZhEGIdWNQgp4YBDwzRd0iV3poB+8JUqpS9H1xvX1IVqpgJ3/hJlQNEZrOFQEgna3FyTBrar1rqSktunc06iDW0d9sg0ZFPIR0+SMZabLa0e3MsarBBrd94EOgw/TCMa15Xc3Tga6v1jB5yjJa2WDjixAwHYIrjIbeJejMG3/E2hLrQhaYxuw0qG7nEgu4jJTtePwxFOjtOXx4aDFJKwep1BrtOwkdhm1cZImcQifAS3DKae5t74qOeOg8CxS8FJa3oQFEUDq/uWT2gdeGbOP8i8Ipug3QCsc4ZG4MX7iJp1ntv0SjfUWthFGl4R9UOks97th1jCDHNVHbmk/swxF1+MvQ2FKETbebFxEvx4DpnwOZ4iLK8q0w9XFHLAY8MTB/Cum997EL5/XIxPI5ixoayntTGJuBb6rdQnTVvjyxlShnTHXwX3Jm9m+7Lg== X-MS-TrafficTypeDiagnostic: VE1EUR03HT172: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m8xt4nIIwLs7caVboAYimGXJY6Bd68pE06zClWqnMkApEhS6b9bL9DzTG5mxVNJs+UOiC+l/+6pSpgHw0stJnaSfQ+Ujb3s/HpyjdcT8phwO3NYBnzVxiPjqZ/3TGKDkJPur8nWxTkw3/pX9tzd6+kyPR0A8zO1BVk/eLiyBax0DUGci9YcDrRs5tZKpsfUXMQVCYdadVZcJ0n1D59EnaMdcNQ938cJfTabo+eaS7BeEr4fyFi1b/EwQLoTY0rjToc9ru4HqzJMEY3V7BxhEsV7m7EQTcnDPeD3DAzfpeDKYXtWaoTtWhNkXLEMP+si0aZquExhZjXYHDx21eSUN3pxyLOyTkg6ndThXS6E78uWhBIuxbiYm63baLMUhmC8tNvkvmcOxRn+BN/eDv5vXlm5MuSR4fUgU5X/qKOmNkU9BjfIMqsh8XdIFxTGQMKSa X-MS-Exchange-AntiSpam-MessageData: hAukGerSxru3R64URcI5j44MOznNk9Snwusi0b/SYQpP1o0aJueTn8pIDoiK0WskE9m1nf9o48pVEw6FgpWFk8piaw41IsQJImtkvr+GhedkVzY9rxOlCN/dzrDUGWmp0mJcP/d0HAcy0drDJe5WTQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08527dcb-dd65-4e02-87a5-08d94ca028a6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 23:35:01.5094 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT038.eop-EUR03.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: VE1EUR03HT172 Received-SPF: pass client-ip=2a01:111:f400:fe0a::81f; envelope-from=arthur.miller@live.com; helo=EUR03-DB5-obe.outbound.protection.outlook.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, 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, 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:131985 Archived-At: 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? Don't almost any window manager has some way of doing this via a shortcut. Inclusive those used by Windows and MacOS? If you really have to do it from withing Emacs, you could call external app like xdotool (if you are using gnu/linux): M-! xdotool getactivewindow windowminimize or M-! xdotool search --onlyvisible --classname --sync emacs windowminimize You could wrap that in an interactive command and call it form M-x if you prefer.