From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: Win64 testers? Date: Sun, 01 Sep 2024 11:43:58 +0300 Message-ID: <86r0a3ahm9.fsf@gnu.org> References: <87bk1k8mzd.fsf@protonmail.com> <861q2gs8xu.fsf@gnu.org> <877cc88j4p.fsf@protonmail.com> <86seuvre6x.fsf@gnu.org> <8734mv8yb6.fsf@protonmail.com> <87wmk54yk5.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sebastian@sebasmonia.com, pipcet@protonmail.com, emacs-devel@gnu.org, yantar92@posteo.net To: Kien Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 01 10:44:55 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1skgCd-0007m6-64 for ged-emacs-devel@m.gmane-mx.org; Sun, 01 Sep 2024 10:44:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skgBr-0003Un-SL; Sun, 01 Sep 2024 04:44:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skgBq-0003UH-2u for emacs-devel@gnu.org; Sun, 01 Sep 2024 04:44:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skgBm-0002G4-Pv; Sun, 01 Sep 2024 04:44:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mIVApOwBAQTH0Z7CjFsWivHVv5UhOWC2qScvxlEMfmE=; b=E1Z8SNlAqxfW iMBE/uDddeVkHG7zU7Td8KaoS1V8M3kzC/BIRvx+XLqB2reWE02LoQ7ZRV+bQwMSswCuOrWlkC9/G kqZVrmhrJNNf4dX31L+EoMBGOtdb9HrggOhCFFahRwXRD5iQaRrlKQu4XlNB6/5RuGu9lbEytQSFH IWIeWdGwWyWeuq2AU7jmLEkUqFBnXp3mPhIba2qQ5hE5ahw9hCOjhzaQ3yzoiEF42EKfldCLE77dC nwUKDyF4XpRHrVdQrUnJMyiJOWmdvdVcQsc2Zlm3+KatsoVBSm8/kLiwT2jAfk6VXfuwjVW9Pi2UL Od9XTkRiKIrM7Cdi5lG3Sw==; In-Reply-To: (message from Kien Nguyen on Sun, 1 Sep 2024 01:21:29 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323246 Archived-At: > From: Kien Nguyen > Date: Sun, 1 Sep 2024 01:21:29 -0700 > Cc: Pip Cet , Eli Zaretskii , emacs-devel@gnu.org, > yantar92@posteo.net > > By the way, instead of running Emacs under gdb all the time, I figured > out that I can just attach to the `emacs_abort` dialog with a small fix > to ensure the keyboard hook is released beforehand. The patch for that > is here[1]. @Eli, do you think that's acceptable to merge? It greatly > relieves the burden of using with debugging Emacs on Windows. I'm not sure we can do this safely. There are all kinds of caveats in the MS documentation. And it's only useful when Emacs aborts, not when, e.g., it hits a breakpoint. Why is it a pain to run Emacs under GDB at all times? That way we don't install the hook, and the problem doesn't happen in the first place.