From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.devel Subject: tool-bar Date: Thu, 7 Dec 2023 09:20:20 +0100 Message-ID: <401DD7A7-AADA-443A-85FA-1ACD95DFFC0C@univie.ac.at> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25633"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 07 09:21:50 2023 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 1rB9dl-0006Ta-Tf for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Dec 2023 09:21:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rB9cm-00069k-Rk; Thu, 07 Dec 2023 03:20:48 -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 1rB9cj-00066r-QD for emacs-devel@gnu.org; Thu, 07 Dec 2023 03:20:46 -0500 Original-Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rB9cf-0007j1-Gx for emacs-devel@gnu.org; Thu, 07 Dec 2023 03:20:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev3; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=4kRW6+n84ZukdMoCvVysw+EZRnIJTVmvixRlO/+Pvj8=; b=n/2f7uvhKrr+sC5wAjVJhnzQ0D GuWfPeabtjLLcADFZCxdxttLNh8FqOxZfGFPFhRWqRNssvEE3QlPgNl49fz+NbmjUbJhibcYuLDSb e0lDk36SesKxO0G2B8Cx6D44AUckYVukBbSrWn9j6Iu2/zbOSWUzqx+3KVsiKEZ37q0nFa4Vn3NgE MB8vyQLcAfD0mXjH1cGhGjqxMhJ13UdXFzViShRExYX7NVDFRZrgszFNeYvihTutIgU+mLxQ+vg1A Dkju6VF6VYTOT9exZMxpD1aNMeyo/PGQI8b/8aR/yNonbBNEHcNPPjGeFepwZuGuHY3dAnmmkMjsy w+H00s9A==; Original-Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97) (envelope-from ) id 1rB9cV-0000000F8gG-0Lca for emacs-devel@gnu.org; Thu, 07 Dec 2023 09:20:31 +0100 Original-Received: from [41.66.124.146] (helo=smtpclient.apple) by jarvis.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.97) (envelope-from ) id 1rB9cU-00000007Yl6-3fHa for emacs-devel@gnu.org; Thu, 07 Dec 2023 09:20:31 +0100 X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at Received-SPF: none client-ip=2001:62a:4:25::25:115; envelope-from=konrad.podczeck@univie.ac.at; helo=grace.univie.ac.at X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313586 Archived-At: In nsterm.m, deleting the lines of code #ifdef NS_IMPL_COCOA if (! send_appdefined) { /* OS X 10.10.1 swallows the AppDefined event we are sending = ourselves in certain situations (rapid incoming events). So check if we have one, if not add one. */ NSEvent *appev =3D [NSApp = nextEventMatchingMask:NSEventMaskApplicationDefined untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:NO]; if (! appev) send_appdefined =3D YES; } #endif as done in commit 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9 on 23-09-11, = seems to be incompatible with macos Sonoma or Monterey. In both = versions, and with both an M1 processor and an Intel one, I got the = following problem, with these lines of code removed. I have pdf-tools = installed, and via the code in windows.el, I have both the pdf output = and some latex source code to appear in their own frames. I also have a = managed to have a tool-bar in the frame showing the pdf-outout, with an = icon for going from one page to the next. Now if I repeatedly click with = the mouse on this icon very fast, then, after 3 to 5 clicks, the whole = emacs.app begins to hang. This is not so with the above lines of code = still present in nsterm.m. Koinrad=