From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 11:19:19 2024 Received: (at submit) by debbugs.gnu.org; 3 Mar 2024 16:19:20 +0000 Received: from localhost ([127.0.0.1]:40995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgoYZ-00082G-Ke for submit@debbugs.gnu.org; Sun, 03 Mar 2024 11:19:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:55088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgoYY-000828-0u for submit@debbugs.gnu.org; Sun, 03 Mar 2024 11:19:18 -0500 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 1rgoY4-0008IZ-CE for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2024 11:18:48 -0500 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgoY2-0000Uv-UE for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2024 11:18:48 -0500 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a441d7c6125so456536766b.2 for ; Sun, 03 Mar 2024 08:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709482725; x=1710087525; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9khGogJN9/nxtguUQqOKRwCcbx/Djp1KvgtCQcblgns=; b=bolA/xdo2sXGiYIFGE0LDD6uyq3ju/Ea9HODAL4PmVTD7O2Q3vrKbwBd6MCBu5efsV zcp9ZgawG+5Zen+xyo5/7iuFJsqsM4Q0eVnwgnroL3z7VSunuoJm9fQVRJiK5UBqe9Fs htINRAd3Yk7sSXpGMW2fvVonJI8x8lk/Mm6StKrLYZtuy5HWEysEnx92jvjiNXjS2dE/ 1PmdfOaDDKyF0W/u8GGzsnOLjx3nJqhKfUWJ9YSSDEwiY9cMhPPdBBTxHj25iFYDFoh1 KAPGO0YF2L0xJD/73gwPIia7Atah+kGJl0TjL+DBO+sSt2ciOUwAhXqu6slRp7d62735 +JZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709482725; x=1710087525; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9khGogJN9/nxtguUQqOKRwCcbx/Djp1KvgtCQcblgns=; b=Z3XfRSA4GqXFA64Gid8QJ/P/ynAf9XjRc3MOLewYjBoUcbk7mkzErb4lysTXSTJRCA VIxE3zcxy4pP84WZXs3Z0o1dTmjufaw0oukGEp0IQ8p5KHCkmkAbWWBg50d7bMJARSIq 1caZFOQO/dstN91AMgSjiElKXNEm7Lg7CRkWztneEt+IVw3GqXWMQq6imc+zMj3xK74Q L06zverEL9NqUQHE8RyVOvBoRb4Kkd9nwCRG8sHfxM+0tOJqKK7dQiv+8h6fsDAcuTpe 8auFiTAvAkOnlAJ8Sb2ayfChurjVtIq0cr9Y9iewPo9nKAplH9YNDcOz5HbGPvB/5HV5 EtFg== X-Gm-Message-State: AOJu0YxavmCrmihLbZeui+moVF3QUf333YIKg8+hK0xyX/y0iVrPTP1r O85zfuHyXCwvMwx8Yoa+ons6zmg0ohXtQ9N8Y0yDa3MGmZDOVhkL4pzFwVhQ X-Google-Smtp-Source: AGHT+IEhKvyzyXpTyWvwBkIRBixUjV37txCttxJqE1GOQevvEsHDMn9HIaPcjIETXHofLS1eE/QsjA== X-Received: by 2002:a17:906:d930:b0:a45:2d35:2c22 with SMTP id rn16-20020a170906d93000b00a452d352c22mr664380ejb.64.1709482724879; Sun, 03 Mar 2024 08:18:44 -0800 (PST) Received: from Pro.fritz.box (pd9e36601.dip0.t-ipconnect.de. [217.227.102.1]) by smtp.gmail.com with ESMTPSA id k13-20020a1709067acd00b00a44f3fb4f07sm1340556ejo.191.2024.03.03.08.18.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 08:18:44 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: bug-gnu-emacs@gnu.org Subject: 30.0.50; MacOS: New warnings on stderr X-Debbugs-Cc: Date: Sun, 03 Mar 2024 17:18:42 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The following warnings are printed to stderr, which I haven't seen previously. Maybe canBecomeKeyWindow should be implemented? 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.3.0, NS appkit-2487.40 Version 14.3.1 (Build 23D60)) of 2024-03-01 built on Pro.fritz.box Repository revision: 862dfef88d8e62d12bac3ca2e44e035a2ff5b298 Repository branch: master Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.3.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 11:26:55 2024 Received: (at 69525) by debbugs.gnu.org; 3 Mar 2024 16:26:55 +0000 Received: from localhost ([127.0.0.1]:41022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgofu-0008Fu-Nb for submit@debbugs.gnu.org; Sun, 03 Mar 2024 11:26:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgoft-0008Fh-E8 for 69525@debbugs.gnu.org; Sun, 03 Mar 2024 11:26:54 -0500 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 1rgofJ-0002NK-Ut; Sun, 03 Mar 2024 11:26:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=obhyQwOYcFcUO9WzStS3j+DT1F7uKVmN0892/IUnrQg=; b=c5yVEMtUwUpUN2P9Sk/0 xa9NXPCxQKheG7lKSk+mKjEY73ADo4surKh07iIuXU/l//5Sgo4hE7vQto2dlFYk9/rfEPu4Xwcc8 1EINQkPDKqpZNxiXY1uLSgxJzZK3OuTN2gJLBANmlKH/25pTq6LzT5Uwbf8E4fpo2K0xAFLeB7oJb d6e7G1g7ABlG5Qnqhzq98TUdH5uSG1PM/leMLYSdkAoE9d6mR3keC4Ui0MQbr7UBeHFFj07Bck4sa KnTNnTeRPN41HhGHo73N4RpEH1Dwu2QFhwB/X+GWWUwaife2kENxmY+pr1WmP+XtSEuqxmtvS+4YM vDNE8awuPtj89g==; Date: Sun, 03 Mar 2024 18:26:14 +0200 Message-Id: <86a5nfnuxl.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= , Alan Third In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 03 Mar 2024 17:18:42 +0100) Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gerd Möllmann > Date: Sun, 03 Mar 2024 17:18:42 +0100 > > The following warnings are printed to stderr, which I haven't seen > previously. Maybe canBecomeKeyWindow should be implemented? > > 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. > 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. > 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. > 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. Alan, any ideas or suggestions? From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 12:34:56 2024 Received: (at 69525) by debbugs.gnu.org; 3 Mar 2024 17:34:56 +0000 Received: from localhost ([127.0.0.1]:41241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpjk-0001e5-G8 for submit@debbugs.gnu.org; Sun, 03 Mar 2024 12:34:56 -0500 Received: from mail-ed1-f54.google.com ([209.85.208.54]:61633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpji-0001dp-BK for 69525@debbugs.gnu.org; Sun, 03 Mar 2024 12:34:55 -0500 Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-565a2c4cc1aso5273764a12.2 for <69525@debbugs.gnu.org>; Sun, 03 Mar 2024 09:34:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709487199; x=1710091999; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4GPnyr9yA83nINvSVbiBxaPIs9MtgmbZReh2KEXOa3o=; b=gRtsyM5fH2pA/AX6TN4+aOu7X0EyWyB1WvsmCt1cwqtvHUHLrDZ1GI+IFzCDWi2lmu Z8iUsYIEfq1R8lCcYD534vTumO3o8x4ro7yG4Pwv/xOOnTtZ2uV5/mcodrmt4SvzlxFD Gry2e+VR+88YT90uN4yTbCssZjM/etCStVKBJT2znhoegI+vSitXPj4asy/K5M2ed7LN XqDFBtCzPvwa+Ff61kwyZ9eOCGoaPQ1FYRZSx4+QSUqHjS0HETuHxZz1WReqkC/dKhbJ F+3VS8mzdzWwzcUkHs/IoJ5OR9aKndn5bE1C0clQLgi/WWdLUbOTcpNYRQJgUgRjreaA 5j6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709487199; x=1710091999; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4GPnyr9yA83nINvSVbiBxaPIs9MtgmbZReh2KEXOa3o=; b=gPmD8122fD+EaRxJ3l7fkZ9AMpAINCOL/k6k4EC8fjcrXf2itunqu8cC4T10dKV4P1 9zByZ+P/apBRRKU3daYeRTNzJu0/vPg2nRTpHnoVvgO/Oc6/47fdBmd3sB0GSZI7y+ek nQmFegikA9SoD2AswHLFSl0aaAEPS/4WRCIIdveKGbTKwZYOlNYjlnBcr471cXB/nSi7 8/OPmLJ/NJYQPw7PS+Roouxk4qOCyqqvyvSVrG/R+kjANiUtmxKafiwqYx64FBSTIP1y nBiKi9Ty+w2ftYw/4HSmJA8EavM2X/bqk8iSzXdHP8Oxuh5JclN2s/2oTDklHswMKUAw Sv+A== X-Forwarded-Encrypted: i=1; AJvYcCVZXP4LzwNbuW1xcIhq3y/urlOr6BDvv78iGnC1BIl5HHl94qdZx6gf5KMHObyhqwE2khuUBzBthib9rVVTIHhVSHF1P6c= X-Gm-Message-State: AOJu0Yw/eMXj0Af6NtJD7qZJ/aD4OZU4/izoj9yAOBbnAfTR6WuLr12E 7Z5cDJNp+QwUZd9DodcAWMcmmjUjS1puqIQtI0geM85SYlVFivenMiLhjHlx X-Google-Smtp-Source: AGHT+IGNI5c17G4jejPrbr93HdtYzUnbHkwqU9drfaMc6a49CNOKI8lc2hfojHeq/oge/zbLBe9WTw== X-Received: by 2002:a17:906:bc48:b0:a44:958:c3a4 with SMTP id s8-20020a170906bc4800b00a440958c3a4mr4346718ejv.32.1709487199132; Sun, 03 Mar 2024 09:33:19 -0800 (PST) Received: from Pro.fritz.box (pd9e36601.dip0.t-ipconnect.de. [217.227.102.1]) by smtp.gmail.com with ESMTPSA id gs4-20020a170906f18400b00a449d12cdc5sm2547749ejb.119.2024.03.03.09.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 09:33:18 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: <86a5nfnuxl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Mar 2024 18:26:14 +0200") References: <86a5nfnuxl.fsf@gnu.org> Date: Sun, 03 Mar 2024 18:33:17 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Date: Sun, 03 Mar 2024 17:18:42 +0100 >> >> The following warnings are printed to stderr, which I haven't seen >> previously. Maybe canBecomeKeyWindow should be implemented? >> >> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[N= SWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned = NO from -[NSWindow canBecomeKeyWindow]. >> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCur= sorUIController activate:]: EmacsView doesn't conform to NSTextInputClient = protocol. >> 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[N= SWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned = NO from -[NSWindow canBecomeKeyWindow]. >> 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCur= sorUIController activate:]: EmacsView doesn't conform to NSTextInputClient = protocol. > > Alan, any ideas or suggestions? I think this could be related to tab-bar-mode (C-x t 2, ...), which I started using today. I'm also observing frequest beach balls (freezes) with tabs. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 12:38:08 2024 Received: (at 69525) by debbugs.gnu.org; 3 Mar 2024 17:38:08 +0000 Received: from localhost ([127.0.0.1]:41245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpmq-0001jI-31 for submit@debbugs.gnu.org; Sun, 03 Mar 2024 12:38:08 -0500 Received: from mail-ed1-f41.google.com ([209.85.208.41]:54617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgpmo-0001is-Me for 69525@debbugs.gnu.org; Sun, 03 Mar 2024 12:38:07 -0500 Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-566adfeced4so3740068a12.1 for <69525@debbugs.gnu.org>; Sun, 03 Mar 2024 09:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709487392; x=1710092192; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+LuWTc4CHrZcv4uk+Mcw88a5hl00vEn9hiNlg3Ng9XA=; b=hwjMeykKEQBA2FxoUJtFxaaEXaJREWT7PYL6N8Tn1CnQtiMSXjXVBv+DNTIR64pb2G N+b9OjIuYcjlkUyRkozOLCV1nqRbDoHYVe7dhJ+pFhjGAcDF2SHIliSTtWxXhojSAnaK Wql4P4sHZOykIlcZ9+zZu+AKWGgQiKsuVjN9UALz3PkT5x+yr7uml1/Gd9yv4jzWBtWg iAOe3hsJsMhdueWGuWATzDeH+mko3UYITOUVgarvQkybiQzmzUw7NphkSdZhULnYhYIZ 4SoHCupwlaVbAUljI1wxUJ7j/CJMLM2xcMmryKYR2zzTaZrG2MYDrXCyQ7A/LV47tZ7i uVdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709487392; x=1710092192; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+LuWTc4CHrZcv4uk+Mcw88a5hl00vEn9hiNlg3Ng9XA=; b=fV/mVGcGrrLRJBRKGYF+3rXmI0wd303FPUO0TRgIrLafY9SvMs4+qtChqnlxRo3Akh FEk4ivJ7pc2qkJKM5h37YItW/0MOLsPzTMT3W9jlwHmO1bZKOtP4mNoXOwoQyDVCkUDy 3t5c4ZgB6NVTor2DTy3/woGBllMAgWL7EgLb2Q3X+17bpn6DdkuDd8Z1rbHqgCCkTJGC w6pAuJpXg9xjYXwJJpvqApvVf5tAgBgldUTvHB5I00MxQH+OK+foZOdLcC4zj1JEH3YZ rg5TC1FfNrwxyvfXTeGUviMfOFWzL+qoPpAFAIclwXHEjMhlj3U7ukla4ewLSPiQL/4Y X2Bg== X-Gm-Message-State: AOJu0YzSaYQ1IosvB+s6ISaWRI0ZYHsUHyl0E0SjuWXhk4qhSktkoMPl JOlOiN30i1BdjEe6G8kKL44P6KtnaEDGV6AlYik8fI0bNk7XeqDixtKjMA3X X-Google-Smtp-Source: AGHT+IG5r2uayJnOSynMI3452qOvippnt0wKoK9kWlPI6KuIBI/olTiNAtCM3aiowvLqopTpROuxyg== X-Received: by 2002:a05:6402:8da:b0:567:45bd:312b with SMTP id d26-20020a05640208da00b0056745bd312bmr560241edz.32.1709487391524; Sun, 03 Mar 2024 09:36:31 -0800 (PST) Received: from Pro.fritz.box (pd9e36601.dip0.t-ipconnect.de. [217.227.102.1]) by smtp.gmail.com with ESMTPSA id h7-20020aa7de07000000b005664afd1185sm3688373edv.17.2024.03.03.09.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 09:36:31 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sun, 03 Mar 2024 18:33:17 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Sun, 03 Mar 2024 18:36:29 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > Eli Zaretskii writes: > >>> From: Gerd M=C3=B6llmann >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 >>> >>> The following warnings are printed to stderr, which I haven't seen >>> previously. Maybe canBecomeKeyWindow should be implemented? >>> >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[= NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned= NO from -[NSWindow canBecomeKeyWindow]. >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCu= rsorUIController activate:]: EmacsView doesn't conform to NSTextInputClient= protocol. >>> 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[= NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned= NO from -[NSWindow canBecomeKeyWindow]. >>> 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCu= rsorUIController activate:]: EmacsView doesn't conform to NSTextInputClient= protocol. >> >> Alan, any ideas or suggestions? > > I think this could be related to tab-bar-mode (C-x t 2, ...), which I > started using today. I'm also observing frequest beach balls (freezes) > with tabs. Beach balls of death, i.e. Emacs doesn't seem to recover. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 13:07:14 2024 Received: (at 69525) by debbugs.gnu.org; 3 Mar 2024 18:07:14 +0000 Received: from localhost ([127.0.0.1]:41287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgqF0-0002af-Br for submit@debbugs.gnu.org; Sun, 03 Mar 2024 13:07:14 -0500 Received: from dane.soverin.net ([185.233.34.150]:48385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgqEx-0002aR-Sb for 69525@debbugs.gnu.org; Sun, 03 Mar 2024 13:07:13 -0500 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4TnqXD1lWtz6s; Sun, 3 Mar 2024 18:06:36 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4TnqXC22DZz5K; Sun, 3 Mar 2024 18:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1709489196; bh=I8KwouSuRCPwt22vaNrPchJI4CEPtMjZ7LwtG6y2Ubs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CD25gHg4Ig/L2uedBo47yu/bbid0nveO4LTWReTIH8VpxX1buqdp+aGuIi6LsGGvE IUfay64a5y44XFjM20pIp/fLnbteUuR/b4uMR7M56YTLwi57ieKkyAnL9uEZ4oZ2jJ QS6j0oVvadSGOVKyVGErf9uVtwNqb2F3MsmLNXe5HFTyDtqyc5LBCwdBLunpb7dsHh P5wlngzx4e8v4PP+/wD/tKWMxnLhLHWr2pII6gE9YCzu1W4i+82ZMctLtPhZPtlYsF s0e0nTYUnP5gv9NbCFekOKWvU+wJGFniQAlhut9tdDcXF8ztlHEjSUIlPzs41qCrPK 88/dJzU1x6bCA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1rgqEM-001ip1-2Y; Sun, 03 Mar 2024 18:06:34 +0000 Date: Sun, 3 Mar 2024 18:06:34 +0000 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 69525@debbugs.gnu.org References: <86a5nfnuxl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sun, Mar 03, 2024 at 06:36:29PM +0100, Gerd Möllmann wrote: > Gerd Möllmann writes: > > > Eli Zaretskii writes: > > > >>> From: Gerd Möllmann > >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 > >>> > >>> The following warnings are printed to stderr, which I haven't seen > >>> previously. Maybe canBecomeKeyWindow should be implemented? > >>> > >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. Odd, Apple's documentation says: The value of this property is YES if the window can become the key window, otherwise, NO. Attempts to make the window the key window are abandoned if the value of this property is NO. The value of this property is YES if the window has a title bar or a resize bar, or NO otherwise. Is there anything unusual about your frames? > >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. I don't have the first clue about this one. NSTextInputClient has apparently been around since macOS 10.5, and I haven't heard of this problem before... EmacsView *should* conform to NSTextInputClient because it's a subclass of NSView. > >> > >> Alan, any ideas or suggestions? > > > > I think this could be related to tab-bar-mode (C-x t 2, ...), which I > > started using today. I'm also observing frequest beach balls (freezes) > > with tabs. > > Beach balls of death, i.e. Emacs doesn't seem to recover. Please try reverting 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9. I expect that'll fix the freezing, but I don't know about the others. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 03 14:31:12 2024 Received: (at 69525) by debbugs.gnu.org; 3 Mar 2024 19:31:13 +0000 Received: from localhost ([127.0.0.1]:41331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgrYG-0004hi-Gd for submit@debbugs.gnu.org; Sun, 03 Mar 2024 14:31:12 -0500 Received: from mail-lf1-f43.google.com ([209.85.167.43]:52367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgrYD-0004hS-Lx for 69525@debbugs.gnu.org; Sun, 03 Mar 2024 14:31:10 -0500 Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-512d19e2cb8so4462411e87.0 for <69525@debbugs.gnu.org>; Sun, 03 Mar 2024 11:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709494174; x=1710098974; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xVPZgNZiHc/unEYinA/gc0PlebcIK85qS2iwH/s6buY=; b=V//08EQLN+a/uPH17iWsg/QMizCycDp+AmRnLWKIPe6SRlx6LQXMpwwJjisBItMEHK rcz5JC7vlqtfdtzx7I+cMRPvyXPclu1sLyLuCtEVwG3N26jH/Iq1HB1vdZ82NXJ/y29o lhEWgI+ZWOlQdBCm6NHYMlkhXsXeKX5zzz1QCLfkj4f3zrY5qQam3s6YBB6s6ilVb+F+ ED8bsQM2YvzTNMaP+7jEhTY4mX4m2gTqLqSlq2/M+we4yAjxdQdfrdXHCoQEsyTWDoQy T+9CVwn6rLtdbhJXzQ/tNFM3I1sOgLT+iHu2j1As3FMtKoIiMrW/x6JjPJ0Rwamv6jVF q+Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709494174; x=1710098974; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=xVPZgNZiHc/unEYinA/gc0PlebcIK85qS2iwH/s6buY=; b=HXK5W4CtF7h75IdbzppXCJkVFa3sPWmEgddzW+9tUEZRDmx2hWQ7THJWVeTpVpbdlp DBVhrJAwFOsyJgFuZPHKwkt6vdqsBUdMX6WHTF9pRPlzIlxVDMvCA6ktvFQRbgQ0MMjp f88LG4HORxtukRBnXVRNf89+jmimIXPmzhC4e8Yw50Kfjf+bfZliGCaGhSrrl9k0LarQ yrn29KoMC+ITG1grn3DOpOe9ZHIG4WNXi3CM4VhO6wkRLLrAfzzlbxRgIWLHxUy2F/4d y9A0nmxrQt+sHojRHF21vGge56LO+QGH3DEenwJocjdTUWWap73/tsLq+IhNdt7q28I0 l6Xw== X-Forwarded-Encrypted: i=1; AJvYcCXI8ph70VyEAWV9o5FEeCbcmszM/u7Ntyctuy7Z+oLuH0ji5FmKy547uVs3LYy1m0XnuU+Ked420VJDyv1USUKXqFi7byM= X-Gm-Message-State: AOJu0YyKERLpihl0dZAy1wJRnQ1Q8MyCsXGlAYdv/foz2u+oschSXhKy g447hovJgUisFOSD8gRr9hQt5268zD2WbVtk3tS0AnSUZooAtFjEMPG3BEWd X-Google-Smtp-Source: AGHT+IH0gIbslzsSdZ/2Kdhp0byc18BKvm5Qavv/fgT9+dGqL5z6gQe7/rxTscx8/KWDEpBsCsq0Dw== X-Received: by 2002:ac2:599b:0:b0:512:f6d3:9998 with SMTP id w27-20020ac2599b000000b00512f6d39998mr4479830lfn.17.1709494174170; Sun, 03 Mar 2024 11:29:34 -0800 (PST) Received: from Pro.fritz.box (pd9e36601.dip0.t-ipconnect.de. [217.227.102.1]) by smtp.gmail.com with ESMTPSA id vh11-20020a170907d38b00b00a3f45b80559sm3967036ejc.139.2024.03.03.11.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 11:29:33 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Sun, 3 Mar 2024 18:06:34 +0000") References: <86a5nfnuxl.fsf@gnu.org> Date: Sun, 03 Mar 2024 20:29:32 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > On Sun, Mar 03, 2024 at 06:36:29PM +0100, Gerd M=C3=B6llmann wrote: >> Gerd M=C3=B6llmann writes: >>=20 >> > Eli Zaretskii writes: >> > >> >>> From: Gerd M=C3=B6llmann >> >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 >> >>> >> >>> The following warnings are printed to stderr, which I haven't seen >> >>> previously. Maybe canBecomeKeyWindow should be implemented? >> >>> >> >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning:= -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which retur= ned NO from -[NSWindow canBecomeKeyWindow]. > > Odd, Apple's documentation says: > > The value of this property is YES if the window can become the key > window, otherwise, NO. >=20=20=20=20=20 > Attempts to make the window the key window are abandoned if the > value of this property is NO. The value of this property is YES if > the window has a title bar or a resize bar, or NO otherwise. > > Is there anything unusual about your frames? I have menu-bar-mode, toolbar-mode, scroll-bar-mode nil, and I use 1 frame in full screen. I also tried to use tabs today. That's when I noticed the messagers, because I started Emacs in LLDB to maybe get an impression where the freezes come frame with tabs. (No luck so far.) Don't know how tabs are implemented, maybe these are also some NS widget/view? > >> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] >-[TUINSCursorUIController activate:]: EmacsView doesn't conform to >NSTextInputClient protocol. This also appears when never using tabs in a session, BTW. > I don't have the first clue about this one. NSTextInputClient has > apparently been around since macOS 10.5, and I haven't heard of this > problem before... EmacsView *should* conform to NSTextInputClient > because it's a subclass of NSView. > >> >> >> >> Alan, any ideas or suggestions? >> > >> > I think this could be related to tab-bar-mode (C-x t 2, ...), which I >> > started using today. I'm also observing frequest beach balls (freezes) >> > with tabs. >>=20 >> Beach balls of death, i.e. Emacs doesn't seem to recover. > > Please try reverting 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9. I > expect that'll fix the freezing, but I don't know about the others. Thanks, I'll try that tomorrow. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 04:14:04 2024 Received: (at 69525) by debbugs.gnu.org; 4 Mar 2024 09:14:04 +0000 Received: from localhost ([127.0.0.1]:41912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh4OZ-0001V8-RQ for submit@debbugs.gnu.org; Mon, 04 Mar 2024 04:14:04 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:49358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh4OY-0001UT-NX for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 04:14:03 -0500 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33d8739ddd4so2276894f8f.2 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 01:13:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709543547; x=1710148347; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vPomFGLoZLITUBvE1Yf+UW4RYBoClaVVZVbNahSYKn0=; b=RGgwG1SFGTWDdQddh5LlD5HmkICGJA9Dja3DWxQ8FP1pTWeW239D1DmrmbqR1rjmKG Z1QGNEF/evdzQyPiQWCNi3E6ELD2yI2sghi3PmBGShqKJ+szeUEibmZ+ucbpZ4WFAWHO i/StpIEPXrcYVm94vezd1ZT50cB/O7BOwk1J+tpj3xF2PavnktFXcUJAbQ2Qj39GXgaQ 7RQ1rZGK7Qwd0lkBPyvgetO4s7kwrFa2bpHdi4RIt7jtCqqhUiMj3uOPVQpqiPvmTAww vuHjpNTA4YP8d5jtXdyNVX97DWdNXtnqFG92fflMxs4FroJ9YObYSB0SGvMQwb6ignLy 89Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709543547; x=1710148347; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=vPomFGLoZLITUBvE1Yf+UW4RYBoClaVVZVbNahSYKn0=; b=Ty0TfXenJLoAzi+ojwPowyyxevDx3U0vLNl7PUV6a0MlMVny+hH++zTBczVQMmritP PfAFbdwfRuQmbhPwps9HLHoB+ym/LR++Vn9vAWR+L+hGlCe2KIGKOhFARP1wJpZdVh6K fqljzCQL4Gyp/hTTLxpSC9CibnKr5nbJN1mtN9MmZiYTTNAhXtzNMAlezTNxrzUsuM4F 8DApffXa0YS8Tx5ES9hJg9nrqUlKmPwRR7iscrQYDgr0dfD+F/6FnYwVzbCCfoezJvSR 0ZiBnVeHPlE6MtG7sL2Oe3VKutLthpwXubF+rVRvik78Fy9EONe5X6qrCUOU4WOz3dbb jrIA== X-Forwarded-Encrypted: i=1; AJvYcCUsRIHFK8c5n+U+IgKKetk5Nod4vcGmzrfstMXdaDoHWVVwmZxkVjzPknJfdGeDdynFtbEmpUgAIir19vBaJsbED/fY7z0= X-Gm-Message-State: AOJu0YzcAEFPlwzgl0IdTj0LAeifDIrSAQQO6XwHwZ5BnccItyBDJceh 6jBS+xdasZ30KzHCnzmN9hQ8ifT5YruZKd3cYG7ZT6YmzBTYnD7uukB2Cc5G X-Google-Smtp-Source: AGHT+IEGtFUmiy3OMTTzVhn9A7InBYPSAkp2wzQwgd+wl/hWComoZ+IMKSqM1ZvO8C0RDyNwUUdn9g== X-Received: by 2002:adf:e0c4:0:b0:33e:22d1:c3c with SMTP id m4-20020adfe0c4000000b0033e22d10c3cmr6289880wri.36.1709543546523; Mon, 04 Mar 2024 01:12:26 -0800 (PST) Received: from Pro.fritz.box (pd9e368a9.dip0.t-ipconnect.de. [217.227.104.169]) by smtp.gmail.com with ESMTPSA id n13-20020a5d4c4d000000b0033cfa00e497sm11600744wrt.64.2024.03.04.01.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 01:12:26 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sun, 03 Mar 2024 20:29:32 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Mon, 04 Mar 2024 10:12:24 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: >> Alan Third writes: >> Please try reverting 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9. I >> expect that'll fix the freezing, but I don't know about the others. > > Thanks, I'll try that tomorrow. I did revert the commit, but I now think, the freezes might not be related to this all: When trying to start Emacs after the revert, Emacs froze. I have a desktop file that loads Emacs' frame.h. And Emacs freezes only if I load eglot in my init file, and put eglot-ensure in c-mode-common-hook. The other freezes I saw yesterday were also while doing C stuff, so they could be related to using Eglot as well. Maybe it's some change in Eglot, or, below that, in Emacs process code? If someone knows if something changed in Eglot and/or Emacs in that department, I'd be grateful. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 08:50:34 2024 Received: (at 69525) by debbugs.gnu.org; 4 Mar 2024 13:50:34 +0000 Received: from localhost ([127.0.0.1]:42587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh8i9-0003Zb-KB for submit@debbugs.gnu.org; Mon, 04 Mar 2024 08:50:33 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:47555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh8i7-0003ZJ-8L for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 08:50:32 -0500 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a450bedffdfso173142066b.3 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 05:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709560136; x=1710164936; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7nChCg55lisAzk8eLPIE9QX756qWue1ncYrqO1AKJOo=; b=WpAI4zxKR6VtZA1xugx0nd6rYrA0HaBQXFmKkGDLOkMFNABdJBV5gSyMyJ+t3ZngJa dkiwVHR39aZcGugA68EYgYrAuQQqEr7mv7IbvmoB38lP2jZq3mLlWBUFAw7VQpi7c9q2 AYJJxZeuICowPNmMgF08m6u93pCstdC8EBNqTmEvPYkoKjP0Us0Wm63GweWkwXkV02Di tfW4f0bUiu6hynOwQz2bnw0XnEVCJpXvjlka4OyWjOuycQYB6OE3J8xD1qjWJu78KaGr GVH5j0UCMDxL/WEmaVg/5iKQqCYRub6l0fX+1pqVhiUI8suyPvHWTlZtZqiC/TJ5CYvv aumA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709560136; x=1710164936; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7nChCg55lisAzk8eLPIE9QX756qWue1ncYrqO1AKJOo=; b=w7dD5V6Jhuh4piuMZhEvthH2LqlCZhvb1N1z/QPGvX7/VPGEE6D2GBhtbpjPZWyHgb cxGPM9cISWssYLE9H/YkZjakAbERR69PEm9vyOW1qH2QIioe5+kT2WK1G3+tIeDU/hfp 2pbXwg2UsNuSI1ai0vRKrRrD1F7B2VwXXx7Sw6TrovEXiWLNryuwZbHFXEbRXbs+K3ke 19sfjE2pGVcPaK6a0PN4a2beNuoFiGSuMoQ6HMYB3ptgyQzDRb+EMW77iFpQdZe7KjzK iG9L35kVp0y9FEjVk+OFJ8bA0qMpW6/32iz+7E2/m5/cRIlqpuah0TDf09UQ05Swtbhz N3jA== X-Forwarded-Encrypted: i=1; AJvYcCVH628uYBKm1I1pC69ZNs4SxmRF8mayNpKPc8JlBqqVPrhFXD5pxQnUXDRgMmF+DvGLzgDdNG82MR68YUfhhtqwJx3YDcg= X-Gm-Message-State: AOJu0YyjvjqBJBjJcTAO/AspZQVY2Ilm2cs6J+TDvnGrbYjwKyWA+f1a 7z6Y/pU/gDH4KgqwK1ruRiIwICuygP2piSb7AVFJwZcaOcJ6JwzGshe3HSev X-Google-Smtp-Source: AGHT+IHIfTCIgbmsl9TKXVRlL49tXWlAhX17+DSVDnDpIU2mQPekvn6Dv4eW/STtM6o9LdaamKXlMg== X-Received: by 2002:a17:906:6b91:b0:a45:607c:7bc5 with SMTP id l17-20020a1709066b9100b00a45607c7bc5mr1212615ejr.12.1709560134130; Mon, 04 Mar 2024 05:48:54 -0800 (PST) Received: from Pro.fritz.box (pd9e368a9.dip0.t-ipconnect.de. [217.227.104.169]) by smtp.gmail.com with ESMTPSA id v9-20020a1709064e8900b00a4584e852e5sm262895eju.217.2024.03.04.05.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 05:48:53 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Sun, 3 Mar 2024 18:06:34 +0000") References: <86a5nfnuxl.fsf@gnu.org> Date: Mon, 04 Mar 2024 14:48:52 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > On Sun, Mar 03, 2024 at 06:36:29PM +0100, Gerd M=C3=B6llmann wrote: >> Gerd M=C3=B6llmann writes: >>=20 >> > Eli Zaretskii writes: >> > >> >>> From: Gerd M=C3=B6llmann >> >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 >> >>> >> >>> The following warnings are printed to stderr, which I haven't seen >> >>> previously. Maybe canBecomeKeyWindow should be implemented? >> >>> >> >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning:= -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which retur= ned NO from -[NSWindow canBecomeKeyWindow]. > > Odd, Apple's documentation says: > > The value of this property is YES if the window can become the key > window, otherwise, NO. >=20=20=20=20=20 > Attempts to make the window the key window are abandoned if the > value of this property is NO. The value of this property is YES if > the window has a title bar or a resize bar, or NO otherwise. > > Is there anything unusual about your frames? Found out how to reproduce this with emacs -Q. In scratch, eval (make-frame (list (cons 'parent-frame (selected-frame)) (cons 'no-accept-focus t))) This looks to me like some function in ELPA package consult uses no-accept-focus t, so that nsterm.m returns NO from canBecomeKeyWindow. Consult with posframe seems to work anyway, so... >> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUIN= SCursorUIController activate:]: EmacsView doesn't conform to NSTextInputCli= ent protocol. > > I don't have the first clue about this one. NSTextInputClient has > apparently been around since macOS 10.5, and I haven't heard of this > problem before... EmacsView *should* conform to NSTextInputClient > because it's a subclass of NSView. This doesn't seem to be related to the other warning. To reproduce, start emacs -Q from a terminal and switch focus between Emacs and Terminal. Of course, I have no idea either what it means either. > >> >> >> >> Alan, any ideas or suggestions? >> > >> > I think this could be related to tab-bar-mode (C-x t 2, ...), which I >> > started using today. I'm also observing frequest beach balls (freezes) >> > with tabs. >>=20 >> Beach balls of death, i.e. Emacs doesn't seem to recover. > > Please try reverting 6acb3c5b05a7b9fb32a5336e1bb740f527571ae9. I > expect that'll fix the freezing, but I don't know about the others. The commit didn't make a difference, as far as the 2 warnings are concerned. With the freezes I'm no step further, BTW, but that's a different subject, I guess. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 09:44:54 2024 Received: (at 69525) by debbugs.gnu.org; 4 Mar 2024 14:44:54 +0000 Received: from localhost ([127.0.0.1]:42686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh9Yk-0007hm-AN for submit@debbugs.gnu.org; Mon, 04 Mar 2024 09:44:54 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]:43115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rh9Yh-0007hW-BS for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 09:44:52 -0500 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so928093566b.0 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 06:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709563396; x=1710168196; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8YWD0TQlWFeyXVcGaC+KfvDlCGvs+WGewjd+gp7NJ6s=; b=OOyq8dbVtO9RC7pLME2s4DBYUHYgkecfJavkkudNo+XqvORcQKerC3xiauUC2KnwoH fHlgft/ukPjFFRilUUvMq6UZnPOos/+7dm2SM4qz9vc1REllnVdBLg1oTBmNQCtHUZO5 FswGXjfxggOg8g7yZOhGAsXYgFO44ZTOe/stuyi6MvTpmaR90WHfp/QXq7nXZyDmLvYz MzAhEJD0Tfg6q12eBSkQfEj5MZ6F7VyDQoAZO2nB3jBy77z/bqoZp0okc1REJFAfqkLm AHNxVZiPqnQrnI0d+85L2j8eAxAoGm+nntFhgTXIjaF6Idc15hJL2zMgscDTWRdnhD/p UsnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709563396; x=1710168196; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=8YWD0TQlWFeyXVcGaC+KfvDlCGvs+WGewjd+gp7NJ6s=; b=eBPz0vwjXAphTJj8/dt3zpTAJddqGg7fwkzFt0TMCabkBD7HY1ielzNaxoTW/hW1fF 8jVVnHWN6kHN/wrSSySs36FXl3fs9nFga0G88wqpeU9jdd6YApAOKUyeLjtw0w+z99lt bfA4qk61t+VIJXn+Xtw9JHCBAJQGP9teOQgbmnvOU6ktlw06Vk3j0XQ/TlrH0uajIGD6 jAgy8hXvteK1MF1vzrMeDmLJeLRKlS6WfvABr4lTMdIlawp9kg6H3KsCC1hiPkRhc5BZ SaUyc5izPnS4epDl/KsC3Z00tUJtR56WDZZJ3EAQksDnsCtnvQ8Zo+s32E5zKvy9e93+ GdGQ== X-Gm-Message-State: AOJu0Yx77Fyg8n7V9t3OE0J2JarcLhICel4N7yp2tT7G5HS+r/y7D2Sy aGCCizSseBe7fX2BK1NKpZnqSzjCoQPFpXtzJc5+/oWyiVng5jXX X-Google-Smtp-Source: AGHT+IGwv21/eaWB1C+Ec5Ai2I2OmmvjX50gIvus3NKGGcSMRUYEqcyXJGjaytywQYGVq3B6uCffDA== X-Received: by 2002:a17:906:7f0f:b0:a3f:d260:4a72 with SMTP id d15-20020a1709067f0f00b00a3fd2604a72mr8670475ejr.27.1709563395612; Mon, 04 Mar 2024 06:43:15 -0800 (PST) Received: from Pro.fritz.box (pd9e368a9.dip0.t-ipconnect.de. [217.227.104.169]) by smtp.gmail.com with ESMTPSA id jw11-20020a170906e94b00b00a455d78be5bsm948845ejb.9.2024.03.04.06.43.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 06:43:15 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Mon, 04 Mar 2024 14:48:52 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Mon, 04 Mar 2024 15:43:14 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > Found out how to reproduce this with emacs -Q. In scratch, eval > > (make-frame (list (cons 'parent-frame (selected-frame)) > (cons 'no-accept-focus t))) > > This looks to me like some function in ELPA package consult uses > no-accept-focus t, so that nsterm.m returns NO from canBecomeKeyWindow. > Consult with posframe seems to work anyway, so... FYI, it's actually posframe. I've submitted an issue for that https://github.com/tumashu/posframe/issues/136 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 16:40:45 2024 Received: (at 69525) by debbugs.gnu.org; 4 Mar 2024 21:40:45 +0000 Received: from localhost ([127.0.0.1]:45068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhG3B-00034p-EZ for submit@debbugs.gnu.org; Mon, 04 Mar 2024 16:40:45 -0500 Received: from dane.soverin.net ([185.233.34.157]:58099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhG39-00034b-1z for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 16:40:43 -0500 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4TpXD70qcWzyf9; Mon, 4 Mar 2024 21:40:07 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4TpXD63dzCz1R; Mon, 4 Mar 2024 21:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1709588407; bh=WtibO7NHk48WxuJtatfKG+JOObXSEyXpILFfzUO8tPE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WUFdr0ui/gZ9SwvlcQ+P1z8LlEAqWZbatgxADlelgXgGZ8pz5V85ycU6s0eezGtjV qBEK9H2iNeXIwpZEIjvW+QM1wGBIe8aLthsoIDHWTB0Sk5a9zXDKfrefUCJwbuXELe DadIVwPoMqCn0rr9cwEBjnO+81wL65UeN2gWu2T3ECijsN63vmSELekEBwmL/W1hGT lnsmU+zvNZ8TcD8a1DNlCxiu1Db+wRPjAKNS2iobh+OiaqZXwAL+xFt0iFJ2F+NCaq uoEhNUBTzg6WbQ2XdJ3sBXuc0/pfqC2uU2IJhY4/s/QlYf1FJqK+zqZgfh5e7eVjBE FpTPxS1neZg8w== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1rhG2Y-001mk1-06; Mon, 04 Mar 2024 21:40:06 +0000 Date: Mon, 4 Mar 2024 21:40:06 +0000 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 69525@debbugs.gnu.org References: <86a5nfnuxl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Mar 04, 2024 at 02:48:52PM +0100, Gerd Möllmann wrote: > Alan Third writes: > > > On Sun, Mar 03, 2024 at 06:36:29PM +0100, Gerd Möllmann wrote: > >> Gerd Möllmann writes: > >> > >> > Eli Zaretskii writes: > >> > > >> >>> From: Gerd Möllmann > >> >>> Date: Sun, 03 Mar 2024 17:18:42 +0100 > >> >>> > >> >>> The following warnings are printed to stderr, which I haven't seen > >> >>> previously. Maybe canBecomeKeyWindow should be implemented? > >> >>> > >> >>> 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. > > > > Odd, Apple's documentation says: > > > > The value of this property is YES if the window can become the key > > window, otherwise, NO. > > > > Attempts to make the window the key window are abandoned if the > > value of this property is NO. The value of this property is YES if > > the window has a title bar or a resize bar, or NO otherwise. > > > > Is there anything unusual about your frames? > > Found out how to reproduce this with emacs -Q. In scratch, eval > > (make-frame (list (cons 'parent-frame (selected-frame)) > (cons 'no-accept-focus t))) > > This looks to me like some function in ELPA package consult uses > no-accept-focus t, so that nsterm.m returns NO from canBecomeKeyWindow. > Consult with posframe seems to work anyway, so... We should be able to create a frame without the system throwing out errors, though. I wonder if this is something we're doing (like makeKeyAndOrderFront being called on the new frame and it not checking canBecomeKeyWindow) or if there's some other step we need to take to prevent this. I'm fairly sure that I've never seen these warnings so presumably they're new since 10.14. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 04 23:40:08 2024 Received: (at 69525) by debbugs.gnu.org; 5 Mar 2024 04:40:08 +0000 Received: from localhost ([127.0.0.1]:45637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhMb1-0005Ux-1r for submit@debbugs.gnu.org; Mon, 04 Mar 2024 23:40:07 -0500 Received: from mail-ej1-f52.google.com ([209.85.218.52]:47181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhMaw-0005UC-Kb for 69525@debbugs.gnu.org; Mon, 04 Mar 2024 23:40:04 -0500 Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a26ed1e05c7so876628166b.2 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 20:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709613506; x=1710218306; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wnvn3glPRKzZE/Z8NEiEXVNfJqyn8gC8BWt+RSk/wbI=; b=QrQO3KZKVPTYY2qQXyy364vD0F2FJbCREpHUaxYD87tAGt8ixgv1VTNFXzGppUpUTN p9ZSkXplBZux1pmkb8NYzXnGV3mpucRdGzvhSsQzjbQAjOhV49m4ghSOL0mcSPGPzsvY bQZhbtnN1cewaclHUhnL6ni3SiP+Us127/jHZC7U6Yj9j/5nIe8PM0144MBeQ4aAdMgU vWjqNKXVBhqg27Gwu9NqqM19m2YPURpCM7pqYGOv/6CXWRvvpjUO++MGM6nBJekgH8Lq wJsLVRCkeOsgWyD+eWKaQrcZjM7X5bqIJ5lMFt1EKmTU8a5sc20V4tSjf4x1HxqGnGBn PPZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709613506; x=1710218306; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wnvn3glPRKzZE/Z8NEiEXVNfJqyn8gC8BWt+RSk/wbI=; b=DjMFyu+DJKHd5Ni4yVk9jjaajoY4duO32IFAiFW16uzVKCHEF6DfBV+g3zwTNt/awZ 4JyOFKCfE+A08OFTFlLvqUIdHB0lNhaP/40Bxp47ScgZYupYOY5bklEvSTPPuF2B0Q0p 8SBqCDzig2u6zQHq27TPxeWU14kPeBv0IGIy+yRvLpjgJnml82PMlzZKBgshKq3EPowD 92xuxDgZLivWP9cmEDnJ2cnxaTlMiZDg+WRaciIbB74uhWlmKwm2pDnmDl0kY0Hwd9e/ CpSIg6dX3uzxhFu9WpXh1o6GrzKNxoL0ubT2B/+NuRces8k/PftfNnzcClX2P7vAjnww j/xQ== X-Forwarded-Encrypted: i=1; AJvYcCVCgeEfz7Sh9bMZb69/XOqJgPElkW37CswEWjo5BPqsZm0dnuiY/1S0Flq8AWMEDRAMYc02VHORUE4ERxz+0H//OFo7VMo= X-Gm-Message-State: AOJu0Yxr9mCs4sGP+SuU0dckc7acJmUw7WfzL6gK1XNr8nfe7++3cf47 BolSgXJQJUyGOoI0oV03Z/lbxvN7uKCr9gAYASJh2mZpBqCHoc4yHLsf0jqn X-Google-Smtp-Source: AGHT+IEVdtsLIFd/3oHVivOOd2ocGS5UYGKbnG1SJyElaxW4ItLUsGVt1SOnAqA981uemT9JzKlyJA== X-Received: by 2002:a17:906:3c17:b0:a43:d853:98f1 with SMTP id h23-20020a1709063c1700b00a43d85398f1mr7366778ejg.17.1709613505814; Mon, 04 Mar 2024 20:38:25 -0800 (PST) Received: from Pro.fritz.box (pd9e367d6.dip0.t-ipconnect.de. [217.227.103.214]) by smtp.gmail.com with ESMTPSA id gc9-20020a170906c8c900b00a4498726bb9sm4395830ejb.173.2024.03.04.20.38.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 20:38:25 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Mon, 4 Mar 2024 21:40:06 +0000") References: <86a5nfnuxl.fsf@gnu.org> Date: Tue, 05 Mar 2024 05:38:26 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: >> Found out how to reproduce this with emacs -Q. In scratch, eval >> >> (make-frame (list (cons 'parent-frame (selected-frame)) >> (cons 'no-accept-focus t))) >> >> This looks to me like some function in ELPA package consult uses >> no-accept-focus t, so that nsterm.m returns NO from canBecomeKeyWindow. >> Consult with posframe seems to work anyway, so... > > We should be able to create a frame without the system throwing out > errors, though. True. > I wonder if this is something we're doing (like makeKeyAndOrderFront > being called on the new frame and it not checking canBecomeKeyWindow) > or if there's some other step we need to take to prevent this. I'm > fairly sure that I've never seen these warnings so presumably they're > new since 10.14. You are thinking of this in nsterm.m? - (void)makeKeyAndOrderFront:(id)sender { NSTRACE ("[EmacsWindow makeKeyAndOrderFront:]"); if ([self parentWindow]) { [self orderFront:sender]; [self makeKeyWindow]; } else [super makeKeyAndOrderFront:sender]; } From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 00:32:57 2024 Received: (at 69525) by debbugs.gnu.org; 5 Mar 2024 05:32:58 +0000 Received: from localhost ([127.0.0.1]:45678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhNQ9-0007XJ-DC for submit@debbugs.gnu.org; Tue, 05 Mar 2024 00:32:57 -0500 Received: from mail-ed1-f48.google.com ([209.85.208.48]:52578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhNQ6-0007Wt-AO for 69525@debbugs.gnu.org; Tue, 05 Mar 2024 00:32:55 -0500 Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5673f7b3196so2464316a12.1 for <69525@debbugs.gnu.org>; Mon, 04 Mar 2024 21:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709616678; x=1710221478; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dmOnm2bS83dHmitL4Azm/H8zdP1Fua8i8O0XDBlzXjg=; b=kH3/kIAPm9kBKQUVdMJRVTLtgKSI6vgwI2jSzcfeekPPY8k6X9I57uecJvGUCLbsY8 Fj6u6p47E0wmozqxjt3vucSJiVD7UKBjlTNNkPO43f7aWyYYoqTWM7S0bfaWvfXLoPct LBeYG5LL8rDtn4vRZ/pMWh10fjKqiGyjKKXa4vsXSaKb+XL2mzjD7QBqa3tjR1RUwWgU TyhnmZGgXvsfZdHm+UUskrHFT+bAPDj4m7zvA5VLpaJyxs4kmJxdZzMc+Po7fYBGhevp m0VF+gNYRcATZV6w9fOeYFAurw9p7WBiWcsTzpc0aWoJB6LQS0JKWxfSpSbMLBZaecFk NEqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709616678; x=1710221478; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dmOnm2bS83dHmitL4Azm/H8zdP1Fua8i8O0XDBlzXjg=; b=GA4dex20PkHBXhUfAnvyG+FxaQ0HT7YtvRQkvLr6uxfgC3KGlxjf7zefV4xw3pmj4B MK0E69CWQ/AXtOFExe8VW/DyX+NrRz80LSa+ozzdZoMbyxQ7vULtdBKSNwJy5Qiq+GJG q7oRuPfeAUQJI+g4Hfyexfi91f1MRWyhxKDij7zQd0322aWhvX61NvzSRzbOLJOZjDEz FqPNA8+mpey4VxnLTKCk78v+YZoK28UuNBh68WPICCHsSPys5FVy2DLMgCn10KwN+VRw OBDeN3R1np8A9rdVX2Ft2nhwMIX8hAqM9SIdjj7mhhu+4tMWXZIgFVujsYz07qR+ZPWj uR8w== X-Forwarded-Encrypted: i=1; AJvYcCUCInIPcyl0GVhbh3VWf4MWc9Q2E/RJ2FgyDJbdSolOk4RFklWGCs6mwYzuV9NdjKvfoqDhqyWd6Y3J6WdBwB5Az0Cj8/U= X-Gm-Message-State: AOJu0Yzo16c9WzXuzmjEDW756tvqzM7rZT/dueMRG9TFugpExwWOKKvw dEJYS1096IvQFSAdUqHVGgeizPRdD8wNchG/68Yk3VKlK/ULuNtx5ItMHCLs X-Google-Smtp-Source: AGHT+IFr7A61b2sK6HHWKf2+/xbi1HJ1BLVEB/uLMRyRt8PqhrHJ6y2iszlhYlcbVKpm6WhVGXMp9A== X-Received: by 2002:a17:906:364d:b0:a44:4f9f:1271 with SMTP id r13-20020a170906364d00b00a444f9f1271mr7809520ejb.39.1709616677990; Mon, 04 Mar 2024 21:31:17 -0800 (PST) Received: from Pro.fritz.box (pd9e367d6.dip0.t-ipconnect.de. [217.227.103.214]) by smtp.gmail.com with ESMTPSA id fw17-20020a170906c95100b00a4576dd5a8csm1284989ejb.201.2024.03.04.21.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 21:31:17 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Sun, 3 Mar 2024 18:06:34 +0000") References: <86a5nfnuxl.fsf@gnu.org> Date: Tue, 05 Mar 2024 06:31:16 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: >> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUIN= SCursorUIController activate:]: EmacsView doesn't conform to NSTextInputCli= ent protocol. > > I don't have the first clue about this one. NSTextInputClient has > apparently been around since macOS 10.5, and I haven't heard of this > problem before... EmacsView *should* conform to NSTextInputClient > because it's a subclass of NSView. I've now compared Apple's docss at https://developer.apple.com/documentation/appkit/nstextinputclient with what's in nsterm.m, and I think it's indeed different. (Add usual disclaimer that I know neither ObjC nor NS.) Apple: func setMarkedText(Any, selectedRange: NSRange, replacementRange: NSRange) Replaces a specified range in the receiver=E2=80=99s text storage with th= e given string and sets the selection. Required nsterm.m - (void)setMarkedText: (id)aString selectedRange: (NSRange)selRange func validAttributesForMarkedText() -> [NSAttributedString.Key] Returns an array of attribute names recognized by the receiver. Required - (NSArray *)validAttributesForMarkedText func attributedSubstring(forProposedRange: NSRange, actualRange: NSRangeP= ointer?) -> NSAttributedString? - (NSAttributedString *)attributedSubstringFromRange: (NSRange)theRange func insertText(Any, replacementRange: NSRange) Inserts the given string into the receiver, replacing the specified conte= nt. Required - (void)insertText: (id)aString Stopped here. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 08:00:13 2024 Received: (at 69525) by debbugs.gnu.org; 5 Mar 2024 13:00:13 +0000 Received: from localhost ([127.0.0.1]:46918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhUOz-0006XZ-Bn for submit@debbugs.gnu.org; Tue, 05 Mar 2024 08:00:13 -0500 Received: from dane.soverin.net ([185.233.34.150]:33973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhUOu-0005sl-SI for 69525@debbugs.gnu.org; Tue, 05 Mar 2024 08:00:12 -0500 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Tpwd01g8zz56; Tue, 5 Mar 2024 12:59:32 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Tpwcz2tl8z3v; Tue, 5 Mar 2024 12:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1709643572; bh=nXAeF1glnaBN0VIc6flpg1pJGQ7yFbciL9+RctP0LiE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XGOWjCxjHifiQT9IdyIBBu7INAT2fWMG9U5PPuLTtCfTDKncVcjJ79kRZl/rdf3GI nCvDrJMhRNa95nRGfSR5IKtpeeqHkNHuAD6hXDVY++iZaPIvdZvRPZXtnVC12r86cN xTCXU3MW66k9VSPCICHZk8QsTwJJ10GtwQuyyLCy6jVWmY5bz6zd0agGvsvnghMika +auAQWNK4baKGVkysj+zgwJTmvYDw070zWyfjgRskmcu+3mOLT/Zo8iwxMdLf1hgs4 Suc/ok7C0YaT/wk3usyC68FmgBElPCAFhRtelsL/8XI1LgzpjUcmFS0CxpbVVtkabZ pkkFi5YHqfZtA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1rhUOI-001nWg-0a; Tue, 05 Mar 2024 12:59:30 +0000 Date: Tue, 5 Mar 2024 12:59:30 +0000 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , Eli Zaretskii , 69525@debbugs.gnu.org References: <86a5nfnuxl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Mar 05, 2024 at 05:38:26AM +0100, Gerd Möllmann wrote: > Alan Third writes: > > > I wonder if this is something we're doing (like makeKeyAndOrderFront > > being called on the new frame and it not checking canBecomeKeyWindow) > > or if there's some other step we need to take to prevent this. I'm > > fairly sure that I've never seen these warnings so presumably they're > > new since 10.14. > > You are thinking of this in nsterm.m? > > - (void)makeKeyAndOrderFront:(id)sender > { > NSTRACE ("[EmacsWindow makeKeyAndOrderFront:]"); > > if ([self parentWindow]) > { > [self orderFront:sender]; > [self makeKeyWindow]; > } > else > [super makeKeyAndOrderFront:sender]; > } Yes. I think it's the only place we actually call makeKeyWindow ourselves, so perhaps it should have a test. Could be worth it just to see if it makes the messages go away. So I guess just something like if ([self canBecomeKeyWindow]) [self makeKeyWindow]; -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 05 09:33:27 2024 Received: (at 69525) by debbugs.gnu.org; 5 Mar 2024 14:33:27 +0000 Received: from localhost ([127.0.0.1]:47003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhVrD-0005MJ-6x for submit@debbugs.gnu.org; Tue, 05 Mar 2024 09:33:27 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:55299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhVrB-0005M6-DP for 69525@debbugs.gnu.org; Tue, 05 Mar 2024 09:33:26 -0500 Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-56698eb5e1dso7539265a12.2 for <69525@debbugs.gnu.org>; Tue, 05 Mar 2024 06:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709649109; x=1710253909; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B8MuoL69ZjXcxQHG+xUf9UZqpd+eVJ3UR9wqdSK11o8=; b=fGWhPTP8hYY6kyVN5QRxqUg5usRRoM1zz1Q4McI/IYp295+td+xdvvb1XIX3wksryP xVexb1/wCiicMWBxfu8KyhuhNhrBSVLWrGHTyBacHcp6zkcjQ8tgPm7mpXx+Jxl/C5F4 8LYoXMMy4JN3s0xKA8YCTuWlK2CsGcd6mKD0DJfE0hP4myYgCUIT8a9zfyreXZE7g4j+ pOiiVf6qz+99q5w9HpmgOsWezLJgKBkdO1EY9v9wmGCb+EdOfs7iOS+V2YcXzpSsEC0E J9PxTm0WlNnffFR5O/8ft4A7uuURszpmMl8xCRmVtCSjntzU6GrA6peNwAUtekzBpp30 e73A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709649109; x=1710253909; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=B8MuoL69ZjXcxQHG+xUf9UZqpd+eVJ3UR9wqdSK11o8=; b=RD380joLp0AP1B0tCKjw0tg3nJjLlBLr0tgfaJjVphNvt9vr9Bd4+u3irRBLULAaiG +Bgu4H4ktYUFEcLw+CJPmZmm38GqvTM8FRaiiJ7je06rcEfuIl+3u4Is1fnyhorvW5Zp b5VClv2iDOCPxeU4oTbNRdw2qSwOS+v/1Cnk+jYo0aTNfWLqPuTlWIqsNFqWxCcm6BIb P+DOTpQZXMiCWRjKv8DitdbGtVSwIwUcCExWW2hEEEOKXDplAzGPphA89qwiq9MuFShr vfcfQ2aWn3nEc4j0WlXdQwcrV6gIY28Y5exaBaL0kw85xvrRK4cz6KTumL6zUIXd5tIV GWVQ== X-Forwarded-Encrypted: i=1; AJvYcCVmxr9SlI/SFC/NxqvigGguAWG8ohZsGtODzBFu6Pb4EXMuNtWBXPIuBwtWz5HGcxfYakAH4vHMX5Sdf6z2JCDsDgJKoSs= X-Gm-Message-State: AOJu0Yzg7zdHFad+ztOYdl/h8LuT+T7RT4UGYPPX6YD2dBHe9MvAtlCU teilGHE6c6l+1pZIV/y0c4EGZWB3lGH6PQ7rQwEH5FkDWhbIG2HNaKZBXdii X-Google-Smtp-Source: AGHT+IHT/Mug7FIMkDEqEtq8F4BAJB4NJJKdQtW8k/VZQN/wHUih5MgRG/nrOVXEvYeKv9x4yDnoNQ== X-Received: by 2002:a50:c90d:0:b0:566:8054:562 with SMTP id o13-20020a50c90d000000b0056680540562mr9199538edh.3.1709649108929; Tue, 05 Mar 2024 06:31:48 -0800 (PST) Received: from Pro.fritz.box (pd9e367d6.dip0.t-ipconnect.de. [217.227.103.214]) by smtp.gmail.com with ESMTPSA id c6-20020a056402100600b0056536eed484sm5892931edu.35.2024.03.05.06.31.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 06:31:48 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Tue, 5 Mar 2024 12:59:30 +0000") References: <86a5nfnuxl.fsf@gnu.org> Date: Tue, 05 Mar 2024 15:31:47 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > On Tue, Mar 05, 2024 at 05:38:26AM +0100, Gerd M=C3=B6llmann wrote: >> Alan Third writes: >>=20 >> > I wonder if this is something we're doing (like makeKeyAndOrderFront >> > being called on the new frame and it not checking canBecomeKeyWindow) >> > or if there's some other step we need to take to prevent this. I'm >> > fairly sure that I've never seen these warnings so presumably they're >> > new since 10.14. >>=20 >> You are thinking of this in nsterm.m? >>=20 >> - (void)makeKeyAndOrderFront:(id)sender >> { >> NSTRACE ("[EmacsWindow makeKeyAndOrderFront:]"); >>=20 >> if ([self parentWindow]) >> { >> [self orderFront:sender]; >> [self makeKeyWindow]; >> } >> else >> [super makeKeyAndOrderFront:sender]; >> } > > Yes. I think it's the only place we actually call makeKeyWindow > ourselves, so perhaps it should have a test. Could be worth it just to > see if it makes the messages go away. > > So I guess just something like > > if ([self canBecomeKeyWindow]) > [self makeKeyWindow]; Alas, that didn't work. I replaced the whole method body with the 2 lines, but then the Emacs frame wouldn't show up on start. There are some calls to makeKeyWindow in other .m files, BTW. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 05:57:41 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 09:57:41 +0000 Received: from localhost ([127.0.0.1]:38810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXHhk-0002l0-RA for submit@debbugs.gnu.org; Fri, 26 Jul 2024 05:57:41 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:51651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXHhj-0002kn-1S for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 05:57:40 -0400 Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52f025bc147so1446821e87.3 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 02:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721987784; x=1722592584; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=jDD2g4RDGXacA9El5AHpE2xwKfXD3risY2EE8GekaMU=; b=hU6zJ4CXt2QYObT55HzKZaTYSjloz5MsWc0AalUg8E7TcBfvlz7r/fE3w65fODGcRN b57LFNfuXhZSxsOQ5mcXl8GWMZ2hT/FUan1cC7oVB87/Ns6h01x0hVOlcC2Qya+ry8J3 8EMY0rgfeq2dJEcQR//FCFL1I7CI3Wa8AYh9dw3cF6htA2HRwJAbQORc98lPuyS/NM0p Y6XwutvvmwjpGZSh9SScwNkr5rAapQzhqd1YpeLOLAFtnnsyqfJCmMAIWa9z4Wh1EVCj vqGqi7iwBn+wWi4QgCOBTGoomJbouyTRYQj8C6ty7NCdnnOcIocCGPYXn2FofIF4+QcV c+JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721987784; x=1722592584; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jDD2g4RDGXacA9El5AHpE2xwKfXD3risY2EE8GekaMU=; b=N39pqScqkhyj6BPxuDrnZhRLC+NnkaU0uqJ8J20I1+n3A0J/CzXP8wn6/iAQ8v2Epv XMTnosOg6NZAP+TT5YUyfTCxXZhakhWx+iuEqj6enQZiPIO4BdMbeze0SzkHj+VXIYa2 m5MElJYLcJy+mc6CXF+xPT4T/IJ1viGfjQG4CcerjePDBLQL8MOivz1D/OiIab/lSRT8 pKz4rQJw5lmySsyAtoVflSO9qLH5oEsWm0jfKDH1/B4jCGcs3XxyKFqkGUUCmhhPUYYl Xhnx5zmbLQ3m5PvkcwS7UPPMnXRPGE/M6BdZo4f/tYtp0PP8fTaLxNo/idis61JJ8BUc WrvA== X-Gm-Message-State: AOJu0YwUM9hqbU+/a8Ld/G2RFC+UABIIJMn71UMQw6yvNMFyth3+cv2P 3JNJco6s6cELOQHiI+nUQVgjEzmnSMnLOiF+N1CMvJZxwTQxh7BO23/EgQ== X-Google-Smtp-Source: AGHT+IGE/1O2M2g2LnA5CIWB/tmHG+R/K64VOqoCQE/KAfRoyV/NtFE0W6be2+yccEOrAglA9L4nmw== X-Received: by 2002:a05:6512:308d:b0:52e:be14:7012 with SMTP id 2adb3069b0e04-52fd3f24d19mr3959195e87.32.1721987783973; Fri, 26 Jul 2024 02:56:23 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c4.dip0.t-ipconnect.de. [79.227.162.196]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acad90130sm158938566b.144.2024.07.26.02.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 02:56:23 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: 69525@debbugs.gnu.org Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sun, 03 Mar 2024 17:18:42 +0100") References: Date: Fri, 26 Jul 2024 11:56:21 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gerd M=C3=B6llmann writes: > The following warnings are printed to stderr, which I haven't seen > previously. Maybe canBecomeKeyWindow should be implemented? > > 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NS= Window makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned N= O from -[NSWindow canBecomeKeyWindow]. > 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCurs= orUIController activate:]: EmacsView doesn't conform to NSTextInputClient p= rotocol. > 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[NS= Window makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned N= O from -[NSWindow canBecomeKeyWindow]. > 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCurs= orUIController activate:]: EmacsView doesn't conform to NSTextInputClient p= rotocol. > > In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.3.0, NS > appkit-2487.40 Version 14.3.1 (Build 23D60)) of 2024-03-01 built on > Pro.fritz.box > Repository revision: 862dfef88d8e62d12bac3ca2e44e035a2ff5b298 > Repository branch: master > Windowing system distributor 'Apple', version 10.3.2487 > System Description: macOS 14.3.1 The attached patch fixes this for me, and seems logical. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-NS-prevent-makeKeyWindow-warnings-bug-69525.patch Content-Description: makeKeyWindow >From c447ae1512cb274b5f7d47ffe479520c12392c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerd=20M=C3=B6llmann?= Date: Fri, 26 Jul 2024 11:48:24 +0200 Subject: [PATCH] NS: prevent makeKeyWindow warnings (bug#69525) * src/nsterm.m (ns_raise_frame): Don't makeKeyWindow if frame has no_accept_focus set. --- src/nsterm.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsterm.m b/src/nsterm.m index b9193f62e80..cd6ffabddde 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1413,7 +1413,7 @@ -(void)remove block_input (); if (FRAME_VISIBLE_P (f)) { - if (make_key) + if (make_key && !f->no_accept_focus) [[view window] makeKeyAndOrderFront: NSApp]; else [[view window] orderFront: NSApp]; -- 2.45.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 06:34:43 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 10:34:43 +0000 Received: from localhost ([127.0.0.1]:38844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIHa-0003mF-K8 for submit@debbugs.gnu.org; Fri, 26 Jul 2024 06:34:42 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:48255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIHZ-0003m2-2U for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 06:34:41 -0400 Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5a15692b6f6so2538800a12.0 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 03:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721990007; x=1722594807; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZcyfsP4TGUmaoN/4r/vVdqrIBUr5zsANha6OjWfB3A0=; b=OTb7PNGU1l21l8GI99ssbE7utnc3aucYX79x1moBXUJw732zmOHSPj6uBScNNmS88W Ny18FC6A1f/jdDXpbbV/fLvUL3Gv6CcKfDiqfZVFZH4XcTnz2fCRt9wi/niJZDCvs2uZ lqvXdmLhGd1Q2tvz1XFP2YyNeVxCDNHXueljFdGOqnFZHM3gQEysJpTPAfO91hPXi3W0 4m6g3eRnDZ91y+Qxu9bieSajx2u2sMdIOmuadXC71jIetmPhKCxr79zi/wRiyvVEqRkj 4uEzn6RwPbZ54Tbsw937uJ/Hb0uEzs85+6aWev7Y2ixR/fJrqnqrqaGTbDyAqaWttWDo Xccg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721990007; x=1722594807; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ZcyfsP4TGUmaoN/4r/vVdqrIBUr5zsANha6OjWfB3A0=; b=mEtJZHSU74lDxIcepaMu25Pgoe7OiH2APbdISNNcORqF0eA6SZVS9sJ246IX0xrCum PeIa31li6swlu3iqhON+PhzWv5UTDXPYN0V9uE/Vncu9HEnBO99PxE+JmamTYMFI1Qid QWBMH15ZFLHJd/RNmVh3g3GHkzfKuRmemHt80wC0DOMJfrzN0gcKyk6EUnp1YWSwYbOf +6Mm47PENBwSDE5h2KfCxkGTHXuJdr77b+07KTgXYkKCLU5jrWoWy8bAKPTg6TlRbhA+ nSd8mXWj2bb9KiZp0dfU93uNTaYICS1FREGQskzAEtB2SWbE+LQLP/O4vFqrhlx34xD8 OJQA== X-Gm-Message-State: AOJu0YxsOPJFltFpIuFb+s7IYu8+sKiQrBzibSwkpLuyefgh3S3V2/+Q AZv43L5/hzkNyPOTzNK7pwft3Wenx2DzfF9IOWlo4sTyfBpgLinX X-Google-Smtp-Source: AGHT+IGxVL4nbDmXeBNsJqs32at+SCm24dYGjFvL5yQHAFsUv2UqJgl7PqDEPhXfx7Rf4gJdMNyL4Q== X-Received: by 2002:a05:6402:51c7:b0:5a7:d986:6e4 with SMTP id 4fb4d7f45d1cf-5ac2c1c4449mr4150099a12.28.1721990006461; Fri, 26 Jul 2024 03:33:26 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c4.dip0.t-ipconnect.de. [79.227.162.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac631b03a0sm1761760a12.2.2024.07.26.03.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 03:33:26 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Tue, 05 Mar 2024 06:31:16 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Fri, 26 Jul 2024 12:33:24 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > Alan Third writes: > >>> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUI= NSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputCl= ient protocol. >> >> I don't have the first clue about this one. NSTextInputClient has >> apparently been around since macOS 10.5, and I haven't heard of this >> problem before... EmacsView *should* conform to NSTextInputClient >> because it's a subclass of NSView. > > I've now compared Apple's docss at > > https://developer.apple.com/documentation/appkit/nstextinputclient > > with what's in nsterm.m, and I think it's indeed different. (Add usual > disclaimer that I know neither ObjC nor NS.) > > Apple: > func setMarkedText(Any, selectedRange: NSRange, replacementRange: NSRan= ge) > Replaces a specified range in the receiver=E2=80=99s text storage with = the given string and sets the selection. > Required > > nsterm.m > - (void)setMarkedText: (id)aString selectedRange: (NSRange)selRange > > func validAttributesForMarkedText() -> [NSAttributedString.Key] > Returns an array of attribute names recognized by the receiver. > Required > > - (NSArray *)validAttributesForMarkedText > > func attributedSubstring(forProposedRange: NSRange, actualRange: NSRang= ePointer?) -> NSAttributedString? > > - (NSAttributedString *)attributedSubstringFromRange: (NSRange)theRange > > func insertText(Any, replacementRange: NSRange) > Inserts the given string into the receiver, replacing the specified con= tent. > Required > > - (void)insertText: (id)aString > > Stopped here. Apple's documentation says Important =20=20 NSTextInput protocol is slated for deprecation. Please use the NSTextInputClient protocol instead. I guess that's the reason for the warning, and we should switch to using NSTextInputClient. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 06:56:15 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 10:56:15 +0000 Received: from localhost ([127.0.0.1]:38877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIcQ-0007Ac-NI for submit@debbugs.gnu.org; Fri, 26 Jul 2024 06:56:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIcM-0007AL-AF for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 06:56:13 -0400 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 1sXIc2-0000du-8r; Fri, 26 Jul 2024 06:55:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=NvkGfclG+tVgXMEEYRsXiHBh3w8wyONc0Xk1zC8Y9do=; b=WGUqr0T/7kKV281wtllS S6FgmjaEFXuiqL3syEEf0fN7ABCJp6rbQGUedH2UvQhzlomgYB9EDakf0OMfPIY8x1zxtiCBUdOb2 T0o5qjq+PnHmbLbID2+BxxWHB0xA/Rr96OxidKCyaOD91YB+YaQYSlGLeRT8TIAr5cecyXHYlx3D7 rFOdzu0LBQyJBo7I0ctvMYCRbPYN4oNYSdnLg257OzEFh+Oj3Mh4TL6qIKR8YMTmQwIjZXv6mxraP 7umXom4w5rfWtPJAaKTH8rWfoQn/RD7MJe3+uPfAoW77nNSe4BGmsm7of1+T72xu1AcD7QsIXz39b J5/akjMpWZHQiQ==; Date: Fri, 26 Jul 2024 13:55:17 +0300 Message-Id: <86plr02zje.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Fri, 26 Jul 2024 12:33:24 +0200) Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr References: <86a5nfnuxl.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gerd Möllmann > Cc: 69525@debbugs.gnu.org, Eli Zaretskii > Date: Fri, 26 Jul 2024 12:33:24 +0200 > > Apple's documentation says > > Important > > NSTextInput protocol is slated for deprecation. Please use the > NSTextInputClient protocol instead. > > I guess that's the reason for the warning, and we should switch to using > NSTextInputClient. Does this mean the patch you just posted is no longer relevant or desirable? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 07:03:18 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 11:03:18 +0000 Received: from localhost ([127.0.0.1]:38888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIjF-0007N8-Qy for submit@debbugs.gnu.org; Fri, 26 Jul 2024 07:03:18 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:50513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXIjD-0007N0-P8 for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 07:03:16 -0400 Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a728f74c23dso201017366b.1 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 04:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721991726; x=1722596526; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1XvD/tVys5OuqG/TXZjNtNfVpOuybrOoIURjT+2UbWU=; b=mgAIpf9spTvMoB/DAqYqo3ujWcnOrAXsU6yfrT2C0t9jcmMT8ioHg55SOg4LK4lOp7 CUi6ikkok2ZD/GH0rg5N5JyFvyyn5WYGdWJUqY2Wy/okU/H1U/FCb7t4VsPnT7292qFq WkuJjUxG8L/OcFAZIzeYp5WmHwKUdAKeEhw/Rr6cheezv7Ss7Ak5SPdw9nOfphhA67bq 6aCo6exp3joHQmwU400bu8TmdIfxA2yn05uUNFHx/F6aqqPC3SBFsemLdACuQJ9q5LR5 tpjtnNZEzuEYLqECEUZDYcXJyH6SvR3BeTsnjKs4mJfhWWYMQMKzeQPuSZ+c7SjGpW6+ gMWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721991726; x=1722596526; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1XvD/tVys5OuqG/TXZjNtNfVpOuybrOoIURjT+2UbWU=; b=JeOhdkKGikGNR2ozwCTmomCWaxUxg/ZKIAtKqRnTrkKzRJyr38eefWDV+ke38tM4p0 fkIVD1xoODRXhuNv7bXmyvqSbClD7yFLxffc4mNF0omFwKYtqCxb6GPxQLY1D19VqOQc UPGwRdl8DV4SOYuxhCvwb/SVVCJlNQWDXQ+5Eae1uoOte12RYVBTyqcz7wdn9K4fgLEt TCkcXxWasHf3glOW9AHeC/ryRwcCK2ZXQ1fD+sKulc+aD7GEz3M8tLdAA4XT0QOjzQYi kKgMrEPiRt8c9oCT5Hm4m9NjOhk4hIJhuFb6anWqizRssnhip0+24fHmbqim5UgOFpFX rJ6g== X-Forwarded-Encrypted: i=1; AJvYcCWDWH/OFhzVdHruXPQC8ZMrlEAt1TfFvNNkKQEbHstphVbdwr184WnYfJOgAOc55kd1zVxn6CyWSdBAs+fmaQLtdiqolrU= X-Gm-Message-State: AOJu0YzY8x2b4iJDJjtANbp+HigdpFKKaKDh3JD+Dun5J3Qwa13YjJV7 DS1O1iVseDiDY6hoxJ10oGsh2Vl+OuOnh9wbOwMeujqQzHWBo+I36zSMqg== X-Google-Smtp-Source: AGHT+IEHJ+vYTJSYO50sicXxZFoa+piNRQAGiaHaeEtoBctoqPfnHEyy+oC6zgUOdqQ3TfEE4LK3tQ== X-Received: by 2002:a17:906:37c3:b0:a79:7dc0:4fed with SMTP id a640c23a62f3a-a7ac51c32f2mr368010566b.34.1721991726002; Fri, 26 Jul 2024 04:02:06 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c4.dip0.t-ipconnect.de. [79.227.162.196]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acab23132sm162523666b.27.2024.07.26.04.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 04:02:05 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: <86plr02zje.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Jul 2024 13:55:17 +0300") References: <86a5nfnuxl.fsf@gnu.org> <86plr02zje.fsf@gnu.org> Date: Fri, 26 Jul 2024 13:02:04 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: 69525@debbugs.gnu.org, Eli Zaretskii >> Date: Fri, 26 Jul 2024 12:33:24 +0200 >>=20 >> Apple's documentation says >>=20 >> Important >>=20=20=20 >> NSTextInput protocol is slated for deprecation. Please use the >> NSTextInputClient protocol instead. >>=20 >> I guess that's the reason for the warning, and we should switch to using >> NSTextInputClient. > > Does this mean the patch you just posted is no longer relevant or > desirable? No, there are 2 kinds of warnings, with two different reasons. The patch I sent is for the warning regarding makeKeyWindow. This mail concerns 2024-07-26 12:38:12.984973+0200 emacs[61974:18565128] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. And it looks like we have to switch to using NSTextInputClient at some point instead of using NSTextInput. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 14:39:37 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 18:39:37 +0000 Received: from localhost ([127.0.0.1]:40032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXPqr-0002dx-0V for submit@debbugs.gnu.org; Fri, 26 Jul 2024 14:39:37 -0400 Received: from dane.soverin.net ([185.233.34.24]:46243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXPqo-0002db-3x for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 14:39:35 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4WVxNR4WkJzyQx; Fri, 26 Jul 2024 18:38:47 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4WVxNR09Q8zKy; Fri, 26 Jul 2024 18:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722019127; bh=Hfq40KqKTkD8+K4iYAv+mzyckrZYjVhaKO2vvcwq5Zo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZrJeFi6pPccZwi9ZND1YgHStFZB83z7dbyrnjGQwIslWcsmsja8ogwctkNarw6WBr JaNR+92h2I5wr6fEAeVyt9adPIZn1rrLiZIhGc72r2W7DXH/mc9zgeIQ8I/isWUQsv j/PkrthfEyvmwLXVaJgS2vg6w7qR62Q5i+gVxFsV/cFPAnxC324v+vxnLdy0QKOTqH flHT0SKSGvoO1FVYrpcYQni4gJOsqlCn4YybJk0lDMQw6ZgD8DLINERWYYeskF1R0G +bXaODnsena1vEx4+lYm+cYZLn9Um3aH6o+GCk7g23VBPxsugWudv0TbhJC5p01aqW xMumu+tlp51Sg== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sXPq1-00000001Zhz-3d9W; Fri, 26 Jul 2024 19:38:45 +0100 Date: Fri, 26 Jul 2024 19:38:45 +0100 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , 69525@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Jul 26, 2024 at 11:56:21AM +0200, Gerd Möllmann wrote: > Gerd Möllmann writes: > > > The following warnings are printed to stderr, which I haven't seen > > previously. Maybe canBecomeKeyWindow should be implemented? > > > > 2024-03-03 17:10:16.334906+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. > > 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. > > 2024-03-03 17:10:37.073109+0100 emacs[12805:61381] [Window] Warning: -[NSWindow makeKeyWindow] called on EmacsWindow 0x7f7d90a34030 which returned NO from -[NSWindow canBecomeKeyWindow]. > > 2024-03-03 17:13:19.141805+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. > > > > In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin23.3.0, NS > > appkit-2487.40 Version 14.3.1 (Build 23D60)) of 2024-03-01 built on > > Pro.fritz.box > > Repository revision: 862dfef88d8e62d12bac3ca2e44e035a2ff5b298 > > Repository branch: master > > Windowing system distributor 'Apple', version 10.3.2487 > > System Description: macOS 14.3.1 > > The attached patch fixes this for me, and seems logical. LGTM -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 15:03:45 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 19:03:45 +0000 Received: from localhost ([127.0.0.1]:40049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQED-0003Eb-EV for submit@debbugs.gnu.org; Fri, 26 Jul 2024 15:03:45 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:60673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQEA-0003EN-Cp for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 15:03:44 -0400 Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-52fc4388a64so2536098e87.1 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 12:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722020547; x=1722625347; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=47J04VrY1PRoOHzKFBGokaASPtLO+tnVjXNZc+vM360=; b=EFMql040/p/1W3c4/nyzjRAT6iT6K+m6pMBBosSru/J0PWkaLX7EP1wT+Lq4b2E6ux 2+n4igCsdxc9tGIh8gIkgOj05bTPcyuN0kxvSh7/oP20oF9MUNg3OA4tLrRf1RyZLuhb tgGwOfUTITct6sSuDk6FnHCvVTIXP9xDIa9vQn/QIk3YsJ1koIZB31POWnj+qHFt3Pzw 8umF4j3E7y0TtSyXwqXm6mQWA1vS6n0u7KJ40hbRiXVPUpcNINvlZS5y1zKM4elibX8p lBSg9FyxmxALzdFYEkKzhrYuEYmE7BEcyUi35pk9oMjwLdLHWU4aw9L8Bn5ZM5pCQr5f Vbdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722020547; x=1722625347; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=47J04VrY1PRoOHzKFBGokaASPtLO+tnVjXNZc+vM360=; b=FsuWobUuuRdBL9yxiyZ3p2aZMFWURYlwJE4bKrnM1x6s6CMsmNgx+1ldnN1f51qIAG XyK9qtfKC92p+4sBNNZoOUGiPHZbWyKtDUeEulUhjhnvLKB+q89VXdfdKu1hW5M+CySI UrsAvVb5tWFI9RzZd7I2YjduEX1OoFlODjHjTnZsR1wfM25eY6X7s7lBQnMeWI/ULP73 U7v/DOF0TOJZ+CkiRifMm/YHKreB1WQCSj8j0eFFRX0cL7+XxbvFFFrH7SmFpd/sBSbE Uicw1onV/QspldpRbEUOUIggoFO2F3v8/YKkFVrfNt3cFcSABT/eFDqrTwnXRCyK3WVA J96Q== X-Gm-Message-State: AOJu0YycscHfZ9wMlr5R7yVcUFBs9E9/jMGQQgb/FaoxnAXT8/Dw/IjZ ep5Ib9xrE1IztYLaeTAmKHs5/T/OTCb/P4ZCdBrvHXOCO2roTIwsRsV9DQ== X-Google-Smtp-Source: AGHT+IEvOrMooNjewPGpxfdYrvsv6GmB2EbtpVcD8TAJlfbzMU6EKarBRBFOa20ds5hN2DtCustCmA== X-Received: by 2002:a05:6512:1043:b0:52f:79f8:a42e with SMTP id 2adb3069b0e04-5309b2704f5mr484092e87.4.1722020546508; Fri, 26 Jul 2024 12:02:26 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c4.dip0.t-ipconnect.de. [79.227.162.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac631b035dsm2260741a12.13.2024.07.26.12.02.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 12:02:26 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Fri, 26 Jul 2024 19:38:45 +0100") References: Date: Fri, 26 Jul 2024 21:02:25 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > LGTM Thanks Alan, I've pushed that to emacs-30. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 15:10:25 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 19:10:25 +0000 Received: from localhost ([127.0.0.1]:40059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQKe-0003OP-IC for submit@debbugs.gnu.org; Fri, 26 Jul 2024 15:10:24 -0400 Received: from dane.soverin.net ([185.233.34.150]:40711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQKb-0003OB-HC for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 15:10:22 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4WVy3z6mhlzpR; Fri, 26 Jul 2024 19:09:35 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4WVy3z4gsJzKy; Fri, 26 Jul 2024 19:09:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722020975; bh=CtEEqCevBHJouG/qodWf+YeVsGJUkApRBhLx66IZHeY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NG03cETRuJFmwxSomUjj/cBNLJDx/h1WESedQmjtf9n9Y2mehw+3w31esGxCjzTF3 e3ybVxM8HGME8CONDHcicATgjRWI6tFnBC/4pnqfSLLy+6BWo9eafG0R5PQ4FpML7u wkQP60RYE4MAgHZNTl9gSJfgfDVrmx90oU7COd+Vr3h3fGCuFDoz1trE3MM7Mc33g5 Y9Bm4NkVxCVe+TNiioSeCIiSIuowTsizSL6Ya9YmehWh8Cz2xvnH26szl+JwA93Zct UZZsN6Gsoex41R/G62MG0aw5qoLcQp1MsfXx/JBEkk01bJY67abF85jLBvdava6tvL nEB6iNnUuCOIg== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sXQJr-00000001Zqp-0pBL; Fri, 26 Jul 2024 20:09:35 +0100 Date: Fri, 26 Jul 2024 20:09:35 +0100 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , 69525@debbugs.gnu.org, Eli Zaretskii References: <86a5nfnuxl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Jul 26, 2024 at 12:33:24PM +0200, Gerd Möllmann wrote: > Gerd Möllmann writes: > > > Alan Third writes: > > > >>> >>> 2024-03-03 17:10:35.434255+0100 emacs[12805:61381] [CursorUI] -[TUINSCursorUIController activate:]: EmacsView doesn't conform to NSTextInputClient protocol. > >> > >> I don't have the first clue about this one. NSTextInputClient has > >> apparently been around since macOS 10.5, and I haven't heard of this > >> problem before... EmacsView *should* conform to NSTextInputClient > >> because it's a subclass of NSView. > > > > I've now compared Apple's docss at > > > > https://developer.apple.com/documentation/appkit/nstextinputclient > > > > with what's in nsterm.m, and I think it's indeed different. (Add usual > > disclaimer that I know neither ObjC nor NS.) > > > > Apple: > > func setMarkedText(Any, selectedRange: NSRange, replacementRange: NSRange) > > Replaces a specified range in the receiver’s text storage with the given string and sets the selection. > > Required > > > > nsterm.m > > - (void)setMarkedText: (id)aString selectedRange: (NSRange)selRange > > > > func validAttributesForMarkedText() -> [NSAttributedString.Key] > > Returns an array of attribute names recognized by the receiver. > > Required > > > > - (NSArray *)validAttributesForMarkedText > > > > func attributedSubstring(forProposedRange: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? > > > > - (NSAttributedString *)attributedSubstringFromRange: (NSRange)theRange > > > > func insertText(Any, replacementRange: NSRange) > > Inserts the given string into the receiver, replacing the specified content. > > Required > > > > - (void)insertText: (id)aString > > > > Stopped here. FYI, up at the top right of the Apple docs you can change from Swift to Objective C, which will probably make comparisons easier. > Apple's documentation says > > Important > > NSTextInput protocol is slated for deprecation. Please use the > NSTextInputClient protocol instead. > > I guess that's the reason for the warning, and we should switch to using > NSTextInputClient. Looks that way. AFAICT NSTextInputClient should be available on all versions of macOS we support and also in GNUstep, although it can be hard to tell which versions of GNUstep support what. Some of these functions are just used for normal input, but many of them are used exclusively for macOS input methods. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 15:25:56 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 19:25:56 +0000 Received: from localhost ([127.0.0.1]:40073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQZf-0003kt-M2 for submit@debbugs.gnu.org; Fri, 26 Jul 2024 15:25:55 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:58551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQZd-0003kf-BE for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 15:25:54 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52f0277daa5so2479774e87.0 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 12:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722021878; x=1722626678; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=jHflz1Z6WTJuyb8S7OtmMoUkbFkU6BL4MgwBeyaaqiI=; b=WEqmXy7ibMIwKqtN0nwnmrUt241P+C+rF5oeznNYCylH6R/7Wgh5s7cpkUUr3pXOmS 5du8CNgvaPqAhDjJjBu26TkP1OziOJRTWj8DOxHRCUIG4JqPNaiw5/trYHlCXTxvEOGy wZLbNRZVCO/ODaiZUL507JTwtq6jUD76DgLKXA1+9C7u4TinJUGJLq/5b306cQAJ6JEA M4z06O5WkxJ0UalsjARCxSWFiSrEDQw4Pcj7LbHiEDpTNBLzkd3loW1k7sgYf1Xmh+mx cwdHJu0YLON5zEH5AqVWWNgoDNwcvT4PuPd4R/3zVR5Hwv1r2/2tfHk0hUNLUb7pviVU uUlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722021878; x=1722626678; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jHflz1Z6WTJuyb8S7OtmMoUkbFkU6BL4MgwBeyaaqiI=; b=wfBrqB2CHV6mj0QzMNi3RHRX9Fdp8M+ZK3EiWjhhDORjfEm2dwVeHUf4UaS7WDEYv/ MOs+XZvO1Cmm7fwwYFjalQFaJYEuREK9g4UU60AltkAXip9+1b7KvpuvD3XlX6AWXNPh 4uaADHTd7O35z+zca7V814NhBSEaJ4sUdv7owMyL4jI1/eyCtInU9UgAAKVjZp6qOb65 GthkU+Y9PjbC1VeY1JEU1BV+rk1ckh90rtUhncBJmn2UblbiUAB/wCoIk4hxDisdHzXl IKcX7vuwDL4/eA9kowmZ/ZjgulRP/mmRv89AbDtLeNOzasy1zB6HVxHtgZ7dc8ipJhqe MyFw== X-Gm-Message-State: AOJu0YwLBgGy0YyWrZAlaYNNJC5x/KOFAkNP2TZQeu+A7p6I6Vp9X5qs ae8PIKjpcWqeOUhSUDzaow6AOFYKfdLB2KdUvD4RMLieU2juV6hN2RkYyA== X-Google-Smtp-Source: AGHT+IF6UlpcKJPQZqD0D7r6dqc5uU/xAaTQJ+6lAq67Fx1e4UT8VGyPqTj1d2S8V7TlL3AMofDK/Q== X-Received: by 2002:a05:6512:3250:b0:52e:9951:7881 with SMTP id 2adb3069b0e04-5309b2c71d5mr486182e87.52.1722021878068; Fri, 26 Jul 2024 12:24:38 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c4.dip0.t-ipconnect.de. [79.227.162.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5af507c6e9bsm913562a12.54.2024.07.26.12.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 12:24:37 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Fri, 26 Jul 2024 20:09:35 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Fri, 26 Jul 2024 21:24:36 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: >> > - (void)insertText: (id)aString >> > >> > Stopped here. > > FYI, up at the top right of the Apple docs you can change from Swift > to Objective C, which will probably make comparisons easier. Ah thanks, I didn't see that! > >> Apple's documentation says >> >> Important >> >> NSTextInput protocol is slated for deprecation. Please use the >> NSTextInputClient protocol instead. >> >> I guess that's the reason for the warning, and we should switch to using >> NSTextInputClient. > > Looks that way. AFAICT NSTextInputClient should be available on all > versions of macOS we support and also in GNUstep, although it can be > hard to tell which versions of GNUstep support what. > > Some of these functions are just used for normal input, but many of > them are used exclusively for macOS input methods. I find Apple's documentation of the protocol pretty bad, to say the least, and examples seem to be lacking completely. Don't know if I can pull that off. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 15:37:17 2024 Received: (at 69525) by debbugs.gnu.org; 26 Jul 2024 19:37:17 +0000 Received: from localhost ([127.0.0.1]:40090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQkf-00042j-1F for submit@debbugs.gnu.org; Fri, 26 Jul 2024 15:37:17 -0400 Received: from dane.soverin.net ([185.233.34.150]:48183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXQkb-00042S-Ni for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 15:37:16 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4WVygZ5sB1zCP; Fri, 26 Jul 2024 19:36:58 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4WVygZ3vtkz6W; Fri, 26 Jul 2024 19:36:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722022618; bh=brzT9SHzqC+EYQq1J18ovPCNAMmnhHTn/vfKiboOhoY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gNpIbh+qwVgItSoBAADpxMrsJeLRM0I9Eru29yvzi3ePIiRX8BAMKSRerYf+FmV1u 1pZswgClWfgRFM7UX41/yDnLOXCZEpsJvelbOlliKCOLxu+NFDtniA7yHNe9preEBD 5QdexhSmbtvKvb7uPDwBZE/vVNbPIPQhBoIc6l8BG3Ng47KR0bbfozov6XHKI6VVfD bw/wPQCpwdYxb/4R4m73RbY7vW7GUWIXIy8t64BQ+YLoXB+MhdRKq0W3RNWOJ04OCy O+Rl0Df4AWteLSeif89njh5zZzK9MCIngaPkWac8mwg0BERZ3DgVPD58q4lQAUYvsY 1iq2J4UGiX5Zw== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sXQkM-00000001Zxh-01S0; Fri, 26 Jul 2024 20:36:58 +0100 Date: Fri, 26 Jul 2024 20:36:57 +0100 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , 69525@debbugs.gnu.org, Eli Zaretskii References: <86a5nfnuxl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Jul 26, 2024 at 09:24:36PM +0200, Gerd Möllmann wrote: > Alan Third writes: > > > > >> Apple's documentation says > >> > >> Important > >> > >> NSTextInput protocol is slated for deprecation. Please use the > >> NSTextInputClient protocol instead. > >> > >> I guess that's the reason for the warning, and we should switch to using > >> NSTextInputClient. > > > > Looks that way. AFAICT NSTextInputClient should be available on all > > versions of macOS we support and also in GNUstep, although it can be > > hard to tell which versions of GNUstep support what. > > > > Some of these functions are just used for normal input, but many of > > them are used exclusively for macOS input methods. > > I find Apple's documentation of the protocol pretty bad, to say the > least, and examples seem to be lacking completely. Don't know if I can > pull that off. Yeah, I was trying to work out what the actual differences are between them and I suspect they're fairly minimal, but I don't know how we should handle insertText:replacementRange: vs the current insertText:, for example. The new one takes a range and the old one doesn't. IMO it's none of the window system's business where we insert the text, so do we just ignore it? That might cause issues if we're dealing with the language input stuff, so we might need to fiddle with that a bit (it was mostly contributed by someone who actually used it). I would agree that Apple's documentation is abysmal. AFAICT most new features are exclusively documented in WWDC talks, so if you're not immersed in the Apple eco-system it can be very hard to keep track of what's changed. I assume that's some sort of marketing ploy. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 23:57:44 2024 Received: (at 69525) by debbugs.gnu.org; 27 Jul 2024 03:57:44 +0000 Received: from localhost ([127.0.0.1]:40334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXYYy-0002Sc-8k for submit@debbugs.gnu.org; Fri, 26 Jul 2024 23:57:44 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:58439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXYYw-0002ST-EG for 69525@debbugs.gnu.org; Fri, 26 Jul 2024 23:57:43 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4280ee5f1e3so2338685e9.0 for <69525@debbugs.gnu.org>; Fri, 26 Jul 2024 20:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722052592; x=1722657392; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nvZTnLUMu2kx22vT+KLqPznGaC3DU5ZfsSQu2m/AiBw=; b=eODM07lkjVhgLJEbqwWHGZlxaR5ll8cq7MbKqlaNgsvvEzihpj/P92QjJhXGkfO9ZM j4CDxOZQRy0JuPPgum7wfAmaDa9olTbOP9qnhKNbkT8cU9TenkYHmdFfW/9zy0wyQ0IW C6hdgUsr2ZKZABChJH3TObnRc9zqvjCNJkeuCbD9iJvAaL+FdsADMZWwfApcqTWRnJVK Rpy5Jpnmc/A39xSyqofARPRZg0FDasVdBiN/8N5kyHy0n3aJKIKHMB6O2EHiX8TX8+/D swisDtlWMl4DIBJ8T2+KlOtEDxGFKLZAdm5XB3bZP816MnepLFEjt7pn3AKbxymRaY13 Okew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722052592; x=1722657392; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nvZTnLUMu2kx22vT+KLqPznGaC3DU5ZfsSQu2m/AiBw=; b=odTTbSpxqRe75Laspo317qASxKnImOY+bYknj8jn0RYDjNM0e98Ce5BbpeA9unHmh4 FvwZ7ymwL79gN1OdK+lOiiOWh2oqw29qAkDlhmx6TaFy4jzBo66yxB7+Wf1+5wN6wWzt phRyYPtzv6Ld8SA96YO4sFexIfVNkWIc4pyusJNzQjHBZa4498wW7eurAGeX6JaUmBlY qq+HJM/pgKAwgJLVZeyB2mAh+G/ViQbg3sxHd1NE3wHIU5Ka7U2xK+A658+mMqVJXZfd hqjlR6HjWUat0ZyHqGrDlJUdFYNAMAm/L2zuYXyyNTazZBuRFZRoE6+Vth4haou+9rQj Kn3Q== X-Gm-Message-State: AOJu0YyME0A6tjo9tcOtIS6EVoW5M7V8j/6jBQQibfhbP+JFJzqDRWfQ v5DkOgfy437txa34HirBwLGtNSHDDZk4Ql7QX8LWLZWSaxqhet9J X-Google-Smtp-Source: AGHT+IF2EAw3hznVRqnzEl/pyBCRSeAvpXd18CRGtK8RqAKWap6pAcLDjwPCFbkLpYbJtdPBGCixKQ== X-Received: by 2002:a05:600c:1c9e:b0:426:6f81:d235 with SMTP id 5b1f17b1804b1-42811da3fcfmr8041185e9.15.1722052591636; Fri, 26 Jul 2024 20:56:31 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a97b.dip0.t-ipconnect.de. [79.227.169.123]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428057a6283sm99233875e9.32.2024.07.26.20.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jul 2024 20:56:31 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: (Alan Third's message of "Fri, 26 Jul 2024 20:36:57 +0100") References: <86a5nfnuxl.fsf@gnu.org> Date: Sat, 27 Jul 2024 05:56:30 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: >> I find Apple's documentation of the protocol pretty bad, to say the >> least, and examples seem to be lacking completely. Don't know if I can >> pull that off. > > Yeah, I was trying to work out what the actual differences are between > them and I suspect they're fairly minimal, but I don't know how we > should handle insertText:replacementRange: vs the current insertText:, > for example. > > The new one takes a range and the old one doesn't. IMO it's none of > the window system's business where we insert the text, so do we just > ignore it? That might cause issues if we're dealing with the language > input stuff, so we might need to fiddle with that a bit (it was mostly > contributed by someone who actually used it). > > I would agree that Apple's documentation is abysmal. AFAICT most new > features are exclusively documented in WWDC talks, so if you're not > immersed in the Apple eco-system it can be very hard to keep track of > what's changed. I assume that's some sort of marketing ploy. Yeah, could be. Although I wonder what advantage they expect from making such stuff effectively a secret :-/. BTW, I found a github repo with lots of Cocoa samples which might be of help at some point. This one is about NSTextInputClient, it seems: https://github.com/HelmutJ/CocoaSampleCode/tree/master/TextInputView I've read it, but without any further background I find it hard to understand. Maybe it's helpful for you, though. It does do something with these ranges, for example. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 27 02:37:28 2024 Received: (at 69525) by debbugs.gnu.org; 27 Jul 2024 06:37:28 +0000 Received: from localhost ([127.0.0.1]:40395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXb3Y-0001BR-8E for submit@debbugs.gnu.org; Sat, 27 Jul 2024 02:37:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXb3U-0001BD-T3 for 69525@debbugs.gnu.org; Sat, 27 Jul 2024 02:37:26 -0400 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 1sXb39-0002lc-Pf; Sat, 27 Jul 2024 02:37:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PYYgkfUR3gTqXAgHNiENBmNxDxSPXfpCU2a0CWtHGBk=; b=pWFzf0AQSIMbNp4Gou3V InN71L7fc81J4waGPO+wRNPkIgz9SoLAr5L+SrEFGGKZuRd8fBIiIT+Jc9xgyOaqwLwGsdZVLLeiu jJJgZegw0h97YFFWn3tj0150wTvdgDS2wQGtTkf1AF9PATsucWzHdQDiLIyCMOqKDoJVrK/lRRfnY WwGPboYkLmZ6Dy07LWUmbakNavvz1U2t1w6U77inLdpTzmY591iWoiQV9xa4UiUNLPKxxQXWX2RzV FkBbZru2PKLS2Z/ZLOOLVnJYQF/08dn2p4uP5wWJlAxVydrJKafaVEhMn/r/Sa9VFuebb8gAO+lTz WTOc81KuWfANmQ==; Date: Sat, 27 Jul 2024 09:37:01 +0300 Message-Id: <86a5i32vea.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Sat, 27 Jul 2024 05:56:30 +0200) Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr References: <86a5nfnuxl.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gerd Möllmann > Cc: 69525@debbugs.gnu.org, Eli Zaretskii > Date: Sat, 27 Jul 2024 05:56:30 +0200 > > Alan Third writes: > > > I would agree that Apple's documentation is abysmal. AFAICT most new > > features are exclusively documented in WWDC talks, so if you're not > > immersed in the Apple eco-system it can be very hard to keep track of > > what's changed. I assume that's some sort of marketing ploy. > > Yeah, could be. Although I wonder what advantage they expect from making > such stuff effectively a secret :-/. Companies that develop proprietary software for macOS can probably fund courses for their employees, or buy auxiliary documentation that is not available for free, or ask Apple questions and get answers, something that could be available only for those who have contracts with Apple. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 02:02:00 2024 Received: (at 69525) by debbugs.gnu.org; 30 Jul 2024 06:02:00 +0000 Received: from localhost ([127.0.0.1]:46788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYfvs-0002hg-70 for submit@debbugs.gnu.org; Tue, 30 Jul 2024 02:02:00 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:54449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYfvp-0002hT-Km for 69525@debbugs.gnu.org; Tue, 30 Jul 2024 02:01:59 -0400 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a7a83a968ddso588984566b.0 for <69525@debbugs.gnu.org>; Mon, 29 Jul 2024 23:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722319238; x=1722924038; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CrrC3z2qfyvfqCrXpx2xgZIvFwvZ7pdm998+hxWa0Hk=; b=lkAMIE1Xj1+LUC+498DK2JSebKdyUitRDcJMexMhwsBoXeoVYTtaqsp3MQV8nlqOKC DJIWtVDgOqQ9+rEK7ZnE3lJErWxV1xmMKs86yWy+RmDx6s/kJn7ZuZMz6V1PrwnfxDgm qcXvECpugMmZhON2LhPVKMLtdH0c7YFzCr6Z3r38nZSDGlB06/Ke6/UTWH1HwklHG/N7 5aZHLyZtPmO9AwuFMU6TkxAuSZ5n/a/CPDLvIZnOtKTwW2eULnmjXeaBEwCNYrrWvEjQ ized3BZ17pBO9sT69fddWDP7ijMbTbFUb9q7FN3Tyv13AO7788yU3/PiA1QAf4teaAbR +IUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722319238; x=1722924038; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CrrC3z2qfyvfqCrXpx2xgZIvFwvZ7pdm998+hxWa0Hk=; b=lDwb5ztUPmbZAhpgB//LGNBBCGTFKuorsZxK762ExBUhjOPT0f+U4vWsF8cxzxs17a 44j7S7ExVuX6PPekbgX+iL7wsU3uLfVmE5alwSajS52/MkHH4gbEY6lSXQBuLi02dWMT q32jBSJt5vtCb7gMIgUs13OfxxqpiM9yyxmkWve8w2yhCk2MMtj+s/d694DPDoKiWHCA KXtfBT9IJ00zQFDX/TRfNuOc3IR/oS+bcliyWy1qFHjUYPJ88NPTRMKhlwwT4Jsdoy/B 62YFafVIyld5RDXUe9eWFKoSQIiLE5TAkiBsCsI27HRrnQ/PAALsalb5FSvC81bBbNG4 thmw== X-Gm-Message-State: AOJu0YzVS58Herg2XgLx6N92ctCKq5mdJ0ornHN+YJ4VHbnU37X4F0Se jVs+9wk5VPFzgoH8/5oQvSyiRSJEcd8qe7wRQZG9+fXz7YYiMz7b X-Google-Smtp-Source: AGHT+IF1cx8m+058xeKKfxlZ6ojaPsYDDeJywMgEroPc9ZNckExN/NviymTRZ8X3t/oLnbh+q7Liww== X-Received: by 2002:a17:907:9410:b0:a7a:8378:625c with SMTP id a640c23a62f3a-a7d40057806mr621862766b.36.1722319237623; Mon, 29 Jul 2024 23:00:37 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a334.dip0.t-ipconnect.de. [79.227.163.52]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acab580b4sm592636566b.58.2024.07.29.23.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 23:00:37 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: <86a5i32vea.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Jul 2024 09:37:01 +0300") References: <86a5nfnuxl.fsf@gnu.org> <86a5i32vea.fsf@gnu.org> Date: Tue, 30 Jul 2024 08:00:35 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: 69525@debbugs.gnu.org, Eli Zaretskii >> Date: Sat, 27 Jul 2024 05:56:30 +0200 >>=20 >> Alan Third writes: >>=20 >> > I would agree that Apple's documentation is abysmal. AFAICT most new >> > features are exclusively documented in WWDC talks, so if you're not >> > immersed in the Apple eco-system it can be very hard to keep track of >> > what's changed. I assume that's some sort of marketing ploy. >>=20 >> Yeah, could be. Although I wonder what advantage they expect from making >> such stuff effectively a secret :-/. > > Companies that develop proprietary software for macOS can probably > fund courses for their employees, or buy auxiliary documentation that > is not available for free, or ask Apple questions and get answers, > something that could be available only for those who have contracts > with Apple. Yeah, maybe :-/. Meanwhile, I think I pulled this off anyway by studying and mimicking what others did. At least it works for me on macOS 14.5 just like the old code did, at least for entering accented characters, which is the only thing I know how to use. I'll push that to master, if nobody objects. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-NS-Let-EmacsView-implement-NSTextInputClient.patch Content-Description: NSTextInputClient >From 65d5ace8e85111ecbd5035541ab24fdcfc065c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerd=20M=C3=B6llmann?= Date: Tue, 30 Jul 2024 07:47:44 +0200 Subject: [PATCH] NS: Let EmacsView implement NSTextInputClient * src/nsterm.h (@interface EmacsView): Implement NSTextInputClient protocol. * src/nsterm.m: Implement required NSTextInputClient methods, forwarding to existing NSTextInput methods. --- src/nsterm.h | 4 ++-- src/nsterm.m | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/src/nsterm.h b/src/nsterm.h index 5d4810cba4a..f3dcb07a0f1 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -463,9 +463,9 @@ #define NSTRACE_UNSILENCE() @class EmacsLayer; #ifdef NS_IMPL_COCOA -@interface EmacsView : NSView +@interface EmacsView : NSView #else -@interface EmacsView : NSView +@interface EmacsView : NSView #endif { #ifdef NS_IMPL_COCOA diff --git a/src/nsterm.m b/src/nsterm.m index cd6ffabddde..c659ef40c73 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -7049,9 +7049,44 @@ In that case we use UCKeyTranslate (ns_get_shifted_character) [nsEvArray removeObject: theEvent]; } +/*********************************************************************** + NSTextInputClient + ***********************************************************************/ -/* implementation (called through [super interpretKeyEvents:]). */ +- (void) insertText: (id) string + replacementRange: (NSRange) replacementRange +{ + if ([string isKindOfClass:[NSAttributedString class]]) + string = [string string]; + [self unmarkText]; + [self insertText:string]; +} + +- (void) setMarkedText: (id) string + selectedRange: (NSRange) selectedRange + replacementRange: (NSRange) replacementRange +{ + [self setMarkedText: string selectedRange: selectedRange]; +} + +- (nullable NSAttributedString *) + attributedSubstringForProposedRange: (NSRange) range + actualRange: (nullable NSRangePointer) actualRange +{ + return nil; +} +- (NSRect) firstRectForCharacterRange: (NSRange) range + actualRange: (nullable NSRangePointer) actualRange +{ + return NSZeroRect; +} + +/*********************************************************************** + NSTextInput + ***********************************************************************/ + +/* implementation (called through [super interpretKeyEvents:]). */ /* : called when done composing; NOTE: also called when we delete over working text, followed -- 2.45.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 23:23:37 2024 Received: (at 69525) by debbugs.gnu.org; 31 Jul 2024 03:23:37 +0000 Received: from localhost ([127.0.0.1]:48798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYzw8-0001CP-UO for submit@debbugs.gnu.org; Tue, 30 Jul 2024 23:23:37 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:49388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYzw6-0001CB-1t for 69525@debbugs.gnu.org; Tue, 30 Jul 2024 23:23:35 -0400 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52f00ad303aso8551969e87.2 for <69525@debbugs.gnu.org>; Tue, 30 Jul 2024 20:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722396133; x=1723000933; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ba7jf7YGBRsYfrfmNKgzfuDZ8W7PXblNZgxM143bTx4=; b=Yy6Bz9jvwKVG2SbB4uxxoaIGQPfl6UBS5x2koRVxRZ5Ixt5C9Gisq0/PyqM9ZaBRVD PhsyG9Oz1YA2avVcrTk8GWKVlJJNGVjAqutGkZn38exNpCFackqUuwZu6ln6Pv7J/En9 Zed83NSHnU1gkNEsq00d9EzBNQWjiTq3KgPsJTWhAu/o3ltGxAQjn98ZK633DsAus2x8 WjTG6i/u+ov7ckkRGa3Ot9NBN8nb8z7BPYeFEX6l7pDItzQqs61AtEnfEIovkOz4zZZU 0E6A4KdNdHCtFjqwEBTs/9ykkPyWM3ggWcShuVzaCwxTpaMb5IZAjP6nmUgxb1Bx1Y6I XOGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722396133; x=1723000933; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ba7jf7YGBRsYfrfmNKgzfuDZ8W7PXblNZgxM143bTx4=; b=dN19I9gYp1VFWo2YjeIxiN7nAC5LzJ9kTRW3lEOFm20I1r6V/y+djrpdPwRa0QyYm0 1r6JeMF7jgJksLEjcajKf1nIHTbovQzu+wxjLg5iRMeDRAyvYL+CAgVW2JQH4F4rLv61 0sEfUCmHPUV1TpNtpsmakfdpEEv6+SIz/VFf+MbzZYxHf9r96uS+Qz8I31i1ImjSJDtP dQqAsXhGOvUeMK528EGrmbJbC0fFtmx1gFXqvmLw8mg/ceYYXlIcp7qYufNbUVIe7K5Z 9zE29JCjtSU31XgItGtDRuH7v/R/aJJamDFc9BdERZ/qou3lFoyqMxgLXsUm9s2QNixU 9xXg== X-Gm-Message-State: AOJu0Yy6jm/Y9vJeC+o9v7DEJ8+QJEwDzeHZ/PFODIMj0KEtiICdmpRC hK3z6/d31MPAzd1EQaTyV0fkoOBZ5LvRXQFZf7RRL1r8dP0v+mLC X-Google-Smtp-Source: AGHT+IEWpr5Z2/OzkXBfvK/FJ0wFEteDWUfXQUeuVkz7enqDmwOrVjupk1zUsjpQyoUSnznxwi2ZJw== X-Received: by 2002:a05:6512:2c8c:b0:52c:e012:efad with SMTP id 2adb3069b0e04-5309b259ab9mr9473373e87.12.1722396132608; Tue, 30 Jul 2024 20:22:12 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c6.dip0.t-ipconnect.de. [79.227.162.198]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ac64eb3c29sm8046325a12.59.2024.07.30.20.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jul 2024 20:22:12 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Eli Zaretskii Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 30 Jul 2024 08:00:35 +0200") References: <86a5nfnuxl.fsf@gnu.org> <86a5i32vea.fsf@gnu.org> Date: Wed, 31 Jul 2024 05:22:10 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > I'll push that to master, if nobody objects. Pushed to emacs-30 instead, because it looks safe. Closing. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 30 23:23:48 2024 Received: (at control) by debbugs.gnu.org; 31 Jul 2024 03:23:48 +0000 Received: from localhost ([127.0.0.1]:48801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYzwK-0001Cr-9Y for submit@debbugs.gnu.org; Tue, 30 Jul 2024 23:23:48 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:47493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYzwI-0001Cc-9C for control@debbugs.gnu.org; Tue, 30 Jul 2024 23:23:46 -0400 Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a7d2a9a23d9so592456966b.3 for ; Tue, 30 Jul 2024 20:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722396145; x=1723000945; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=5vS3DjHeXOBzwwyUOqIOkfNNP/7AuK+fUmSg/U7hIyM=; b=f9gHzV9QYnSjHQ2a0fgGFOXG+OLYWzvLw9BvQZ+Gb2kWnysvzQtNyjQ4QaDEXVzu/z ICenLKlD6ugVbJ+0Yeg5hgjPuNbRhYjv3E1Q+nuvSnxrT67cvY6UlJ01g0O/wWCoatEz 96PQBnEV4g7XVYMJVAANi0lupmchDrkdPXhnvm8s8XATsb3mNBUdOk57L+qfe2SdL1FS KHyoVw9fXd+/70hP166/2cV/dO2udL2OpCTw/XomXRZojyr+VsaqXIPQYUBT4YiKl79M qpzTfrG2Dnu0i4U2J75tg+nHCA+mM+8xVjHsKrx2rNOwnzN8dc4L7sId+JLFJixp+DBf sWfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722396145; x=1723000945; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5vS3DjHeXOBzwwyUOqIOkfNNP/7AuK+fUmSg/U7hIyM=; b=RNBiIigOXriKgvJb7wtkFSA/NzxQHnJ7BxjrjXzb31lSZUrNYsA6VIWwOBQ3+GBr// WqtjUU0HG2uTab62tF3ikinA2QRlDqrvG6WYhhhnZOXLP8vndvt0B7TtWBvm3/GZWqmS V0xaq8qq+f3bhlbaUKkx+7lXLLvRGxzLxYuEtrn2G1zGwQYJl3WVSKpVk20I8XcqoxI/ Mlvk6xOPy8OoRAMhm1TK2SscsmRVfR7BSPOr5Ex+jKQgsHChv0Rn+rghvsHR95jTAFsC 0C6Cnqs6/nO/aBmZwtmwWB0eTAPROQM/g9hifYAP1UBcbMf0B9haE9lGfHZeR1LPJ6d6 g8tQ== X-Gm-Message-State: AOJu0Yysah7FovdRtX2BL/mHvtVBhLKMp3cUyERdgKwly0U+86sxDQaE 26wW0GYMrh7zpKhFg0SsO0QKyC6gqQeT+ZrD7fvVoXV2PPthgSFVl0r/qQ== X-Google-Smtp-Source: AGHT+IEXowFK8PJZ7tB0XiSssPvFEbaHVD4bk4Csd0z+iBopSCcGrahE5WrHBSEjDdPwP0/AiM7Now== X-Received: by 2002:a17:907:94c9:b0:a79:82c1:a5b2 with SMTP id a640c23a62f3a-a7d3ffa5256mr917393566b.9.1722396144836; Tue, 30 Jul 2024 20:22:24 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a2c6.dip0.t-ipconnect.de. [79.227.162.198]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acac61218sm721343466b.94.2024.07.30.20.22.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jul 2024 20:22:24 -0700 (PDT) Date: Wed, 31 Jul 2024 05:22:23 +0200 Message-Id: To: control@debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Subject: control message for bug #69525 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 69525 30.1 quit Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.51 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.51 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 3.0 MALFORMED_FREEMAIL Bad headers on message from free email service X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 69525 30.1 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.51 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.51 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 3.0 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager close 69525 30.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 09:52:08 2024 Received: (at 69525) by debbugs.gnu.org; 31 Jul 2024 13:52:08 +0000 Received: from localhost ([127.0.0.1]:49391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ9kN-0000hv-Vc for submit@debbugs.gnu.org; Wed, 31 Jul 2024 09:52:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ9kM-0000gx-4j for 69525@debbugs.gnu.org; Wed, 31 Jul 2024 09:52:06 -0400 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 1sZ9jy-00015Q-DO; Wed, 31 Jul 2024 09:51:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XmDMHd3a0OcfMOjgKjF5J0e/36qcJyAW1z+1//3f/Ew=; b=aXLXgnPwF4QjJFN61/mc OKUKCA/7+9sQkTezJt5IilpxOoBryyKnIuitx0Xm/ReF/Z+sEG4y7DMuQxpAzIWv1JhrZRGWLT3Ek DFGdv1exXpfujtk8O4JUSi+A+19skd6Sek9B6tkhKxEvstboskhR+LM/iZ4ZRZZQVdr+yYG7LEa0A I0/HQXj8NRPaw1mkN9srkIuu+M3LDLSPIdUwJZ99Wi5OPJEWxn1z07gC2uMuXmyAgSeSTUUWcqsbn k7A1PbPX478fmHT9irZNlbqtx6i3Qiz6LiJQz++V3SBydYIaDBfhwxguTTdQH5z1PEoOaHx/7pJ6A R53hld3bvxAmoQ==; Date: Wed, 31 Jul 2024 16:51:40 +0300 Message-Id: <86jzh1y8ib.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 31 Jul 2024 05:22:10 +0200) Subject: Re: bug#69525: 30.0.50; MacOS: New warnings on stderr References: <86a5nfnuxl.fsf@gnu.org> <86a5i32vea.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69525 Cc: 69525@debbugs.gnu.org, alan@idiocy.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gerd Möllmann > Cc: 69525@debbugs.gnu.org, alan@idiocy.org > Date: Wed, 31 Jul 2024 05:22:10 +0200 > > Gerd Möllmann writes: > > > I'll push that to master, if nobody objects. > > Pushed to emacs-30 instead, because it looks safe. Closing. Famous last words. You should have installed on master. From unknown Sun Aug 10 20:05:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Aug 2024 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator