From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Run `window-configuration-change-hook` in Lisp code? Date: Wed, 06 Nov 2024 20:40:16 +0100 Message-ID: <86ttckxian.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27617"; mail-complaints-to="usenet@ciao.gmane.io" To: gnu-emacs-help@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 06 20:42:02 2024 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 1t8lui-0006rE-DT for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Nov 2024 20:42:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8luE-0006ti-Nq; Wed, 06 Nov 2024 14:41:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8luA-0006tB-Hh for help-gnu-emacs@gnu.org; Wed, 06 Nov 2024 14:41:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8luA-00019A-9S for help-gnu-emacs@gnu.org; Wed, 06 Nov 2024 14:41:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by fencepost.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8luA-00073d-12 for gnu-emacs-help@gnu.org; Wed, 06 Nov 2024 14:41:26 -0500 Original-Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8lu7-0000xE-Bs for gnu-emacs-help@gnu.org; Wed, 06 Nov 2024 14:41:24 -0500 Original-Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 03CDC11401C0 for ; Wed, 6 Nov 2024 14:40:22 -0500 (EST) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Wed, 06 Nov 2024 14:40:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1730922021; x=1731008421; bh=kHL2oAfIrX76uOY/hQqzEi2v4U7KROlL s+pbQjLG1Fw=; b=TlfTvY7ZW2rlSo06dpXF/zicDiR/MSnEyDNXXrWzAbbhyZVL 0K9j+ysf1+flJedG5kBIeBc3ukDn9+JIW20gkYGYfGKafe/mBScYDEvJwx+Gg88V PJAB0dkqFA5XTlVa4ooacfhRIWXxjuGXWHujxgjwwbCZHDTGwdYVYHzPrS+hd7uo dJHXWggyfKd+AnaQ521MmDU2cfFiJ4FHEBisDwinUdklAZs6C3AXILyIrrgh0PFV l1KtcVtuRUC7/XSIQMz4apPWY8UQfw+IClhVDafI9j/hv1pJLsSo5fF05bCDLtwW +CgHvV7w2fFYo40nHMH3nrBqy9TvBbu8CPTPhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1730922021; x= 1731008421; bh=kHL2oAfIrX76uOY/hQqzEi2v4U7KROlLs+pbQjLG1Fw=; b=o Rwdlpnlyc+byGPNISmd+sDhjuvKKf/ch7vhgSjNhI1t3EgWNm59Cqmv3q9K6DAcC LbEN5WdT24HNpzzDTafjhjyAG9qbiO+pykUE3gV7IctE0tfvF7y0A29YlvUNah/0 gDWOzexkOJx6fyK7G+0K6SH1uT0VorCAxygl87u+doePDXiwcDP1pJjXVqSaN8cH RC1E43YGKg97q4dRpNiJyWEQUW/JsWrIDaT8yr6w48Bvo8z7wN9DxaEmRCrJ2Rki IgShzk9Otdfs92Uyl9wVC1h51+MtAWGmJAbaeclcHUOkooNm5ysHBP/d7BS3zP2x DqAr6iaBcptKNgXhV9k4A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrtddvgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkgggtsehttdertddttddtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhho ohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpe duleekudefudfhfeekgfettddugfevkeevgfeggefgjeefudduteehleekjeelveenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkh hrvghmvghrshesfhgrshhtmhgrihhlrdhfmhdpnhgspghrtghpthhtohepuddpmhhouggv pehsmhhtphhouhhtpdhrtghpthhtohepghhnuhdqvghmrggtshdqhhgvlhhpsehgnhhurd horhhg X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 6 Nov 2024 14:40:20 -0500 (EST) Received-SPF: pass client-ip=103.168.172.158; envelope-from=joostkremers@fastmail.fm; helo=fhigh-a7-smtp.messagingengine.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148279 Archived-At: Hi list, Something that just came up: is it OK to run `window-configuration-change-hook` in Lisp code? The doc string says "Functions called during redisplay when window configuration has changed", which gives me the impression that it's *only* meant to be run during redisplay, i.e., not during Lisp code. Is that a correct assumption? TIA -- Joost Kremers Life has its moments